 /* Smooth Scrollbar for WebKit Browsers */
      ::-webkit-scrollbar { width: 6px; height: 6px; }
      ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
      ::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.2); border-radius: 3px; }
      ::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.5); }

      /* Basic Animation Effects */
      @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
      .fadeIn { animation: fadeIn 0.5s ease forwards; }
      @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
      .slideUp { animation: slideUp 0.4s ease forwards; }
      @keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
      .slideInRight { animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

      /* Sidebar Expand/Collapse Animations */
      .category-content { 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
      }
      .category-content.open { max-height: none; }
      
      /* Arrow rotation for right to down */
      .category-arrow { 
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .category-arrow.open { 
        transform: rotate(90deg);
      }

      /* UPDATED: Unified Header Styling for both sidebar and main content */
      .unified-header {
        position: relative;
        overflow: hidden;
        background: linear-gradient(to right, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.03));
        height: 4rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.5rem;
        z-index: 10;
        transition: opacity 0.3s ease, background 0.3s ease;
      }
      
      /* UPDATED: Unified header separator line */
      .unified-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, 
          rgba(139, 92, 246, 0.05), 
          rgba(139, 92, 246, 0.3), 
          rgba(236, 72, 153, 0.2), 
          rgba(139, 92, 246, 0.05));
      }
      
      .unified-header .logo-container {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        transition: opacity 0.3s ease;
      }
      
      .unified-header .app-title {
        font-size: 1.25rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        transition: all 0.3s ease;
        letter-spacing: -0.01em;
      }
      
      .unified-header .version-badge {
        background: rgba(139, 92, 246, 0.15);
        color: rgba(255, 255, 255, 0.9);
        padding: 0.25rem 0.75rem;
        border-radius: 9999px;
        font-size: 0.7rem;
        font-weight: 500;
        border: 1px solid rgba(139, 92, 246, 0.2);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }

      /* Premium version badge for home section */
      .premium-version-badge {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
        color: white;
        padding: 0.3rem 1rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 
                    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                    0 0 15px rgba(139, 92, 246, 0.3);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      }

      .premium-version-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, 
          rgba(147, 51, 234, 0.4), 
          rgba(236, 72, 153, 0.4), 
          rgba(147, 51, 234, 0.4));
        background-size: 200% 200%;
        animation: gradient-x 3s ease infinite;
        z-index: -1;
      }

      .premium-version-badge::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        right: -50%;
        bottom: -50%;
        background: linear-gradient(to right, 
          rgba(255, 255, 255, 0), 
          rgba(255, 255, 255, 0.2), 
          rgba(255, 255, 255, 0));
        transform: rotate(30deg);
        animation: shine 3s infinite;
        z-index: -1;
      }

      @keyframes shine {
        0% { transform: translateX(-100%) rotate(30deg); }
        100% { transform: translateX(100%) rotate(30deg); }
      }

      /* Input Focus and Search Bar Transitions */
      #sidebarSearchContainer { 
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 
      }
      #sidebarSearch:focus { 
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3); 
      }
      #sidebarSearch::placeholder {
        transition: color 0.2s ease;
      }
      #sidebarSearch:focus::placeholder {
        color: rgba(255, 255, 255, 0.5);
      }

