@charset "UTF-8";
:root {
  --primary-color: #0d6efd;
  --sidebar-width: 240px;
  --header-height: 64px;
  --transition-speed: 0.3s;
  --logo-width: 100px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bs-body-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-speed);
}

.main-header {
  z-index: 1030;
  background-color: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color);
  padding-left: 1rem;
  padding-right: 1rem;
}
.main-header .navbar-brand {
  font-weight: 700;
  white-space: normal;
  width: 70%;
}
.main-header img.logo {
  max-width: var(--logo-width);
  aspect-ratio: 1;
}

.sidebar {
  border-right: 1px solid var(--bs-border-color);
  background-color: var(--bs-body-bg);
}
.sidebar .nav-link {
  color: var(--bs-nav-link-color);
  padding: 0.75rem 1rem;
  margin: 0.2rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
}
.sidebar .nav-link i {
  font-size: 1.1rem;
}
.sidebar .nav-link:hover {
  background-color: var(--bs-tertiary-bg);
  color: var(--primary-color);
}
.sidebar .nav-link.active {
  background-color: var(--primary-color);
  color: white !important;
}

.notification-dropdown {
  width: 320px;
  border: none;
  border-radius: 12px;
  box-shadow: var(--bs-box-shadow-lg);
}
.notification-dropdown .extra-small {
  font-size: 0.75rem;
}

.section-submenu .nav-tabs {
  border: none;
}
.section-submenu .nav-tabs .nav-link {
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin: 0;
  color: var(--bs-secondary-color);
}
.section-submenu .nav-tabs .nav-link.active {
  background: none;
  color: var(--primary-color) !important;
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

footer {
  background-color: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

button.hideMenu {
  display: none;
}

[data-bs-theme=dark] .sidebar, [data-bs-theme=dark] .main-header, [data-bs-theme=dark] footer {
  background-color: #1e1e1e !important;
}
[data-bs-theme=dark] .card {
  background-color: #252525;
}

@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    z-index: 1020;
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
  }
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.row {
  --bs-gutter-x: 0;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.container-fluid > .row {
  margin-right: 0;
  margin-left: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.main-wrapper {
  display: flex;
  flex: 1 0 auto;
}
.main-wrapper .row {
  margin: 0;
  width: 100%;
}

.auth-buttons {
  border-color: var(--bs-border-color) !important;
}
.auth-buttons .btn-link {
  font-weight: 500;
}
.auth-buttons .btn-link:hover {
  color: var(--primary-color) !important;
}

@media (max-width: 576px) {
  .auth-buttons {
    margin-right: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .auth-buttons .btn {
    padding: 0.25rem 0.5rem;
  }
}
.submain-wrapper:not(:has(nav.sidebar)) main {
  width: 100%;
}
.submain-wrapper:not(:has(nav.sidebar)) main .content-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

.user-profile-block .rounded-circle {
  transition: transform 0.3s ease;
}
.user-profile-block .rounded-circle:hover {
  transform: scale(1.05);
}
.user-profile-block .userpic {
  width: 100px;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
}
.user-profile-block h6 {
  font-size: 0.95rem;
  color: var(--bs-heading-color);
}
.user-profile-block small {
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}
.user-profile-block .bg-success {
  width: 12px;
  height: 12px;
}

@media (max-width: 767.98px) {
  .user-profile-block {
    padding-top: 1rem;
    background-color: var(--bs-tertiary-bg);
    border-radius: 12px;
    margin: 0 1rem 1.5rem 1rem;
  }
  .user-profile-block .d-flex {
    flex-direction: row !important;
    text-align: left !important;
  }
  .user-profile-block .ms-md-3 {
    margin-left: 1rem !important;
  }
}
@media (max-width: 767.98px) {
  header.main-header {
    --logo-width: 60px;
    --header-height: 115px;
    top: calc(var(--header-height) * -1);
  }
  header.main-header .auth-buttons {
    gap: 0.2rem;
  }
  header.main-header .navbar-brand {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
  header.main-header img.logo {
    width: var(--logo-width);
  }
  header.main-header .container-fluid {
    align-items: center;
    justify-content: center;
  }
  header.main-header .dropdown {
    position: unset;
  }
  header.main-header .dropdown .dropdown-menu-end[data-bs-popper] {
    right: 10px;
    left: 10px;
    width: auto;
  }
  .main-wrapper {
    --header-height: 115px;
    --header-min-height: 67px;
  }
  .main-wrapper #sidebarMenu {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 2000;
    overflow: auto;
  }
  .main-wrapper #sidebarMenu .hideMenu {
    /* Позиционирование */
    position: sticky;
    top: 0px;
    right: 15px;
    margin-left: auto;
    z-index: 1050;
    /* Внешний вид */
    width: 44px;
    height: 44px;
    padding: 0;
    /* Сброс стандартных стилей кнопки */
    background: transparent;
    border: none;
    color: #333;
    /* Текст (крестик) */
    font-size: 32px;
    line-height: 1;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
}/*# sourceMappingURL=style.css.map */