/* ================================================================ */
/* === YUVA BHARAT — ADMIN DOCUMENT HUB — GLOBAL DESIGN SYSTEM === */
/* === Version: 2.0.0 | Domain: admin.yuva.ind.in               === */
/* === PURE LIGHT MODE ONLY — iOS 18 ADMINISTRATIVE UI/UX       === */
/* ================================================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Custom Properties (Design Tokens - Strictly Light Mode) ── */
:root {
  /* Surface Layers (Pure Light Hierarchy) */
  --canvas-bg: #F8FAFC;
  /* iOS System Grouped Light */
  --surface-white: #FFFFFF;
  /* Pure white card surface */
  --surface-subtle: #F1F5F9;
  /* Subtle contrast fill */
  --surface-muted: #E2E8F0;
  /* Hairline separator background */
  --surface-glass: rgba(255, 255, 255, 0.84);
  /* Translucent frosted glass */
  --surface-glass-hi: rgba(255, 255, 255, 0.95);

  /* YUVA Brand Palette */
  --saffron: #FF7700;
  --saffron-light: #FF9933;
  --saffron-dark: #E65C00;
  --saffron-glow: rgba(255, 119, 0, 0.18);
  --saffron-pale: rgba(255, 119, 0, 0.08);

  --india-green: #10B981;
  --india-green-dark: #059669;
  --green-glow: rgba(16, 185, 129, 0.18);
  --green-pale: rgba(16, 185, 129, 0.08);

  --chakra-navy: #0F172A;
  /* Slate 900 */
  --navy-deep: #020617;
  /* Slate 950 */
  --navy-light: #1E293B;
  /* Slate 800 */

  /* Text & Typography Hierarchy */
  --text-primary: #0F172A;
  /* Slate 900: High-contrast headings & primary text */
  --text-secondary: #475569;
  /* Slate 600: Body & descriptive copy */
  --text-tertiary: #94A3B8;
  /* Slate 400: Labels, timestamps & metadata */
  --text-muted: #CBD5E1;
  --text-inverse: #FFFFFF;

  /* Semantic Alert Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  --color-success-bg: rgba(16, 185, 129, 0.10);
  --color-warning-bg: rgba(245, 158, 11, 0.10);
  --color-danger-bg: rgba(239, 68, 68, 0.10);
  --color-info-bg: rgba(59, 130, 246, 0.10);

  /* Fine Hairlines & Borders */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --border-glass: rgba(255, 255, 255, 0.70);
  --border-focus: #FF7700;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #FF7700 0%, #FF9933 100%);
  --grad-green: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --grad-navy: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --grad-tricolor: linear-gradient(90deg, #FF7700 0%, #FFFFFF 35%, #FFFFFF 65%, #10B981 100%);

  /* Ambient Diffuse Shadows (Apple iOS 18 Light) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 64px -12px rgba(15, 23, 42, 0.14);
  --shadow-floating: 0 12px 32px -4px rgba(255, 119, 0, 0.25);

  /* iOS 18 Squircle Corner Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Fluid Apple Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast: 150ms var(--ease-spring);
  --t-base: 250ms var(--ease-spring);
  --t-slow: 400ms var(--ease-spring);

  /* Z-index Scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  /* Strictly Light Mode */
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar (Subtle Light Style) ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--canvas-bg);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ── Selection ── */
::selection {
  background: var(--saffron-light);
  color: #FFFFFF;
}

/* ── Focus Ring ── */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ── Typography Scale ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

h4 {
  font-size: 1.05rem;
}

h5 {
  font-size: 0.95rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9375rem;
}

a {
  color: var(--saffron);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--saffron-dark);
}

/* ── Page Layout ── */
.dh-app {
  display: flex;
  min-height: 100vh;
  background-color: var(--canvas-bg);
}

/* ── Sidebar (Frosted iOS 18 Glassmorphic Light Panel) ── */
.dh-sidebar {
  width: 270px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--surface-glass-hi);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  z-index: var(--z-sticky);
  transition: width 0.35s cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.3s ease;
  box-shadow: 2px 0 16px rgba(15, 23, 42, 0.02);
  overflow: visible;
}

/* ── Prevent Transition Flash / FOUC on Initial Page Load ── */
html:not(.sidebar-ready) .dh-sidebar,
html:not(.sidebar-ready) .dh-main,
html:not(.sidebar-ready) .dh-edge-toggle-btn,
html:not(.sidebar-ready) .dh-edge-toggle-btn i {
  -webkit-transition: none !important;
  transition: none !important;
}