.card-hover {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2); /* base translucent */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.card-hover:hover::before {
  opacity: 1;
}




      /* Gradient Text for a Modern Look */
      .gradient-text {
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text; background-clip: text; color: transparent;
      }

      /* Animated Background Effects */
      .gradient-bg { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 0, 0, 0) 100%); }
      .animated-bg {
        background: linear-gradient(270deg, #18181c, #27272b);
        background-size: 200% 200%; animation: gradient-x 3s ease infinite;
      }

      /* Glass Effect for Overlays and Modals */
      .glass-effect {
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        background: rgba(24, 24, 28, 0.7); border: 1px solid rgba(255, 255, 255, 0.05);
      }

      /* Gradient Button with Dynamic Hover State */
      .gradient-button {
        background: linear-gradient(to right, #9333ea, #ec4899);
        transition: all 0.3s ease; position: relative; z-index: 1;
      }
      .gradient-button::before {
        content: '';
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(to right, #7c3aed, #db2777);
        opacity: 0; transition: opacity 0.3s ease; border-radius: inherit; z-index: -1;
      }
      .gradient-button:hover::before { opacity: 1; }

      /* Pulse Effect for Live Status Badges */
      .pulse-badge { position: relative; }
      .pulse-badge::after {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        border-radius: inherit; box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.7); animation: pulse 2s infinite;
      }
      @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(147, 51, 234, 0); }
        100% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0); }
      }

      /* Method Badge Hover Animation */
      .method-badge { 
        position: relative; 
        overflow: hidden; 
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      .method-badge::before {
        content: ''; position: absolute; top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.1), rgba(255,255,255,0));
        transition: left 0.5s ease;
      }
      .method-badge:hover::before { left: 100%; }
      .method-badge:hover {
        transform: scale(1.05);
        box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
      }

      /* Enhanced Loading Animation */
      .loading-container {
        position: relative;
        width: 240px;
        height: 4px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
      }

      .loading-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0;
        border-radius: 10px;
        background: linear-gradient(90deg, 
          rgba(139, 92, 246, 0.8), 
          rgba(236, 72, 153, 0.8), 
          rgba(139, 92, 246, 0.8));
        background-size: 200% 100%;
        animation: loading-animation 2s ease-in-out infinite;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
      }

      @keyframes loading-animation {
        0% {
          background-position: 100% 0;
          box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
        }
        50% {
          background-position: 0 0;
          box-shadow: 0 0 20px rgba(236, 72, 153, 0.7);
        }
        100% {
          background-position: 100% 0;
          box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
        }
      }

      .loading-particles {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 100px;
        pointer-events: none;
      }

      .loading-particle {
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(139, 92, 246, 0.6);
        animation: particle-float 3s ease-in-out infinite;
        opacity: 0;
      }

      @keyframes particle-float {
        0% {
          transform: translateY(0) scale(0);
          opacity: 0;
        }
        20% {
          opacity: 1;
        }
        80% {
          opacity: 1;
        }
        100% {
          transform: translateY(-50px) scale(1);
          opacity: 0;
        }
      }

      .loading-text {
        position: relative;
        color: transparent;
        background: linear-gradient(45deg, #9333ea, #ec4899, #9333ea);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        animation: text-shine 3s linear infinite;
        font-weight: 600;
      }

      @keyframes text-shine {
        0% {
          background-position: 0% center;
        }
        100% {
          background-position: 200% center;
        }
      }

      /* Action Buttons for API Endpoint & Results */
      .copy-download-btn {
        background-color: rgba(41, 41, 46, 0.8);
        color: #fff;
        padding: 0.25rem 0.75rem;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        border: 1px solid rgba(139, 92, 246, 0.3);
        transition: background-color 0.3s ease, border-color 0.3s ease;
        cursor: pointer;
      }
      .copy-download-btn:hover {
        background-color: rgba(60, 60, 70, 0.9);
        border-color: rgba(139, 92, 246, 0.5);
      }
      .copy-download-btn:active {
        transform: scale(0.97);
      }

      /* Frosted Glass Effect for Cards & Buttons */
     .frosted-card {
  background: rgba(255, 255, 255, 0.01) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.01);
}

      .frosted-card h3 {
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text;
        color: transparent;
      }
      .frosted-button {
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
        font-weight: bold;
      }
      .frosted-button span,
      .frosted-button,
      .frosted-button a {
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text;
        color: transparent;
      }
      .small-frosted-card {
        display: inline-block;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
        font-weight: bold;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }
      .small-frosted-card span,
      .small-frosted-card,
      .small-frosted-card a {
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text;
        color: transparent;
      }
      .small-frosted-card:hover,
      .frosted-button:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      /* UPDATED: Sidebar Category Card Styling - Thinner and more elegant */
      .category-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0.5rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.02);
        display: flex;
        flex-direction: column;
        min-height: 2.75rem; /* Thinner height */
      }
      
      .category-header-text {
        background: linear-gradient(45deg, #9333ea, #ec4899);
        -webkit-background-clip: text;
        color: transparent;
        transition: all 0.2s ease;
        font-size: 0.9rem; /* Slightly smaller font */
      }
      
      /* Active / Hover State Overlay for Entire Card */
      .category-card:hover::before,
      .category-card.active::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(139, 92, 246, 0.5);
        border-radius: inherit;
        pointer-events: none;
        box-shadow: inset 0 0 5px rgba(139, 92, 246, 0.1);
      }
      
      .category-card.active {
        background: rgba(139, 92, 246, 0.05);
      }

      /* Enhanced Sidebar API Item Styling */
      .sidebar-api-item {
        position: relative;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0.5rem;
        border-left: 2px solid transparent;
        padding-left: 0.5rem !important;
        font-size: 0.85rem; /* Smaller font for items */
      }
      .sidebar-api-item:hover {
        background: rgba(139, 92, 246, 0.1);
        border-left-color: rgba(139, 92, 246, 0.6);
        transform: translateX(2px);
      }
      .sidebar-api-item:active {
        transform: translateX(2px) scale(0.98);
      }

      /* Sidebar Scrollbar Enhancement */
      #sidebarCategories::-webkit-scrollbar {
        width: 4px;
      }
      #sidebarCategories::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
        margin: 4px 0;
      }
      #sidebarCategories::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.15);
        border-radius: 10px;
      }
      #sidebarCategories::-webkit-scrollbar-thumb:hover {
        background: rgba(139, 92, 246, 0.3);
      }
