/* One 35 Minut navigation shell for every admin page. */
.admin-shell-35 {
  --admin-sidebar-width: 208px;
  --sidebar-width: var(--admin-sidebar-width);
  --bg-color: #f5f9fa;
  --primary-color: #008b89;
  --primary-gradient: #008b89;
  --input-focus-border: #70bdb6;
  background: #f5f9fa;
}

.admin-shell-35:not(.chats-35-body) {
  overflow-y: auto;
  overflow-x: hidden;
}
.admin-shell-35:not(.chats-35-body) .app-container {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}
.admin-shell-35 .main-content {
  margin-left: var(--admin-sidebar-width);
  width: calc(100% - var(--admin-sidebar-width));
  min-width: 0;
  max-width: none;
}
.admin-shell-35:not(.chats-35-body) .main-content {
  padding: 24px 28px 32px;
  height: auto;
  min-height: 100dvh;
}

.admin-shell-35 .sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: var(--admin-sidebar-width);
  height: 100dvh;
  min-height: 0;
  padding: 18px 8px 14px;
  border: 0;
  border-right: 1px solid #e2eaee;
  background: #f4fafb;
  color: #48566d;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
  transition: transform .18s ease;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.45;
}
.admin-shell-35 .sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 14px 20px;
  padding: 0;
  color: #48566d;
  text-decoration: none;
}
.admin-shell-35 .brand-logo-window {
  display: block;
  position: relative;
  width: 112px;
  height: 72px;
  overflow: hidden;
}
.admin-shell-35 .brand-logo-window img {
  position: absolute;
  width: 139px;
  height: auto;
  max-width: none;
  left: -20px;
  top: -17px;
  mix-blend-mode: multiply;
}
.admin-shell-35 .brand-caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #617184;
}
.admin-shell-35 .sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
}
.admin-shell-35 .sidebar .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #48566d;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}
.admin-shell-35 .sidebar .nav-item svg {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
}
.admin-shell-35 .sidebar .nav-item:hover {
  background: #eaf5f5;
  color: #007b7b;
}
.admin-shell-35 .sidebar .nav-item.active {
  background: #e1f2f2;
  color: #007b7b;
  font-weight: 600;
}
.admin-shell-35 .sidebar .nav-item.active::before {
  content: '';
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 3px;
  border-radius: 4px;
  background: #008c88;
}
.admin-shell-35 .nav-count {
  margin-left: auto;
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 12px;
  background: #c6e9e7;
  color: #008582;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.admin-shell-35 .sidebar-bottom {
  flex: none;
  margin-top: auto;
  padding-top: 14px;
}
.admin-shell-35 .sidebar .settings-nav { margin-bottom: 8px; }
.admin-shell-35 .sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 4px;
  padding: 14px 4px 2px;
  border-top: 1px solid #e1eaee;
}
.admin-shell-35 .profile-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cfebea;
  color: #07827d;
  font-size: 14px;
  font-weight: 600;
}
.admin-shell-35 .sidebar .user-info {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.admin-shell-35 .sidebar .user-name {
  display: block;
  overflow: hidden;
  color: #48566d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.admin-shell-35 .btn-logout {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 36px;
  min-height: 0;
  padding: 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #627087;
  cursor: pointer;
}
.admin-shell-35 .btn-logout svg { width: 18px; height: 18px; }
.admin-shell-35 .btn-logout:hover { background: #e1f2f2; color: #007b7b; }
.admin-shell-35 .sidebar a:focus-visible,
.admin-shell-35 .sidebar button:focus-visible,
.admin-shell-35 .menu-toggle:focus-visible {
  outline: 2px solid #79c7bf;
  outline-offset: 2px;
}
.admin-shell-35 [hidden] { display: none !important; }
.admin-shell-35 .mobile-header,
.admin-shell-35 .sidebar-overlay { display: none; }

@media (max-width: 900px) {
  .admin-shell-35 .mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 56px;
    padding: 8px 16px;
    border-bottom: 1px solid #e2eaee;
    background: #f4fafb;
  }
  .admin-shell-35 .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #48566d;
    font-size: 13px;
    text-decoration: none;
  }
  .admin-shell-35 .mobile-brand-number {
    padding-right: 6px;
    border-right: 3px solid #008b89;
    color: #3e4651;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
  }
  .admin-shell-35 .menu-toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    background: #fff;
    color: #48566d;
  }
  .admin-shell-35 .menu-toggle svg { width: 20px; height: 20px; }
  .admin-shell-35 .sidebar {
    width: var(--admin-sidebar-width);
    max-width: calc(100vw - 40px);
    transform: translateX(-100%);
  }
  .admin-shell-35 .sidebar.active { transform: translateX(0); }
  .admin-shell-35 .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgb(24 42 49 / 30%);
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .admin-shell-35 .sidebar-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .admin-shell-35.admin-shell-menu-open { overflow: hidden; }
  .admin-shell-35 .main-content {
    margin-left: 0;
    width: 100%;
  }
  .admin-shell-35:not(.chats-35-body) .app-container { padding-top: 56px; }
  .admin-shell-35:not(.chats-35-body) .main-content {
    min-height: calc(100dvh - 56px);
    padding: 18px 16px 24px;
  }
  .admin-shell-35 .sidebar .nav-item { min-height: 46px; }
  .admin-shell-35 .btn-logout { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-shell-35 .sidebar,
  .admin-shell-35 .sidebar-overlay { transition: none; }
}