/* ── Modern Vertical Edge Capsule Toggle (Middle of the seam) ── */
.dh-edge-toggle-btn {
  position: absolute;
  top: 50%;
  right: -11px;
  transform: translateY(-50%);
  width: 22px;
  height: 48px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.06);
  color: #64748B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  z-index: 70;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
              background 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.25s ease;
  padding: 0;
  outline: none;
}

.dh-edge-toggle-btn::before {
  content: "";
  width: 3px;
  height: 10px;
  border-radius: 9999px;
  background: #CBD5E1;
  transition: background 0.2s ease;
}

.dh-edge-toggle-btn i {
  font-size: 10px;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  color: #475569;
}

.dh-edge-toggle-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #FFFFFF;
  border-color: rgba(255, 119, 0, 0.4);
  box-shadow: 0 6px 20px -2px rgba(255, 119, 0, 0.22), 0 2px 8px -1px rgba(15, 23, 42, 0.08);
}

.dh-edge-toggle-btn:hover::before {
  background: #FF7700;
}

.dh-edge-toggle-btn:hover i {
  color: #FF7700;
}

.dh-edge-toggle-btn:active {
  transform: translateY(-50%) scale(0.96);
}

/* When mini / collapsed: rotate chevron 180deg to point right */
.sidebar-mini .dh-edge-toggle-btn i {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .dh-edge-toggle-btn {
    display: none !important;
  }
}

.dh-main {
  flex: 1;
  margin-left: 270px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--canvas-bg);
  transition: margin-left 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* Sidebar Header Layout */
.dh-sidebar-header {
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dh-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dh-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.dh-sidebar-collapse-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.dh-sidebar-collapse-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-primary);
  transform: scale(1.05);
}

/* Nav Link and Text Transitions */
.dh-brand-text,
.dh-sidebar-badge,
.dh-nav-text,
.dh-nav-section-label,
.dh-nav-section-title,
.dh-admin-info,
.dh-logout-btn {
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ════════════════════════════════════════════════════════════════ */
/* ── MODERN CHATGPT-STYLE COLLAPSIBLE SIDEBAR (MINI ICON RAIL) ──   */
/* ════════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {

  /* On desktop: Completely hide the redundant topbar hamburger! The single edge pill handles all toggling. */
  .dh-topbar #sidebar-toggle-btn {
    display: none !important;
  }

  /* When Mini / Collapsed: Precision 76px Icon Rail */
  .sidebar-mini .dh-sidebar {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  .sidebar-mini .dh-main {
    margin-left: 76px !important;
  }

  /* Brand Header in Mini: Clean modern squircle badge perfectly centered */
  .sidebar-mini .dh-sidebar-header {
    width: 76px !important;
    padding: 1.25rem 0 1rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sidebar-mini .dh-brand-row {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .sidebar-mini .dh-brand {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    text-decoration: none !important;
    gap: 0 !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
  }

  .sidebar-mini .dh-brand:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1) !important;
  }

  .sidebar-mini .dh-brand-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    filter: none !important;
    box-shadow: none !important;
    object-fit: contain !important;
  }

  .sidebar-mini .dh-sidebar-collapse-btn {
    display: none !important;
  }

  /* Completely eliminate hidden text elements so flexbox doesn't offset icons */
  .sidebar-mini .dh-brand-text,
  .sidebar-mini .dh-sidebar-badge,
  .sidebar-mini .dh-nav-text,
  .sidebar-mini .dh-admin-info,
  .sidebar-mini .dh-logout-btn {
    display: none !important;
  }

  /* Subtle divider in place of section label */
  .sidebar-mini .dh-nav-section-label,
  .sidebar-mini .dh-nav-section-title {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    height: 0 !important;
    margin: 8px auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    width: 28px !important;
    border-top: 1px solid var(--border-light) !important;
  }

  /* Nav Links in Mini: Precision 44x44 Apple Squircle Tiles centered in 76px rail */
  .sidebar-mini .dh-sidebar-nav {
    width: 76px !important;
    padding: 0.75rem 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .sidebar-mini .dh-nav-section {
    width: 76px !important;
    align-items: center !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 0 0.5rem 0 !important;
  }

  .sidebar-mini .dh-nav-link,
  .sidebar-mini .dh-nav-item {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    margin: 0 auto 4px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    position: relative !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    background: #FFFFFF !important;
    color: #64748B !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    gap: 0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .sidebar-mini .dh-nav-link:hover,
  .sidebar-mini .dh-nav-item:hover {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08) !important;
  }

  .sidebar-mini .dh-nav-link.active,
  .sidebar-mini .dh-nav-item.active {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%) !important;
    color: #EA580C !important;
    border-color: rgba(251, 146, 60, 0.45) !important;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.18) !important;
    font-weight: 700 !important;
  }

  .sidebar-mini .dh-nav-link.active .nav-icon,
  .sidebar-mini .dh-nav-item.active .dh-nav-icon,
  .sidebar-mini .dh-nav-link.active i,
  .sidebar-mini .dh-nav-item.active i {
    color: #EA580C !important;
  }

  /* Precision Absolute Centering for Icons inside 44x44 Squircle */
  .sidebar-mini .dh-nav-link .nav-icon,
  .sidebar-mini .dh-nav-item .dh-nav-icon,
  .sidebar-mini .dh-nav-link i,
  .sidebar-mini .dh-nav-item i {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    color: inherit !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .sidebar-mini .dh-nav-link:hover .nav-icon,
  .sidebar-mini .dh-nav-link:hover i {
    transform: translate(-50%, -50%) scale(1.12) !important;
  }

  .sidebar-mini .dh-nav-badge {
    display: none !important;
  }

  /* Modern Glass Capsule Tooltip on Hover */
  .sidebar-mini .dh-nav-link[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: fixed;
    left: 88px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    letter-spacing: 0.01em;
    animation: dhTooltipPop 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes dhTooltipPop {
    from {
      opacity: 0;
      transform: translateX(-6px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Footer in Mini: Sleek centered Apple Avatar */
  .sidebar-mini .dh-sidebar-footer {
    width: 76px !important;
    padding: 1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-top: 1px solid var(--border-light) !important;
  }

  .sidebar-mini .dh-admin-card,
  .sidebar-mini .dh-user-card {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .sidebar-mini .dh-admin-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #FF7700 0%, #FF9933 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(255, 119, 0, 0.25) !important;
    border: 2px solid #FFFFFF !important;
    margin: 0 auto !important;
    transition: transform 0.2s ease !important;
  }

  .sidebar-mini .dh-admin-avatar:hover {
    transform: scale(1.08) !important;
  }
}

/* Mobile Sidebar Backdrop Overlay */
.sidebar-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sidebar-mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-mobile-overlay.hidden {
  display: none;
}

/* ── Topbar (Floating Frosted Glass Header) ── */
.dh-topbar {
  position: sticky;
  top: 0;
  height: 68px;
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1.25rem;
  z-index: var(--z-sticky);
}

.dh-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dh-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dh-topbar-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast);
  font-size: 0.95rem;
}

.dh-topbar-btn:hover {
  background: var(--surface-white);
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: var(--shadow-xs);
}

.dh-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--saffron);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(255, 119, 0, 0.4);
  border: 2px solid var(--surface-white);
}