#sidebar {
  background-color: transparent !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-right: none !important;
}

/* Remove background from all inner elements that might add color */
#sidebar .p-4,
#sidebar .bg-dark-700\/30,
#sidebar .bg-dark-800\/95,
#sidebar .bg-dark-700,
#sidebar .bg-dark-900,
#sidebar { background: transparent !important;
}


/* Sidebar footer and border clear */
.sidebar-footer,
#sidebar .border-t {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Sidebar categories fully transparent */
#sidebarCategories {
  background: transparent !important;
}

/* Remove shadow from sidebar */
#sidebar {
  box-shadow: none !important;
}


/* Particle Canvas stays behind everything */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
}



      /* Sidebar Search Enhancement */
      .sidebar-search-icon {
        transition: all 0.2s ease;
      }
      #sidebarSearch:focus + .sidebar-search-container .sidebar-search-icon {
        color: rgba(139, 92, 246, 0.8);
        transform: scale(1.1);
      }
      .search-shortcut-badge {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.65rem;
        padding: 2px 5px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.5);
        pointer-events: none;
        opacity: 0.7;
        transition: opacity 0.2s ease;
      }
      #sidebarSearch:focus ~ .search-shortcut-badge {
        opacity: 0;
      }

      /* Sidebar Toggle Button Enhancement */
      .sidebar-toggle-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
      }
      .sidebar-toggle-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.3s ease;
      }
      .sidebar-toggle-btn:active::after {
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
      }

      /* Custom Icon Button Styles */
      .icon-button { 
        outline: none; 
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .icon-button:focus { 
        outline: none; 
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.4); 
      }
      .icon-button:active svg {
        transform: scale(0.95);
        filter: drop-shadow(0 0 3px #9333ea) drop-shadow(0 0 3px #ec4899);
      }

      /* No Results Message Enhancement */
      .no-results-message {
        padding: 2rem 1rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.02);
        border-radius: 0.75rem;
        margin-top: 1rem;
        border: 1px dashed rgba(255, 255, 255, 0.1);
        animation: fadeIn 0.5s ease forwards;
      }

      /* Sidebar Backdrop */
      .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 40;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
      }
      .sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
      }

      /* Sidebar Animation */
      @keyframes sidebarEntrance {
        from { transform: translateX(-100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
      }
      .sidebar-entrance {
        animation: sidebarEntrance 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
      }

      /* UPDATED: Category Item Count Badge - Smaller and more subtle */
      .category-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 0.65rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.7);
        background: rgba(139, 92, 246, 0.1);
        border-radius: 9px;
        margin-left: 6px;
        transition: all 0.2s ease;
      }
      .category-card:hover .category-count,
      .category-card.active .category-count {
        background: rgba(139, 92, 246, 0.2);
        color: white;
      }

      /* Enhanced Modal Styling - Removed border */
      .modal-premium {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }

      /* Enhanced Notification Styling */
      .notification-item {
        position: relative;
        overflow: hidden;
      }
      .notification-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #9333ea, #ec4899);
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .notification-item:hover::after {
        opacity: 1;
      }

      /* Premium Scrollbar for API Response */
      #apiResponseContent::-webkit-scrollbar {
        width: 6px;
        height: 6px;
      }
      #apiResponseContent::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 3px;
      }
      #apiResponseContent::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.2);
        border-radius: 3px;
        border: 1px solid rgba(139, 92, 246, 0.1);
      }
      #apiResponseContent::-webkit-scrollbar-thumb:hover {
        background: rgba(139, 92, 246, 0.4);
      }

      /* Premium Submit Button */
      #submitQueryBtn {
        position: relative;
        overflow: hidden;
      }
      #submitQueryBtn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
          rgba(255, 255, 255, 0), 
          rgba(255, 255, 255, 0.2), 
          rgba(255, 255, 255, 0));
        animation: shine 1.5s infinite;
      }

      /* Premium API Response Formatting */
      .json-key {
        color: #9333ea;
        font-weight: 500;
      }
      .json-string {
        color: #10b981;
      }
      .json-number {
        color: #3b82f6;
      }
      .json-boolean {
        color: #f59e0b;
      }
      .json-null {
        color: #ef4444;
      }

      /* UPDATED: Category Header Container - More compact and cleaner */
      .category-header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.25rem 0;
      }

      .category-header-left {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
        min-width: 0; /* Prevents overflow */
      }

      .category-header-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      
      /* UPDATED: Main content header styling - Reduced spacing */
      .main-header-container {
        padding: 1rem 0 1rem 0;
        text-align: center;
        position: relative;
      }
      
      .main-header-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        right: 20%;
        height: 1px;
        background: linear-gradient(to right, 
          rgba(139, 92, 246, 0.05), 
          rgba(139, 92, 246, 0.3), 
          rgba(236, 72, 153, 0.2), 
          rgba(139, 92, 246, 0.05));
      }
      
      .main-header-title {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
      }
      
      .main-header-subtitle {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.7);
        max-width: 36rem;
        margin: 0 auto 1rem auto;
      }
      
      .status-indicator {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0.75rem;
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.2);
        border-radius: 9999px;
        font-size: 0.875rem;
        color: rgba(16, 185, 129, 0.9);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }
      
      .status-dot {
        width: 0.5rem;
        height: 0.5rem;
        background-color: rgb(16, 185, 129);
        border-radius: 50%;
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
      }
      
      /* Performance optimizations */
      .will-change-transform {
        will-change: transform;
      }
      
      .hardware-accelerated {
        transform: translateZ(0);
        backface-visibility: hidden;
      }
      
      /* Responsive optimizations */
      @media (max-width: 640px) {
        .unified-header {
          padding: 0 1rem;
        }
        
        .main-header-title {
          font-size: 1.75rem;
        }
        
        .main-header-subtitle {
          font-size: 1rem;
          padding: 0 1rem;
        }
      }

      /* UPDATED: Header visibility control */
      .header-hidden .logo-container {
        opacity: 0;
        pointer-events: none;
      }

      .header-hidden.unified-header {
        background: transparent;
      }

      .header-hidden.unified-header::after {
        opacity: 0;
      }

      /* UPDATED: Reduced spacing between image and content */
      .banner-image-container {
        margin-bottom: 1.5rem;
      }

      /* toast */
      @keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.toast-enter {
    animation: slideInFromRight 0.3s ease-out forwards;
}

.toast-exit {
    animation: slideOutToRight 0.3s ease-in forwards;
}

.toast-icon {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/* Success Icon */
.toast-icon.success {
    background: #10b981;
}
.toast-icon.success::after {
    content: '✓';
}

/* Error Icon */
.toast-icon.error {
    background: #ef4444;
}
.toast-icon.error::after {
    content: '✕';
}

/* Warning Icon */
.toast-icon.warning {
    background: #f59e0b;
}
.toast-icon.warning::after {
    content: '⚠';
}

/* Info Icon */
.toast-icon.info {
    background: #3b82f6;
}
.toast-icon.info::after {
    content: 'ℹ';
}

/* Loading Icon */
.toast-icon.loading {
    background: #6b7280;
}
.toast-icon.loading::after {
    content: '⟳';
    animation: spin 1s linear infinite;
}

.close-btn {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.close-btn:hover {
    opacity: 1;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

 @keyframes slide-in {
    0% {
      opacity: 0;
      transform: translateY(20px) scale(0.95) rotate(-5deg);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1) rotate(0deg);
    }
  }

  @keyframes slide-out {
    0% {
      opacity: 1;
      transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
      opacity: 0;
      transform: translateY(20px) scale(0.95) rotate(-5deg);
    }
  }

  .animate-slide-in {
    animation: slide-in 0.5s ease-out forwards;
  }

  .animate-slide-out {
    animation: slide-out 0.4s ease-in forwards;
  }


  .animate-slideIn {
    animation: slideInUp 0.4s ease-out;
  }
  @keyframes slideInUp {
    0% {
      transform: translateY(40px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