.dh-page-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.dh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.775rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 1px;
}

.dh-breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.dh-breadcrumb a:hover {
  color: var(--saffron);
}

.dh-breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dh-breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}

.dh-content {
  flex: 1;
  padding: 2rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* ── Page Header / Greeting Banner ── */
.dh-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.dh-page-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dh-page-header-left h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: -0.02em;
}

.dh-page-header-left .subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.dh-page-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
}

/* ── Sidebar Components ── */
.dh-sidebar-header {
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.dh-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dh-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--r-sm);
  filter: none;
}

.dh-brand-text {
  display: flex;
  flex-direction: column;
}

.dh-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.dh-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dh-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: var(--saffron-pale);
  border: 1px solid rgba(255, 119, 0, 0.2);
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--saffron-dark);
  margin-top: 0.65rem;
}

.dh-sidebar-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
}

/* ── Sidebar Navigation ── */
.dh-sidebar-nav {
  flex: 1;
  padding: 1rem 0.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dh-nav-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.dh-nav-section-label,
.dh-nav-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0.75rem 0.75rem 0.35rem;
}

.dh-nav-link,
.dh-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.dh-nav-link:hover,
.dh-nav-item:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
  transform: translateX(2px);
}

.dh-nav-link.active,
.dh-nav-item.active {
  background: var(--saffron-pale);
  color: var(--saffron-dark);
  font-weight: 700;
  border-color: rgba(255, 119, 0, 0.18);
}

.dh-nav-link.active .nav-icon,
.dh-nav-item.active .dh-nav-icon {
  color: var(--saffron);
}

.nav-icon,
.dh-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-tertiary);
  transition: color var(--t-fast);
}

.dh-nav-badge {
  margin-left: auto;
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.dh-nav-item.active .dh-nav-badge,
.dh-nav-link.active .dh-nav-badge {
  background: rgba(255, 119, 0, 0.15);
  color: var(--saffron-dark);
}

/* ── Sidebar Footer / User Profile ── */
.dh-sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: rgba(248, 250, 252, 0.7);
}

.dh-admin-card,
.dh-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dh-admin-avatar,
.dh-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #FF7700, #FF9933);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(255, 119, 0, 0.25);
  flex-shrink: 0;
}

.dh-admin-info,
.dh-user-info {
  flex: 1;
  min-width: 0;
}

.dh-admin-name,
.dh-user-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dh-admin-role,
.dh-user-role {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: capitalize;
}

.dh-logout-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--r-xs);
  transition: all var(--t-fast);
}

.dh-logout-btn:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* ── Topbar Search & Actions ── */
.dh-search-box {
  position: relative;
  width: 360px;
}

.dh-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.dh-search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--t-fast);
}

.dh-search-input:focus {
  background: var(--surface-white);
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-glow);
}

.dh-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Buttons (iOS 18 Squircle Touch Targets) ── */
.btn,
.dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn:active,
.dh-btn:active {
  transform: scale(0.98);
}

.btn-primary,
.dh-btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.28);
}

.btn-primary:hover,
.dh-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 119, 0, 0.38);
  transform: translateY(-1px);
}

.btn-secondary,
.dh-btn-secondary {
  background: var(--surface-white);
  color: var(--text-primary) !important;
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover,
.dh-btn-secondary:hover {
  background: var(--surface-subtle);
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: var(--surface-subtle);
  color: var(--text-primary) !important;
}

.btn-outline,
.dh-btn-outline {
  background: transparent;
  color: var(--text-secondary) !important;
  border-color: var(--border-light);
}

.btn-outline:hover,
.dh-btn-outline:hover {
  background: var(--surface-subtle);
  color: var(--text-primary) !important;
}

.btn-danger,
.dh-btn-danger {
  background: var(--color-danger);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.btn-sm,
.dh-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  border-radius: var(--r-sm);
}

.btn-icon,
.dh-btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--r-md);
}

/* ── Utilities ── */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.text-saffron {
  color: var(--saffron) !important;
}

.text-green {
  color: var(--india-green) !important;
}

.text-navy {
  color: var(--chakra-navy) !important;
}

.text-muted {
  color: var(--text-tertiary) !important;
}

.text-danger {
  color: var(--color-danger) !important;
}

/* ── Empty State ── */
.dh-empty {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dh-empty-icon {
  font-size: 2.75rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.dh-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dh-empty-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── Cards (iOS 18 Luminous Elevated Surfaces) ── */
.dh-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.dh-card:hover {
  box-shadow: var(--shadow-md);
}

.dh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.dh-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Badges & Status Indicators ── */
.dh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.dh-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dh-badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.dh-badge-success .dh-badge-dot {
  background: var(--color-success);
}

.dh-badge-warning {
  background: var(--color-warning-bg);
  color: #B45309;
}

.dh-badge-warning .dh-badge-dot {
  background: var(--color-warning);
}

.dh-badge-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.dh-badge-danger .dh-badge-dot {
  background: var(--color-danger);
}

.dh-badge-info {
  background: var(--color-info-bg);
  color: var(--color-info);
}

.dh-badge-info .dh-badge-dot {
  background: var(--color-info);
}

.dh-badge-muted {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

.dh-badge-muted .dh-badge-dot {
  background: var(--text-tertiary);
}

/* ── Forms & Inputs ── */
.dh-form-group {
  margin-bottom: 1.25rem;
}

.dh-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.dh-input,
.dh-select,
.dh-textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: all var(--t-fast);
}

.dh-input:focus,
.dh-select:focus,
.dh-textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-glow);
}

/* ── Tables ── */
.dh-table-container {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  background: var(--surface-white);
}

.dh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.dh-table th {
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.dh-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

.dh-table tr:hover td {
  background: #F8FAFC;
}

/* ── Modals & Bottom Sheets (iOS 18 Style) ── */
.dh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: 1.5rem;
}

.dh-modal-overlay.hidden {
  display: none !important;
}

.dh-modal {
  background: var(--surface-white);
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  animation: modal-pop 0.3s var(--ease-spring);
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dh-modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dh-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dh-modal-close {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--r-xs);
  transition: all var(--t-fast);
}

.dh-modal-close:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.dh-modal-body {
  padding: 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

.dh-modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--surface-subtle);
}

/* ── Mobile Responsive & Bottom Nav ── */
.dh-mobile-nav {
  display: none;
}

@media (max-width: 1024px) {
  .dh-sidebar {
    transform: translateX(-100%);
  }

  .dh-sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.15);
  }

  .dh-main {
    margin-left: 0;
  }

  .dh-content {
    padding: 1.25rem 1rem 5rem;
    /* Room for bottom nav */
  }

  .dh-search-box {
    display: none;
  }

  /* Fixed Glassmorphic iOS Bottom Nav */
  .dh-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface-glass-hi);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border-light);
    z-index: var(--z-sticky);
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .dh-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-tertiary);
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: color var(--t-fast);
  }

  .dh-mobile-nav-item i {
    font-size: 1.15rem;
  }

  .dh-mobile-nav-item.active {
    color: var(--saffron);
  }
}

/* ================================================================ */
/* ── ACCESSIBILITY UTILITIES ──                                    */
/* ================================================================ */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ================================================================ */
/* ── GLOBAL TOAST NOTIFICATION SYSTEM (iOS 18 GLASSMORPHIC) ──     */
/* ================================================================ */

.dh-toast-container {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  pointer-events: none !important;
  max-width: 400px !important;
  width: calc(100vw - 48px) !important;
}

.dh-toast {
  pointer-events: all !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-left-width: 4px !important;
  opacity: 0 !important;
  transform: translateX(40px) scale(0.96) !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.dh-toast.show {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
}

.dh-toast-icon {
  font-size: 18px !important;
  margin-top: 1px !important;
  flex-shrink: 0 !important;
}

.dh-toast.info {
  border-left-color: #0284C7 !important;
}

.dh-toast.info .dh-toast-icon {
  color: #0284C7 !important;
}

.dh-toast.success {
  border-left-color: #10B981 !important;
}

.dh-toast.success .dh-toast-icon {
  color: #10B981 !important;
}

.dh-toast.error {
  border-left-color: #EF4444 !important;
}

.dh-toast.error .dh-toast-icon {
  color: #EF4444 !important;
}

.dh-toast.warning {
  border-left-color: #F59E0B !important;
}

.dh-toast.warning .dh-toast-icon {
  color: #F59E0B !important;
}

.dh-toast-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.dh-toast-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 2px !important;
  line-height: 1.3 !important;
}

.dh-toast-msg {
  font-size: 12.5px !important;
  color: #475569 !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
}

.dh-toast-close {
  background: transparent !important;
  border: none !important;
  color: #94A3B8 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  margin-left: 4px !important;
  border-radius: 6px !important;
  transition: color 0.15s ease, background-color 0.15s ease !important;
}

.dh-toast-close:hover {
  color: #0F172A !important;
  background: rgba(15, 23, 42, 0.05) !important;
}

@media (max-width: 480px) {
  .dh-toast-container {
    top: 16px !important;
    right: 16px !important;
    width: calc(100vw - 32px) !important;
  }
}

/* ================================================================ */
/* === CUSTOM SELECT DROPDOWN COMPONENT                         === */
/* === APPLE iOS 18 DESIGN — MODERN, ACCESSIBLE, ANIMATED       === */
/* ================================================================ */

.dh-custom-select-wrapper {
  position: relative;
  width: 100%;
}

/* Native select is hidden visually but stays accessible for form submits */
select.dh-custom-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Trigger Button */
.dh-custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 500;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.dh-custom-select-trigger:hover {
  border-color: #CBD5E1;
  background: #FAFAFC;
}

.dh-custom-select-wrapper.open .dh-custom-select-trigger {
  border-color: #FF7700;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(255, 119, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dh-custom-select-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dh-custom-select-chevron {
  color: #94A3B8;
  font-size: 0.75rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  flex-shrink: 0;
}

.dh-custom-select-wrapper.open .dh-custom-select-chevron {
  transform: rotate(180deg);
  color: #FF7700;
}

/* Dropdown Menu */
.dh-custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.04);
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom smooth scrollbar for dropdown */
.dh-custom-select-menu::-webkit-scrollbar {
  width: 5px;
}
.dh-custom-select-menu::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.dh-custom-select-wrapper.open .dh-custom-select-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* If opened upward */
.dh-custom-select-wrapper.open-up .dh-custom-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(8px) scale(0.98);
}
.dh-custom-select-wrapper.open.open-up .dh-custom-select-menu {
  transform: translateY(0) scale(1);
}

/* Options */
.dh-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  gap: 8px;
}

.dh-custom-select-option:hover,
.dh-custom-select-option.focused {
  background: #F1F5F9;
  color: #0F172A;
}

.dh-custom-select-option.selected {
  background: rgba(255, 119, 0, 0.08);
  color: #FF7700;
  font-weight: 700;
}

.dh-custom-select-option-check {
  font-size: 0.75rem;
  color: #FF7700;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dh-custom-select-option.selected .dh-custom-select-option-check {
  opacity: 1;
  transform: scale(1);
}