/* Betwins5 - Static Migration CSS */
/* Converted from Tailwind CSS to regular CSS */

/* CSS Variables for theming */
:root {
  /* Light mode colors */
  --background: #fbfaf8;
  --foreground: 215 28% 17%;
  --card: 0 0% 100%;
  --card-foreground: 215 28% 17%;
  --popover: 0 0% 100%;
  --popover-foreground: 215 28% 17%;
  --primary: 47 62% 54%;
  --primary-foreground: 0 0% 7%;
  --secondary: 48 33% 94%;
  --secondary-foreground: 215 28% 17%;
  --muted: 48 33% 96%;
  --muted-qb: 220 9% 26;
  --muted-foreground: 215 16% 45%;
  --accent: 48 33% 94%;
  --accent-foreground: 215 28% 17%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 210 17% 90%;
  --input: 210 17% 90%;
  --ring: 47 62% 54%;
  --radius: 0.5rem;
  --primary-form:#5ad5f4;
  --primary-600:#1d4ed8;
  --bg:#000000;
  --muted-form:#6b7280;
  --muted-form-dark: #9ca3af;
  --border-form:#e5e7eb;
  --border-form-dark: #334155;
  --success:#16a34a;

  /* Gold theme colors */
  --gold: #D4AF37;
  --gold-light: #f59e0b;
  --gold-dark: #b68a2e;

  /* Container and layout */
  --container-max: 1200px;
  --sidebar-width: 256px;
  --sidebar-collapsed: 64px;

  --transaction-bg: #f7fafc;
  --transaction-card: #ffffff;
  --transaction-muted: #64748b;
  --transaction-text: #0f1724;
  --transaction-accent: #2563eb;
  --transaction-border: #e6eef5;
  --transaction-success: #16a34a;
  --transaction-danger: #ef4444;
  --transaction-warning: #f59e0b;
  --transaction-glass: rgba(15,23,36,0.04);
  --transaction-soft: #f1f5f9;
  --transaction-hover-bg: #f59e0b;
  --transaction-text-color: #000000;
  --select-bg: #ffffff;
  --vip-card: #ffffff;
  --vip-muted: #64748b;
  --vip-border: #e2e8f0;
  --vip-highlight: #f59e0b;
  --vip-accent-bg: #fef3c7;
  --vip-success: #22c55e;
  --vip-orange: #f97316;
  --faq-card-light: #ffffff;
  --faq-card-dark: #1e293b;
  --faq-muted-light: #64748b;
  --faq-muted-dark: #94a3b8;
  --faq-accent: #f59e0b;
  --faq-transition: all 0.3s ease;
  --rg-transition: 0.22s ease;
  --rg-card: #ffffff;
  --rg-muted: #6b7280;
  --rg-accent-green: #0f9d58;
  --rg-accent-green-600: #0a7a3f;
  --rg-accent-orange: #f59e0b;
  --rg-success: #0ea5a4;
  --rg-shadow: 0 6px 18px rgba(15,23,36,0.06);
  --rg-radius: 10px;
  --terms-card: #fff;
  --terms-border: #e2e8f0;
  --terms-text: #1e293b;
  --terms-muted: #64748b;
  --terms-accent: #f59e0b;
  --terms-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  --promotion-panel: #ffffff;
  --promotion-muted: #6b7280;
  --promotion-text: #0b1220;
  --promotion-border: #e6e9ee;
  --promotion-accent: #f6b21a;
  --promotion-accent-700:#f59e0b;
  --promotion-btn-yellow: #f3b21a;
  --promotion-success: #10b981;
  --promotion-shadow: 0 8px 22px rgba(11,17,28,0.06);
  ---livechat-primary: #f59e0b;
  ---livechat-primary-hover: #d97706;
  ---livechat-accent-light: #fef3c7;
  ---livechat-card: #ffffff;
  ---livechat-text: #111827;
  ---livechat-muted: #6b7280;
  ---livechat-border: #e5e7eb;

  --wd-bg: #f9fafb;
  --wd-text: #111827;
  --wd-order: #d1d5db;
  --wd-label: #374151;
  --wd-placeholder: #9ca3af;
  --wd-accent: #2563eb;
  --wd-nav-bg: #fafafa;
  --wd-nav-text: #9ca3af;
  --wd-nav-active-text: #2563eb;
  --wd-nav-hover-bg: #f3f4f6;
  --wd-tab-border: #e5e7eb;
  --wd-item-hover: #f9fafb;
  --wd-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);

  --wt-bg-box: #131c2c;
  --wt-bg-header: #222b3a;
  --wt-border: rgba(255, 255, 255, 0.05);
  --wt-text-light: #ffffff;
  --wt-text-muted: #9ba5b4;
  --wt-success: #22c55e;
  --wt-btn-bg: #08142b;
  --wt-btn-border: #1e293b;
  --wt-btn-hover: #0c203f;
  --wt-btn-yellow: #5ad5f4;
  --wt-btn-green: #157220;

}

/* Dark mode */
.dark {
  /*--background: #020a26;*/
  --background: #02091f;
  --foreground: 0 0% 92%;
  --card: 220 11% 8%;
  --card-foreground: 0 0% 92%;
  --popover: 220 11% 8%;
  --popover-foreground: 0 0% 92%;
  --primary: 47 62% 54%;
  --primary-foreground: 0 0% 7%;
  --secondary: 220 9% 26%;
  --secondary-foreground: 0 0% 92%;
  --muted: 220 9% 26%;
  --muted-qb: 220 9% 26%;
  --muted-foreground: 220 9% 70%;
  --accent: 220 9% 26%;
  --accent-foreground: 0 0% 92%;
  --destructive: 0 62% 30%;
  --destructive-foreground: 0 0% 92%;
  --border: 220 9% 26%;
  --input: 220 9% 26%;
  --ring: 47 62% 54%;
  --transaction-bg: radial-gradient(circle at 20% 30%, #0d1528 0%, #070d1a 100%);
  --transaction-card: #0f172a;
  --transaction-muted: #9ca3af;
  --transaction-text: #f1f5f9;
  --transaction-accent: #60a5fa;
  --transaction-border: rgba(255,255,255,0.08);
  --transaction-success: #22c55e;
  --transaction-danger: #f87171;
  --transaction-warning: #facc15;
  --transaction-glass: rgba(255,255,255,0.03);
  --transaction-soft: rgba(255,255,255,0.05);
  --transaction-hover-bg: rgba(255, 255, 255, 0.08);
  --transaction-text-color: #ffffff;
  --select-bg: #0f1724;
  --vip-bg: #0f172a;
  --vip-card: #1e293b;
  --vip-text: #f8fafc;
  --vip-muted: #94a3b8;
  --vip-border: #334155;
  --vip-highlight: #facc15;
  --vip-accent-bg: #1e293b;
  --rg-card: #0f1724;
  --rg-muted: #9aa7b6;
  --rg-accent-green: #1fb76a;
  --rg-accent-green-600: #139250;
  --rg-accent-orange: #f59e0b;
  --rg-shadow: 0 8px 22px rgba(0,0,0,0.6);
  --terms-card: #101827;
  --terms-border: #1e293b;
  --terms-text: #e2e8f0;
  --terms-muted: #94a3b8;
  --terms-accent: #fbbf24;
  --terms-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  --promotion-panel: #0f1724;
  --promotion-muted: #94a3b8;
  --promotion-text: #e6f0f4;
  --promotion-border: #263245;
  --promotion-accent: #f59e0b;
  --promotion-btn-yellow: #f59e0b;
  --promotion-shadow: 0 12px 28px rgba(0,0,0,0.6);
  ---livechat-card: #1e293b;
  ---livechat-text: #f3f4f6;
  ---livechat-muted: #9ca3af;
  ---livechat-border: #334155;
  ---livechat-accent-light: #78350f;
  --wd-bg: #0f172a;
  --wd-text: #e2e8f0;
  --wd-order: #334155;
  --wd-label: #cbd5e1;
  --wd-placeholder: #94a3b8;
  --wd-accent: #3b82f6;
  --wd-nav-bg: #1e293b;
  --wd-nav-text: #94a3b8;
  --wd-nav-active-text: #60a5fa;
  --wd-nav-hover-bg: #334155;
  --wd-tab-border: #334155;
  --wd-item-hover: #1e293b;
  --wd-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);

}

*{
   box-sizing:border-box
}
body{
   font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
   background:var(--bg);
   color:#111827;
   margin:0;
}
.form-h1{
  font-size:22px;
  margin:0 0 18px;
  font-weight:700
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--background);
  color: hsl(var(--foreground));
  line-height: 1.5;
}

/* Layout */
.dashboard-layout {
  display: flex;
  height: 100vh;
  background-color: var(--background);
}

.sidebar {
  width: var(--sidebar-width);
  background-color: var(--background);
  border-right: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  position: relative;
  z-index: 500;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.navbar {
  background-color: var(--background);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.4rem 0.5rem;
  position: relative;
  z-index: 200;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-area {
  padding: 1rem;
  background-color: var(--background);
  height: 100vh;
  overflow-y: auto;
}

/* Main content scrollbar (slim) */
.content-area {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(156, 163, 175, 0.45) transparent;
}

.content-area::-webkit-scrollbar {
  width: 6px;
}

.content-area::-webkit-scrollbar-track {
  background: transparent;
}

.content-area::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.45);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.content-area:hover::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.65);
}

.dark .content-area::-webkit-scrollbar-thumb {
  background-color: #4b5563;
}

.dark .content-area:hover::-webkit-scrollbar-thumb {
  background-color: #6b7280;
}

/* Sidebar styles */
.sidebar-header {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default Sidebar (Expanded) */
.sidebar-logo {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* When Sidebar is Collapsed */
.sidebar.collapsed .sidebar-logo {
  height: 2.25rem;
  width: 2.25rem;
}

/* Tablet and Mobile Adjustments */
@media (max-width: 768px) {
  .sidebar-logo {
    height: 2rem !important;
    width: 2rem !important;
  }
  /* When Sidebar expands on mobile */
  .sidebar.mobile-expanded .sidebar-logo {
    content: url('/assets/main/images/logo-main.png'); /* Show full logo */
    height: 3.25rem !important;
    width: auto !important;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .sidebar {
    width: 3rem !important;
  }

  .sidebar-logo {
    height: 1.75rem !important;
    width: 1.75rem !important;
  }
}

/* Default Expanded (Desktop) */
.elite-section,
.victory-section {
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.elite-section img,
.victory-section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Hide on Desktop Collapsed */
.sidebar.collapsed .elite-section,
.sidebar.collapsed .victory-section {
  display: none !important;
  opacity: 0;
}

/* ===== MOBILE BEHAVIOR ===== */
@media (max-width: 768px) {
  /* Default Mobile (Collapsed View) */
  .sidebar .elite-section,
  .sidebar .victory-section {
    display: none !important;
    opacity: 0;
  }

  /* When Expanded on Mobile → Show */
  .sidebar.expanded .elite-section,
  .sidebar.expanded .victory-section {
    display: block !important;
    opacity: 1;
    width: 200px;
  }
}

.sidebar-nav {
  flex: 1;
  padding: 0.5rem;
  overflow-y: auto;
}

/* Sidebar scrollbar (slim) */
.sidebar-nav {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(156, 163, 175, 0.45) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.45);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.sidebar-nav:hover::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.65);
}

.dark .sidebar-nav::-webkit-scrollbar-thumb {
  background-color: #4b5563;
}

.dark .sidebar-nav:hover::-webkit-scrollbar-thumb {
  background-color: #6b7280;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  position: relative;
}

/* Light mode sidebar text - but not for active items */
.light .nav-item:not(.active) {
  color: #000000 !important;
}


.nav-item:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: #042943;
}

.nav-item.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
}

/* Ensure active state overrides light mode with higher specificity */
.light .nav-item.active,
.light .sidebar .nav-item.active,
.light .sidebar-nav .nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Ensure active state overrides dark mode with higher specificity */
.dark .nav-item.active,
.dark .sidebar .nav-item.active,
.dark .sidebar-nav .nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Hide account button by default (only show when logged in) */
.nav-item[data-action="account-dropdown"] {
  display: none;
}

/* Force home button active state */
.nav-item[data-page="home"].active {
  color: #ffffff !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  transform: scale(1.02) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Extra specific home button active state */
button.nav-item[data-page="home"].active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* ULTRA AGGRESSIVE home button active state */
.sidebar .nav-item[data-page="home"].active,
.sidebar-nav .nav-item[data-page="home"].active,
.nav-item[data-page="home"].active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088!important;
  font-weight: 700 !important;
  opacity: 1 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3) !important;
}

/* Force home button active state with maximum specificity */
body .sidebar .sidebar-nav .nav-item[data-page="home"].active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 0 10px gold !important;
}

/* NUCLEAR OPTION - Force home button active state with absolute specificity */
html body .dashboard-layout .sidebar .sidebar-nav .nav-item[data-page="home"].active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
  position: relative !important;
  z-index: 999 !important;
}

/* Prevent active state from being removed on double-click */
.nav-item.active:active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
}

.nav-item.active:focus {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
}

/* Ensure nav items are clickable */
.nav-item {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.submenu-item {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Force active state to persist during all interactions */
.nav-item.active:hover,
.nav-item.active:focus,
.nav-item.active:active,
.nav-item.active:visited {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Prevent active state from being removed by JavaScript */
.nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Ultra-aggressive protection for active state */
.nav-item[data-page].active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Ensure only one item can be active at a time */
.nav-item:not(.active) {
  color: hsl(var(--foreground));
  background-color: transparent;
  border: none;
  font-weight: normal;
  opacity: 0.7;
}

.submenu-item:not(.active) {
  color: hsl(var(--foreground));
  background-color: transparent;
  border: none;
  font-weight: normal;
  opacity: 0.7;
}

/* Light mode for non-active items */
.light .nav-item:not(.active) {
  color: #000000 !important;
  font-weight: bold;
}

.light .submenu-item:not(.active) {
  color: #000000 !important;
  font-weight: bold;
}

/* Dark mode for non-active items */
.dark .nav-item:not(.active) {
  color: #ffffff !important;
  font-weight: bold;
}

.dark .submenu-item:not(.active) {
  color: #ffffff !important;
  font-weight: bold;
}

.nav-item.collapsed {
  padding: 0.5rem;
  justify-content: center;
}

.nav-icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.75rem;
  color: #cbd5e1;
  /* muted gray like the photo */
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  /* thinner lines */
}

/* Light mode sidebar icons */
.light .nav-icon {
  color: #000000 !important;
  font-weight: bold;
}

.nav-item.collapsed .nav-icon {
  margin-right: 0;
}

/* Highlight on hover/active */
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon,
.submenu-item:hover .nav-icon,
.submenu-item.active .nav-icon {
  color: #ffffff;
}

/* Force white icons for active nav items in light mode */
.light .nav-item.active .nav-icon,
.light .submenu-item.active .nav-icon {
  color: #ffffff !important;
}

/* Collapsed rail icon spacing */
.sidebar.collapsed .nav-icon {
  margin-right: 0;
}

.nav-text {
  flex: 1;
}

.nav-item.collapsed .nav-text {
  display: none;
}

/* When sidebar is collapsed, show only icons and center them */
.sidebar.collapsed .nav-item,
.sidebar.collapsed .submenu-item {
  padding: 0.5rem;
  justify-content: center;
}

.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-chevron {
  display: none;
}

.sidebar.collapsed .submenu {
  display: none !important;
  /* hide submenus in collapsed rail */
}

.nav-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.nav-item.collapsed .nav-chevron {
  display: none;
}

.submenu {
  margin-top: 0.25rem;
  margin-left: 2.25rem;
  display: none;
}

.submenu.open {
  display: block;
}

.submenu.collapsed {
  margin-left: 0.5rem;
}

.submenu-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

/* Light mode submenu text */
.light .submenu-item {
  color: #000000 !important;
}

.submenu-item:hover {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.06);
}

.submenu-item.active {
  color: #ffffff !important;
  font-weight: 600;
  background: linear-gradient(to right,#5ad5f4, #3c7088, #5ad5f4);
}

/* Ensure submenu active state overrides light mode */
.light .submenu-item.active,
.light .sidebar .submenu-item.active,
.light .sidebar-nav .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
}

/* Ensure submenu active state overrides dark mode */
.dark .submenu-item.active,
.dark .sidebar .submenu-item.active,
.dark .sidebar-nav .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
}

/* Dropdown menu item active state */
.dropdown-menu-item.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
}

/* Ensure dropdown active state overrides light mode */
.light .dropdown-menu-item.active,
.light .user-dropdown .dropdown-menu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
}

/* Ensure dropdown active state overrides dark mode */
.dark .dropdown-menu-item.active,
.dark .user-dropdown .dropdown-menu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
}

/* Universal active state for ALL navigation items */
.nav-item.active,
.submenu-item.active,
.dropdown-menu-item.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  border: 1px solid #3c7088 !important;
  opacity: 1 !important;
}

/* Force active state for all navigation items in light mode */
.light .nav-item.active,
.light .submenu-item.active,
.light .dropdown-menu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Force active state for all navigation items in dark mode */
.dark .nav-item.active,
.dark .submenu-item.active,
.dark .dropdown-menu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* ULTRA SPECIFIC submenu active state overrides */
.submenu-item.active,
.sidebar .submenu-item.active,
.sidebar-nav .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  border: 1px solid #3c7088 !important;
}

/* Override light mode for submenu active */
.light .submenu-item.active,
.light .sidebar .submenu-item.active,
.light .sidebar-nav .submenu-item.active,
.light .nav-group .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Override dark mode for submenu active */
.dark .submenu-item.active,
.dark .sidebar .submenu-item.active,
.dark .sidebar-nav .submenu-item.active,
.dark .nav-group .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* NUCLEAR OPTION for submenu active state */
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  border: 1px solid #3c7088 !important;
}

/* EXTREME NUCLEAR OPTION - Override everything */
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active,
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:hover,
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:focus,
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:active,
html body .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:visited {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  border: 1px solid #3c7088 !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}

/* Override light mode with maximum specificity */
html body .light .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active,
html body .light .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:hover,
html body .light .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:focus,
html body .light .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:active,
html body .light .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:visited {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  border: 1px solid #3c7088 !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}

/* Override dark mode with maximum specificity */
html body .dark .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active,
html body .dark .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:hover,
html body .dark .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:focus,
html body .dark .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:active,
html body .dark .dashboard-layout .sidebar .sidebar-nav .nav-group .submenu .submenu-item.active:visited {
  color: #ffffff !important;
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  border: 1px solid #3c7088 !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}

.submenu-item.collapsed {
  padding: 0.5rem;
  justify-content: center;
}

.submenu-item.collapsed .nav-text {
  display: none;
}

/* Sidebar toggle button */
.sidebar-toggle {
  position: absolute;
  right: -1rem;
  top: 2.9rem;
  z-index: 2000;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: linear-gradient(to right, #f59e0b, #fbbf24, #eab308) !important;
  /*color: hsl(var(--foreground));*/
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.sidebar-toggle:hover {
  /*color: var(--gold);*/
  color: #ffffff;
}

.sidebar-toggle.collapsed {
  transform: rotate(180deg);
}

/* Navbar styles */
.navbar-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: space-between;
}

/* Language selector */
.language-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--background);
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}


.language-flag {
  font-size: 1.125rem;
  line-height: 1;
}

.language-chevron {
  width: 0.875rem;
  height: 0.875rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: -20px;
}

@media (max-width: 600px) {
  .theme-toggle {
    margin-left: 0.5rem;
  }
}
@media (max-width: 912px) {
  .theme-toggle {
    margin-left: 0.5rem;
  }
}

.theme-icon {
  width: 1rem;
  height: 1rem;
}

.theme-icon.active {
  color: hsl(var(--foreground));
}

.theme-icon.inactive {
  color: hsl(var(--muted-foreground));
}

/* Search bar */
.search-container {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-icon {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.search-input {
  width: 60%;
  height: 2.25rem;
  padding-left: 2rem;
  padding-right: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background-color: hsl(var(--input));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Quick actions */
.quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  background-color: var(--background);
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.quick-action-btn:hover {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.1);
}

.quick-action-icon {
  width: 1rem;
  height: 1rem;
}

/* User menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  background-color: hsl(var(--secondary));
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu:hover {
  background-color: hsl(var(--accent));
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: relative;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #10b981;
  border: 2px solid var(--background);
}

.user-info {
  text-align: left;
}

.user-name {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

.user-status-text {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.2;
}

.user-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.user-menu:hover .user-chevron {
  color: hsl(var(--foreground));
}

/* Auth buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-btn {
  display: inline-flex; /* ✅ aligns icon + text */
  align-items: center; /* ✅ centers vertically */
  justify-content: center;
  gap: 0.5rem;  /* ✅ space between icon and text */
  padding: 0.75rem 1rem; /* slightly wider padding for balance */
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  height: 40px;
  line-height: 1;  /* ensures perfect centering */
}

.auth-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;  /* prevents icon from resizing */
}

.auth-btn.primary {
  background-color: #1d4054;
  color: #ffffff;
  font-weight: 600;
}

.auth-btn.primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

/* ✅ Responsive design */
@media (max-width: 768px) {
  .auth-buttons {
    width: 100%;
    justify-content: center;       /* center buttons horizontally */
  }

  .auth-btn {
    width: 100%;                   /* make button full width */
    max-width: 320px;              /* limit width for nice proportion */
    font-size: 0.95rem;            /* slightly smaller text */
  }

  .auth-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Banner carousel */
.banner-carousel {
  position: relative;
  width: 100%;
  background-color: hsl(var(--card));
  border-radius: 0.375rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
}

.carousel-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: hsl(var(--muted));
  transition: background-color 0.2s ease;
}

.carousel-dot.active {
  background-color: hsl(var(--primary));
}

/* Announcement banner */
.announcement-banner {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.03));
  padding: 0.625rem 0.875rem;
  overflow: hidden;
}

.dark .announcement-banner {
  background-color: hsl(var(--muted) / 0.6);
}

.announcement-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #fbbf24;
  flex-shrink: 0;
  margin-right: 0.25rem;
  display: inline-block;
  filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.35));
}

.announcement-text {
  flex: 1;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  /* prevent cutting while scrolling */
  line-height: 1.25;
}

/* Light mode announcement text */
.light .announcement-text {
  color: #374151 !important;
}

/* Marquee animation */
.marquee {
  position: relative;
  overflow: hidden;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  will-change: transform;
  padding-right: 100%;
  /* ensure seamless loop so it doesn't cut */
}

.marquee-item {
  flex: 0 0 auto;
}

.animate-marquee-continuous {
  animation: marquee-cont 28s linear infinite;
}

@keyframes marquee-cont {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee:hover .animate-marquee-continuous {
  animation-play-state: paused;
}

/* Category navigation */
.category-nav {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.category-container {
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.category-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-x;
  cursor: grab;
}

.category-buttons::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.500rem 1rem;
  font-size: 0.75rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-width: 6rem;
  background: none;
  color: #000000;
  flex-shrink: 0;
  scroll-snap-align: start;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.light .category-btn {
  color: #000000;
}

.dark .category-btn {
  color: #ffffff;
}

.category-btn:hover {
  background-color: hsl(var(--muted) / 0.6);
  border-color: rgba(212, 175, 55, 0.4);
}

.category-btn.active {
  border: transparent;
  color: white;
  background: linear-gradient(to right,#5ad5f4, #3c7088, #5ad5f4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.375rem;
}

.category-btn.active .category-icon {
  color: rgba(255, 255, 255, 0.9);
}

.category-btn:not(.active) .category-icon {
  color: hsl(var(--muted-foreground));
}

/* Game sections */
.game-sections {
  display: block; /* all visible by default */
  transition: all 0.5s ease; /* smooth opacity + height transition */
  overflow: hidden;
  opacity: 1;
}
.game-section {
  margin-top: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(17, 24, 39, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

/* Smaller See All button */
.section-btn.see-all {
  font-size: 0.8125rem;
  padding: 0.4rem 0.8rem;
}

/* Light mode color for See All / See Less */
.section-btn.see-all {
  background: linear-gradient(to right,#5ad5f4, #3c7088, #5ad5f4);
  color: #ffffff;
  border: 1px solid hsl(var(--border));
  font-weight: 400;
}

.section-btn.see-all:hover {
  background-color: hsl(var(--muted));
  border-color: hsl(var(--border));
}

/* Dark mode keeps compact dark style */
.dark .section-btn.see-all {
  background-color: rgba(17, 24, 39, 0.35);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dark .section-btn.see-all:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.section-btn .section-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.section-btn:hover {
  background-color: rgba(247, 245, 240, 0.573);
}

.section-btn.primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.section-btn.primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.section-btn.ghost {
  border: none;
  background: none;
  padding: 0.5rem;
}

.section-btn.ghost:hover {
  background-color: hsl(var(--accent));
}

.section-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Compact arrows beside See All */
.section-arrow {
  width: 2.8rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background-color: #ffffff;
  /* light mode: white background */
  color: #000000;
  /* black chevrons */
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  font-size: 0.95rem;
}

.section-arrow .arrow-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.section-arrow:hover {
  background: #f59e0b;
  border-color: hsl(var(--border));
}

/* Dark mode arrows retain compact dark style */
.dark .section-arrow {
  border: none;
  background-color: rgba(17, 24, 39, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.dark .section-arrow:hover {
  background: #f59e0b;
}

/* Game grid */
.game-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.game-grid.expanded {
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}

.game-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-image {
  position: relative;
  width: 100%;
  height: 7rem;
  background-color: hsl(var(--muted));
  object-fit: cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

/* Dark overlay on hover - only when hovering the image */
.game-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card:hover .game-image::after {
  opacity: 1;
}

/* Play Now button overlay - positioned over the image on hover */
.game-image::before {
  content: 'PLAY NOW';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  font-size: 0.7rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
  white-space: nowrap;
}

.game-card:hover .game-image::before {
  opacity: 1;
  visibility: visible;
}

.game-card:hover .game-image::before:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.game-grid.expanded .game-image {
  height: 5rem;
}

/* Responsive styles for main page game cards */
@media (max-width: 768px) {
  .game-image::before {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .game-image::before {
    padding: 0.25rem 0.5rem;
    font-size: 0.55rem;
  }
}

/* Game scroll */
.game-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory; /* optional – helps align slides */
}

.game-scroll::-webkit-scrollbar {
  display: none;
}

/* Game scroll item hover effects */
.game-scroll-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-scroll-item:hover {
  transform: translateY(-2px);
}

.game-scroll-image-container {
  position: relative;
  width: 100%;
  border-radius: 0.375rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-scroll-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-scroll-item:hover .game-scroll-image {
  transform: scale(1.05);
}

/* Dark overlay on hover - only when hovering the image */
.game-scroll-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-scroll-item:hover .game-scroll-image-container::after {
  opacity: 1;
}

/* Play Now button overlay - positioned over the image on hover */
.game-scroll-image-container::before {
  content: 'PLAY NOW';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  font-size: 0.7rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
  white-space: nowrap;
}

.game-scroll-item:hover .game-scroll-image-container::before {
  opacity: 1;
  visibility: visible;
}

.game-scroll-item:hover .game-scroll-image-container::before:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Game row wrapper with arrows */
.game-row-wrapper {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.scroll-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(251, 191, 36, 0.5);
}

.scroll-arrow.left {
  left: -0.5rem;
}

.scroll-arrow.right {
  right: -0.5rem;
}

/* Expanded mode switches to grid */
.game-scroll.expanded {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.game-scroll.expanded .game-scroll-image {
  height: 11rem;
}

.game-scroll.expanded .game-scroll-item {
  min-width: 0;
}

.game-scroll-item {
  flex-shrink: 0;
  min-width: 10rem;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.game-scroll-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-scroll-image {
  width: 100%;
  height: 10rem;
  background-color: hsl(var(--muted));
  object-fit: cover;
}

/* Footer */
.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  background-color: hsl(var(--muted));
}

.dark .footer {
  background-color: var(--background);
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.footer-partner {
  height: 1.5rem;
  object-fit: contain;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.footer-logo {
  height: 2.5rem;
  object-fit: contain;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background-color: rgba(59, 130, 246, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding: 1rem 0;
}

.light .footer-link {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dark .footer-link {
  color: hsl(var(--muted-foreground));
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #eab308;
}

.light .footer-copyright {
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #000000;
  font-weight: bold;
}

.dark .footer-copyright {
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: bold;
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.card-content {
  padding: 1rem;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.card-icon {
  font-size: 1.125rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .card-actions {
    width: auto;
    justify-content: flex-end;
  }
}

/* Buttons */
.btn {
  appearance: none;
  border: 2px solid hsl(var(--border));
  background-color: var(--background);
  color: inherit;
  font: inherit;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 7.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn:active {
  transform: translateY(1px);
}

.btn:hover {
  background-color: hsl(var(--accent));
}

.btn.primary {
  background-color: #3c7088;
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.btn.primary:hover {
  background-color: #031c32;
}

.btn.outline {
  border: 1px solid hsl(var(--border));
  background-color: transparent;
}

.btn.outline:hover {
  background-color: hsl(var(--accent));
}

.btn.ghost {
  border: none;
  background: none;
}

.btn.ghost:hover {
  background-color: hsl(var(--accent));
}

.btn.sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  min-width: auto;
}

.btn.icon {
  padding: 0.5rem;
  min-width: auto;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Forms */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.form-error {
  font-size: 0.75rem;
  color: hsl(var(--destructive));
}

/* Tables */
/*
.table-container {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 0.5rem 0.625rem;
  border-bottom: 1px solid hsl(var(--border));
}

.table th {
  font-weight: 600;
  background-color: hsl(var(--muted));
}*/

/* Mobile Responsive - Collapsible Sidebar */
@media (max-width: 768px) {

  /* Collapsed icon-only sidebar by default */
  .sidebar {
    width: 3.5rem !important;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: width 0.3s ease;
  }

  /* Expanded sidebar on mobile */
  .sidebar.mobile-expanded {
    width: var(--sidebar-width) !important;
  }

  /* Show sidebar toggle button on mobile - same position as desktop */
  .sidebar-toggle {
    display: flex !important;
    position: absolute;
    right: -1rem;
    top: 2.5rem;
    z-index: 2000;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
    height: 1.7rem;
    width: 1.7rem;
  }

  /* Rotate toggle button when sidebar is expanded on mobile */
  .sidebar.mobile-expanded .sidebar-toggle,
  .sidebar-toggle.mobile-expanded {
    transform: rotate(180deg);
  }


  /* Sidebar header - compact logo */
  .sidebar-header {
    padding: 0.5rem 0.25rem;
  }

  /* Sidebar navigation - compact */
  .sidebar-nav {
    padding: 0.25rem;
  }

  /* Hide all text in sidebar by default */
  .nav-text {
    display: none !important;
  }

  /* Hide chevrons by default */
  .nav-chevron {
    display: none !important;
  }

  /* Hide submenus by default, except All Games */
  .submenu {
    display: none !important;
  }


  /* Center icons in nav items */
  .nav-item,
  .submenu-item {
    justify-content: center !important;
    padding: 0.65rem 0.25rem !important;
    margin-bottom: 0.125rem;
  }

  .nav-icon {
    margin-right: 0 !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  /* When sidebar is expanded on mobile - show text */
  .sidebar.mobile-expanded .nav-text {
    display: inline !important;
  }

  .sidebar.mobile-expanded .nav-chevron {
    display: block !important;
  }

  .sidebar.mobile-expanded .submenu.open {
    display: block !important;
  }

  .sidebar.mobile-expanded .nav-item,
  .sidebar.mobile-expanded .submenu-item {
    justify-content: space-between !important;
    padding: 0.5rem 0.75rem !important;
  }

  .sidebar.mobile-expanded .nav-icon {
    margin-right: 0.75rem !important;
  }

  .sidebar.mobile-expanded .sidebar-header {
    padding: 0.5rem;
  }

  /* Main content adjusted for narrow sidebar */
  .main-content {
    margin-left: 3.5rem;
    width: calc(100% - 3.5rem);
    transition: margin-left 0.3s ease, width 0.3s ease;
  }

  /* When sidebar is expanded, shift content like desktop */
  .sidebar.mobile-expanded~.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }

  /* Compact navbar */
  .navbar {
    padding: 0.5rem 0.75rem;
  }

  .navbar-content {
    gap: 0.75rem;
  }

  .navbar-left {
    width: auto;
    gap: 0.5rem;
    margin-right: 0.5rem !important;
  }

  /* Show theme toggle, hide language selector */
  .language-selector {
    display: none !important;
  }

  .theme-toggle {
    gap: 0.25rem;
    margin-right: 0.5rem !important;
  }

  .theme-icon {
    width: 0.875rem !important;
    height: 0.875rem !important;
  }

  .switch {
    width: 2.25rem !important;
    height: 1.125rem !important;
  }

  .switch-slider:before {
    height: 0.875rem !important;
    width: 0.875rem !important;
    left: 0.125rem;
    bottom: 0.125rem;
  }

  input:checked+.switch-slider:before {
    transform: translateX(1.125rem) !important;
  }

  .navbar-right {
    flex: 1;
    width: auto;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    display: flex !important;
  }

  .quick-actions {
    gap: 0.25rem !important;
    margin-left: auto !important;
    padding-left: 0.5rem !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .search-container {
    flex: 1;
    max-width: none;
  }

  .search-input {
    width: 100%;
    height: 2rem;
    font-size: 0.8rem;
  }

  .search-icon {
    width: 0.875rem !important;
    height: 0.875rem !important;
  }

  /* Show quick actions on mobile */
  .quick-actions {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .quick-action-btn {
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
  }

  .quick-action-btn span {
    display: none !important;
  }


  /* Compact auth button */
  .auth-btn {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.8rem !important;
  }

  /* Compact user dropdown */
  /*
  .user-dropdown-btn {
    padding: 0.375rem 0.625rem;
  }*/

  .user-avatar-circle {
    width: 1.75rem !important;
    height: 1.75rem !important;
    min-width: 1.75rem !important;
    min-height: 1.75rem !important;
    max-width: 1.75rem !important;
    max-height: 1.75rem !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }

  /* Content area */
  .content-area {
    padding: 0.75rem;
  }

  .carousel-image {
    height: 8rem !important;
  }

  .announcement-banner {
    padding: 0.5rem 0.75rem;
    margin: 0.75rem 0;
  }

  .announcement-icon {
    width: 1rem !important;
    height: 1rem !important;
  }

  .announcement-text {
    font-size: 0.75rem;
  }

  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }

  .section-title {
    font-size: 0.7rem;
  }

  .section-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }

  .section-arrow {
    width: 2rem;
    height: 1.75rem;
  }

  .arrow-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }

  .game-scroll-item {
    min-width: 8rem;
  }

  .game-scroll-image {
    height: 8rem !important;
  }

  .game-scroll.expanded .game-scroll-image {
    height: 6rem !important;
  }

  .game-scroll-image-container::before {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
  }

  .game-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  }

  .game-scroll.expanded {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: 0.75rem;
  }

  .game-scroll-image-container::before {
    padding: 0.25rem 0.5rem;
    font-size: 0.55rem;
  }

  .footer-partners {
    gap: 1rem;
    padding: 1rem 0;
  }

  .footer-partner {
    height: 1.25rem;
  }

  .footer-logo {
    height: 2rem;
  }
}

/* Very Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .sidebar {
    width: 3rem !important;
  }

  .nav-item,
  .submenu-item {
    padding: 0.5rem 0.125rem !important;
  }

  .nav-icon {
    width: 1.125rem !important;
    height: 1.125rem !important;
  }

  .main-content {
    margin-left: 3rem;
    width: calc(100% - 3rem);
  }

  .navbar {
    padding: 0.375rem 0.5rem;
  }

  .theme-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }

  .search-input {
    height: 1.875rem;
    font-size: 0.75rem;
  }

  .auth-btn {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.70rem !important;
  }

  .content-area {
    padding: 0.5rem;
  }

  .carousel-image {
    height: 6rem !important;
  }

  .category-nav {
    margin: 0.5rem 0;
  }

  .category-container {
    padding: 0.25rem;
  }

  .category-buttons {
    gap: 0.375rem;
    padding: 0.375rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    min-width: 4.5rem;
    border-radius: 0.5rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.7rem !important;
    height: 0.7rem !important;
  }
}

@media (min-width: 640px) {
  .carousel-image {
    height: 18rem;
  }

  .category-buttons {
    justify-content: center;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  }

  .game-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}

@media (min-width: 768px) {
  .carousel-image {
    height: 10rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }

  .game-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  }
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  }

  .game-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  }

  .carousel-image {
    height: 26rem;
  }
}

@media (min-width: 1280px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  }

  .game-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  }
}

/* Carousel Responsive Breakpoints - All Screen Sizes (Preserving Mobile) */

/* Small Laptop - 780px to 899px */
@media (min-width: 780px) and (max-width: 899px) {
  .carousel-image {
    height: 10rem;
  }

  .banner-carousel {
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
  }

  .carousel-dots {
    bottom: 0.75rem;
  }

  .carousel-dot {
    width: 0.875rem;
  }
}

/* Laptop - 900px to 1023px */
@media (min-width: 900px) and (max-width: 1023px) {
  .carousel-image {
    height: 13rem;
  }

  .banner-carousel {
    margin-bottom: 1.5rem;
    border-radius: 0.625rem;
  }

  .carousel-dots {
    bottom: 1rem;
  }

  .carousel-dot {
    width: 1rem;
  }
}

/* Large Laptop - 1024px to 1199px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .carousel-image {
    height: 14rem;
  }

  .banner-carousel {
    margin-bottom: 1.75rem;
    border-radius: 0.75rem;
  }

  .carousel-dots {
    bottom: 1.25rem;
  }

  .carousel-dot {
    width: 1.125rem;
  }
}

/* Desktop - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .carousel-image {
    height: 15rem;
  }

  .banner-carousel {
    margin-bottom: 2rem;
    border-radius: 0.875rem;
  }

  .carousel-dots {
    bottom: 1.5rem;
  }

  .carousel-dot {
    width: 1.25rem;
  }
}

/* Large Desktop - 1400px to 1599px */
@media (min-width: 1400px) and (max-width: 1599px) {
  .carousel-image {
    height: 100%;
  }

  .banner-carousel {
    margin-bottom: 2.25rem;
    border-radius: 1rem;
  }

  .carousel-dots {
    bottom: 1.75rem;
  }

  .carousel-dot {
    width: 1.375rem;
  }
}

/* Ultra Widescreen - 1600px to 1740px */
@media (min-width: 1600px) and (max-width: 1740px) {
  .carousel-image {
    height: 100%;
  }

  .banner-carousel {
    margin-bottom: 2.5rem;
    border-radius: 1.125rem;
  }

  .carousel-dots {
    bottom: 2rem;
  }

  .carousel-dot {
    width: 1.5rem;
  }
}

/* Ultra Ultra Widescreen - 1740px and above */
@media (min-width: 1741px) {
  .carousel-image {
    height: 100%;
  }

  .banner-carousel {
    margin-bottom: 3rem;
    border-radius: 1.25rem;
  }

  .carousel-dots {
    bottom: 2.25rem;
  }

  .carousel-dot {
    width: 1.625rem;
  }
}

/* Category Navigation Responsive - Apply Mobile Style to Small Screens */

/* Small Laptop - 780px to 899px (Mobile Style) */
@media (min-width: 780px) and (max-width: 899px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Laptop - 900px to 1023px (Mobile Style) */
@media (min-width: 900px) and (max-width: 1023px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Large Laptop - 1024px to 1199px (Mobile Style) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Desktop - 1200px to 1399px (Mobile Style) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Large Desktop - 1400px to 1599px (Mobile Style) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Ultra Widescreen - 1600px to 1740px (Mobile Style) */
@media (min-width: 1600px) and (max-width: 1740px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Ultra Ultra Widescreen - 1740px and above (Mobile Style) */
@media (min-width: 1741px) {
  .category-nav {
    margin: 0.75rem 0;
  }

  .category-container {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }

  .category-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    cursor: grab;
  }

  .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 5.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .category-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    flex-shrink: 0;
  }
}

/* Utility classes */
.hidden {
  display: none;
}

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

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-destructive {
  color: hsl(var(--destructive));
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.flex {
  display: flex;
}

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

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

.justify-center {
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border: 1px solid hsl(var(--border));
}

.shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Scrollbar styling */
.scrollbar-styled {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--muted-foreground)) transparent;
}

.scrollbar-styled::-webkit-scrollbar {
  width: 8px;
}

.scrollbar-styled::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-styled::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground));
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Welcome Modal Styles - Migrated from React */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.96) translateY(12px);
    opacity: 0;
  }

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

@keyframes modalSlideOut {
  from {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  to {
    transform: scale(0.96) translateY(12px);
    opacity: 0;
  }
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-wrapper {
  position: relative;
  width: calc(100% - 0.5rem);
  max-width: 60rem;
  margin: 5rem auto;
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-container {
  position: relative;
  width: 100%;
}

.modal-gradient-border {
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(90deg, #D4AF37 0%, #3b82f6 50%, #D4AF37 100%);
}

.modal-content {
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 80vh;
  overflow-y: auto;
}

/* Header Styles */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  height: 1.75rem;
  width: auto;
}

.header-text {
  display: none;
}

.welcome-text {
  font-size: 0.75rem;
  line-height: 1.2;
  color: hsl(var(--muted-foreground));
}

.tagline-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.modal-close-btn {
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: hsl(var(--muted) / 0.2);
  color: hsl(var(--foreground));
}

.close-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Main Content */
.modal-main {
  padding: 0.25rem 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}

.left-panel {
  order: 2;
}

.right-panel {
  order: 1;
}

/* Winners Section */
.winners-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.winners-header {
  border-radius: 0.75rem;
  background: linear-gradient(to right, var(--background), hsl(var(--background) / 0.6), var(--background));
  padding: 1.2rem;
  border: 1px solid hsl(var(--border) / 0.6);
}

.winners-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trophy-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #D4AF37;
}

.winners-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.winners-description {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Recent Wins Section */
.recent-wins-section {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.6);
  overflow: hidden;
}

.recent-wins-header {
  background: rgba(234, 179, 8, 0.1);
  padding: 0.375rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.megaphone-icon {
  width: 1rem;
  height: 1rem;
  color: #eab308;
}

.recent-wins-text {
  font-size: 0.75rem;
  color: hsl(var(--foreground));
}

.winners-list {
  max-height: 30vh;
  overflow-y: auto;
  border-top: 1px solid hsl(var(--border));
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.winners-list::-webkit-scrollbar {
  display: none;
  /* WebKit */
}

.winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
  transition: all 0.2s ease;
  cursor: pointer;
}

.winner-item:hover {
  background-color: hsl(var(--muted) / 0.1);
  transform: translateX(2px);
}

.winner-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #D4AF37, #b68a2e);
  color: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: bold;
  border: 1px solid rgba(212, 175, 55, 0.6);
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

.winner-item:hover .winner-avatar {
  transform: scale(1.05);
}

.winner-item:last-child {
  border-bottom: none;
}

.winner-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #D4AF37, #b68a2e);
  color: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid rgba(212, 175, 55, 0.6);
  margin-right: 0.75rem;
}

.winner-info {
  flex: 1;
  min-width: 0;
}

.winner-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-game {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-amount {
  font-size: 0.875rem;
  font-weight: bold;
  color: #D4AF37;
}

/* Action Section */
.action-section {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.regulatory-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.regulatory-logo {
  height: 2.25rem;
  width: auto;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #5ad5f4 0%, #0a2f4d 100%);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  flex: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3c7088 0%, #031c32 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: #D4AF37;
  border: 1px solid #D4AF37;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.15);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(212, 175, 55, 0.1);
}

/* Right Panel - Promo */
.promo-container {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.6);
  height: 100%;
  min-height: 200px;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(180, 83, 9, 0.4), rgba(234, 179, 8, 0.2), transparent);
}

.promo-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.modal-footer {
  padding: 0 1rem 0.75rem;
}

.disclaimer-text {
  font-size: 0.6875rem;
  line-height: 1.2;
  color: hsl(var(--muted-foreground));
}

/* Responsive Design */
@media (min-width: 640px) {
  .header-text {
    display: block;
  }

  .modal-main {
    padding: 0.5rem 1rem;
  }

  .winners-list {
    max-height: 12rem;
  }

  .action-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .action-buttons {
    flex: none;
  }
  .btn-dark,
  .btn-primary,
  .btn-outline {
    flex: none;
    width: auto;
  }
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .left-panel {
    order: 1;
  }

  .right-panel {
    order: 2;
  }

  .promo-container {
    min-height: 250px;
  }
}

@media (min-width: 1024px) {
  .promo-container {
    min-height: 280px;
  }
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

/* Theme Toggle Styles */
.theme-toggle-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.theme-toggle-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
  background: hsl(var(--muted));
  border-color: var(--gold);
  transform: scale(1.05);
}

.theme-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: all 0.3s ease;
}

.theme-icon.moon-icon {
  display: none;
}

.theme-toggle-btn.dark-mode .theme-icon.sun-icon {
  display: none;
}

.theme-toggle-btn.dark-mode .theme-icon.moon-icon {
  display: block;
}

/* Modal Theme Content */
.modal-theme-content {
  transition: all 0.3s ease;
}

.modal-theme-content.light-theme {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.modal-theme-content.dark-theme {
  background: hsl(var(--card));
}

/* Light theme specific styles */
.modal-theme-content.light-theme .modal-content {
  background: transparent;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.modal-theme-content.light-theme .modal-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.modal-theme-content.light-theme .modal-body {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Dark theme specific styles */
.modal-theme-content.dark-theme .modal-content {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-theme-content.dark-theme .modal-header {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.modal-theme-content.dark-theme .modal-body {
  background: hsl(var(--card));
}

/* Auth modal (Sign In) - match provided design */
#authModal .modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#authModal .modal-container {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

#authModal .modal-content {
  background-color: transparent;
  border: none;
  padding: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}

#authModal .modal-body {
  padding: 0;
}

#authModal .modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  z-index: 20;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 9999px;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#authModal .modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: #fbbf24;
}

/* Left panel: Logo/illustration */
#authModal .auth-left-panel {
  background: linear-gradient(135deg, #52575f 0%, #3d4349 50%, #2a2f35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 2rem;
  border-radius: 0.75rem 0 0 0.75rem;
  overflow: hidden;
  position: relative;
}

#authModal .auth-left-panel img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* Right panel: Dark form */
#authModal .auth-right-panel {
  background-color: #2d3039;
  padding: 2rem 2.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Force light mode override */
.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.light #authModal .auth-left-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
}

/* Force dark mode override */
.dark #authModal .auth-right-panel {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}

.dark #authModal .auth-left-panel {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%) !important;
}

#authModal .tabs-list {
  background: transparent;
  /* no rail bg */
  border: none;
  padding: 0;
  gap: 0.5rem;
}

#authModal .tab-trigger {
  color: #cbd5e1;
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 1rem;
}

#authModal .tab-trigger.active {
  background: transparent;
  /* no pill bg */
  color: #fbbf24;
  /* gold text */
  border-bottom-color: #fbbf24;
  /* gold underline */
}

/* Light mode tabs */
.light #authModal .tab-trigger {
  color: #6b7280 !important;
}

.light #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.light #authModal .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

/* Dark mode tabs */
.dark #authModal .tab-trigger {
  color: #94a3b8 !important;
}

.dark #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.dark #authModal .tab-trigger:hover:not(.active) {
  color: #cbd5e1 !important;
}

#authModal .form-input {
  background-color: #16181d;
  border: 1px solid #3f444c;
  color: #e5e7eb;
  height: 2.75rem;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}

#authModal .form-input::placeholder {
  color: #6b7280;
}

/* Light mode form inputs */
.light #authModal .form-input {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #000000 !important;
}

.light #authModal .form-input::placeholder {
  color: #6b7280 !important;
}

/* Dark mode form inputs */
.dark #authModal .form-input {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
}

.dark #authModal .form-input::placeholder {
  color: #6b7280 !important;
}

#authModal .form-input:focus {
  border-color: #5ad5f4;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.15);
}

#authModal .form-label {
  color: #d1d5db;
  font-weight: 400;
  font-size: 0.875rem;
}

/* Light mode labels */
.light #authModal .form-label {
  color: #000000 !important;
}

/* Dark mode labels */
.dark #authModal .form-label {
  color: #cbd5e1 !important;
}

#authModal .btn.primary {
  background-color: #d4a636;
  color: #0f1117;
  border: none;
  font-weight: 600;
  height: 5.75rem;
  border-radius: 0.5rem;
}

#authModal .btn.primary:hover {
  background-color: #f5c85e;
}

/* Password toggle button styling */
#authModal .password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#authModal .password-toggle-btn:hover {
  color: #fbbf24;
}

/* Eye icons */
#authModal .password-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* Error labels — absolutely positioned, won't push content */
#authModal .input-group + label.error,
#authModal .relative + label.error {
  position: absolute;
  left: 0;
  bottom: -1.1rem; /* moved slightly lower */
  font-size: 13px;
  color: #dc1111;
  margin: 0;
  line-height: 1.3;
  pointer-events: none;
  white-space: normal;
}

/* Override default jQuery validation label style */
#authModal label.error {
  display: block;
}

#authModal .eye-icon {
  width: 1rem;
  height: 1rem;
  transition: opacity 0.2s ease;
}

/* Enhanced modal design improvements */
#authModal .modal-container {
  max-width: 1000px;
  width: 100%;
  margin: 5rem auto;
  position: relative;
}

#authModal .auth-left-panel {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  max-height: 90vh;
  padding: 1rem 0.75rem;
  border-radius: 0.75rem 0 0 0.75rem;
  overflow: hidden;
  position: relative;
}

#authModal .auth-logo-image {
  max-width: 85%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

#authModal .auth-right-panel {
  background-color: #1e293b;
  /* Default dark mode */
  padding: 1rem 1rem;
  border-radius: 0 0.75rem 0.75rem 0;
  min-height: 600px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* Force light mode for auth modal right panel */
.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Light mode welcome text */
.light #authModal .auth-right-panel h3 {
  color: #fbbf24 !important;
}

.light #authModal .auth-right-panel .text-muted-foreground {
  color: #000000 !important;
}

/* Force dark mode for auth modal right panel */
.dark #authModal .auth-right-panel {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}

/* Light mode form elements */
.light #authModal .auth-right-panel .form-input {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #000000 !important;
}

.light #authModal .auth-right-panel .form-input::placeholder {
  color: #9ca3af !important;
}

.light #authModal .auth-right-panel .form-input:focus {
  border-color: #5ad5f4 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
}

.light #authModal .auth-right-panel .form-label {
  color: #000000 !important;
}

.light #authModal .auth-right-panel .tab-trigger {
  color: #6b7280 !important;
}

.light #authModal .auth-right-panel .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.light #authModal .auth-right-panel .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

.light #authModal .auth-right-panel .flex.items-center.gap-2 span {
  color: #000000 !important;
}

.light #authModal .auth-right-panel .text-sm {
  color: #6b7280 !important;
}

.light #authModal .auth-right-panel .flex.items-center.justify-between {
  color: #000000 !important;
}

/* Dark mode form elements */
.dark #authModal .auth-right-panel .form-input {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
}

.dark #authModal .auth-right-panel .form-label {
  color: #cbd5e1 !important;
}

.dark #authModal .auth-right-panel .tab-trigger {
  color: #94a3b8 !important;
}

.dark #authModal .auth-right-panel .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.dark #authModal .auth-right-panel .tab-trigger:hover:not(.active) {
  color: #cbd5e1 !important;
}

.dark #authModal .auth-right-panel .flex.items-center.gap-2 span {
  color: #cbd5e1 !important;
}

.dark #authModal .auth-right-panel .text-sm {
  color: #94a3b8 !important;
}

.dark #authModal .auth-right-panel .flex.items-center.justify-between {
  color: #cbd5e1 !important;
}

#authModal .auth-right-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
  border-radius: 0 0.75rem 0.75rem 0;
  pointer-events: none;
}

/* Override the ::before pseudo-element for light mode */
.light #authModal .auth-right-panel::before {
  background: transparent !important;
}

/* Override the ::before pseudo-element for dark mode */
.dark #authModal .auth-right-panel::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
}

#authModal .auth-right-panel>* {
  position: relative;
  z-index: 1;
}

/* Enhanced form styling */
#authModal .form-input {
  background-color: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  height: 2rem;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

#authModal .form-input:focus {
  border-color: #5ad5f4;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
  background-color: #1e293b;
}

#authModal .form-label {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 0.125rem;
}

/* Remove gaps between form elements */
#authModal .form-row {
  /*margin-bottom: 0;*/
  position: relative;
  margin-bottom: 2.5rem;
}

/* Anchor input group for absolute positioning */
#authModal .input-group,
#authModal .relative {
  position: relative;
}

#authModal .space-y-0>*+* {
  margin-top: 0;
}

#authModal .grid.gap-1 {
  gap: 0.25rem;
}

/* Enhanced button styling */
#authModal .btn.primary {
  background: linear-gradient(135deg, #3c7088 0%, #031c32 100%);
  color: #0f172a;
  border: none;
  font-weight: 600;
  height: 2rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(251, 191, 36, 0.3);
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

/* Remember me and forgot password spacing */
#authModal .flex.items-center.justify-between {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#authModal .flex.items-center.gap-2 {
  gap: 0.5rem;
}

#authModal .flex.items-center.gap-2 input[type="checkbox"] {
  margin: 0;
}

#authModal .flex.items-center.gap-2 span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

#authModal .text-sm {
  font-size: 0.8rem;
}

#authModal .btn.primary:hover {
  background: linear-gradient(135deg, #3c7088 0%, #031c32 100%);
  box-shadow: 0 6px 20px 0 rgba(3, 28, 50, 0.31);
  transform: translateY(-1px);
}

/* Enhanced tabs styling */
#authModal .tabs-list {
  background: transparent;
  border: none;
  padding: 0;
  gap: 0;
  margin-bottom: 0.75rem;
}

#authModal .tab-trigger {
  color: #94a3b8;
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

#authModal .tab-trigger.active {
  background: transparent;
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

#authModal .tab-trigger:hover:not(.active) {
  color: #cbd5e1;
}

/* Enhanced checkbox styling */
#authModal input[type="checkbox"] {
  accent-color: #fbbf24;
  width: 1rem;
  height: 1rem;
}

/* Enhanced links */
#authModal a {
  color: #fbbf24;
  text-decoration: none;
  transition: color 0.2s ease;
}

#authModal a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

/* Light mode support for auth modal */
.light #authModal .auth-left-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
}

.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
}

.light #authModal .auth-right-panel::before {
  background: transparent !important;
}

.light #authModal .auth-logo-image {
  filter: none !important;
  opacity: 1 !important;
}

.light #authModal .form-input {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #000000 !important;
}

.light #authModal .form-input:focus {
  background-color: #ffffff !important;
  border-color: #5ad5f4 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.light #authModal .form-input::placeholder {
  color: #6b7280 !important;
}

.light #authModal .form-label {
  color: #000000 !important;
  font-weight: 500;
}

.light #authModal .tab-trigger {
  color: #6b7280 !important;
  background: transparent !important;
}

.light #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
  background: transparent !important;
}

.light #authModal .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

.light #authModal .password-toggle-btn {
  color: #6b7280;
}

.light #authModal .password-toggle-btn:hover {
  color: #fbbf24;
}

.light #authModal .btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #111827;
  border: none;
}

.light #authModal .btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.light #authModal .modal-close {
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.light #authModal .modal-close:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #fbbf24;
}

.light #authModal .btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
}

.light #authModal .btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.light #authModal input[type="checkbox"] {
  accent-color: #fbbf24;
}

.light #authModal a {
  color: #fbbf24;
}

.light #authModal a:hover {
  color: #f59e0b;
}

.light #authModal .text-muted-foreground {
  color: #6b7280;
}

.light #authModal .text-yellow-400 {
  color: #fbbf24;
}

/* Light mode for remember me and forgot password */
.light #authModal .flex.items-center.gap-2 span {
  color: #000000 !important;
}

.light #authModal .text-sm {
  color: #6b7280 !important;
}

.light #authModal .text-sm:hover {
  color: #fbbf24 !important;
}

.light #authModal .flex.items-center.justify-between {
  color: #000000 !important;
}

/* Dark mode text elements */
.dark #authModal .flex.items-center.gap-2 span {
  color: #cbd5e1 !important;
}

.dark #authModal .text-sm {
  color: #94a3b8 !important;
}

.dark #authModal .text-sm:hover {
  color: #fbbf24 !important;
}

.dark #authModal .flex.items-center.justify-between {
  color: #cbd5e1 !important;
}

.light #authModal input[type="checkbox"] {
  accent-color: #fbbf24;
}

.light #authModal a {
  color: #fbbf24;
}

.light #authModal a:hover {
  color: #f59e0b;
}

/* Dark mode for remember me and forgot password */
.dark #authModal .flex.items-center.gap-2 span {
  color: #cbd5e1;
}

.dark #authModal .text-sm {
  color: #94a3b8;
}

.dark #authModal .text-sm:hover {
  color: #fbbf24;
}

.dark #authModal .flex.items-center.justify-between {
  color: #cbd5e1;
}

/* Comprehensive dark mode support for auth modal */
.dark #authModal .auth-left-panel {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%) !important;
}

.dark #authModal .auth-right-panel {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
}

.dark #authModal .auth-right-panel::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
}

.dark #authModal .form-input {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
}

.dark #authModal .form-input:focus {
  background-color: #1e293b !important;
  border-color: #5ad5f4 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
}

.dark #authModal .form-input::placeholder {
  color: #6b7280 !important;
}

.dark #authModal .form-label {
  color: #cbd5e1 !important;
}

.dark #authModal .tab-trigger {
  color: #94a3b8 !important;
}

.dark #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.dark #authModal .tab-trigger:hover:not(.active) {
  color: #cbd5e1 !important;
}

.dark #authModal .password-toggle-btn {
  color: #6b7280;
}

.dark #authModal .password-toggle-btn:hover {
  color: #fbbf24;
}

.dark #authModal .modal-close {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark #authModal .modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: #fbbf24;
}

.dark #authModal .btn.primary {
  background: linear-gradient(135deg, #5ad5f4 0%, #0a2f4d 100%);
  color: #ffffff;
}

.dark #authModal .btn.primary:hover {
  background: linear-gradient(135deg, #3c7088 0%, #031c32 100%);
}

.dark #authModal input[type="checkbox"] {
  accent-color: #fbbf24;
}

.dark #authModal a {
  color: #fbbf24;
}

.dark #authModal a:hover {
  color: #f59e0b;
}

.dark #authModal .text-muted-foreground {
  color: #94a3b8;
}

.dark #authModal .text-yellow-400 {
  color: #fbbf24;
}

/* Tailwind-to-CSS fallbacks used in AuthDialog markup */
#authModal .grid {
  display: grid;
}

#authModal .grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  #authModal .md\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

#authModal .gap-6 {
  gap: 0;
}

#authModal .gap-2 {
  gap: 0.5rem;
}

#authModal .gap-1 {
  gap: 0.25rem;
}

#authModal .gap-3 {
  gap: 0.75rem;
}

#authModal .inline-flex {
  display: inline-flex;
}

#authModal .space-y-3>*+* {
  margin-top: 0.75rem;
}

/* Visibility helpers */
#authModal .hidden {
  display: none;
}

@media (min-width: 768px) {
  #authModal .md\:block {
    display: block;
  }
}

/* Color/token helpers */
#authModal .bg-card {
  background-color: hsl(var(--card));
}

#authModal .bg-background {
  background-color: var(--background);
}

#authModal .bg-muted {
  background-color: hsl(var(--muted));
}

#authModal .bg-muted\/30 {
  background-color: hsl(var(--muted) / 0.3);
}

#authModal .bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}

#authModal .text-foreground {
  color: hsl(var(--foreground));
}

#authModal .text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

#authModal .text-yellow-400 {
  color: #fbbf24;
}

#authModal .border-border {
  border-color: hsl(var(--border));
}

#authModal .text-primary {
  color: hsl(var(--primary));
}

#authModal .hover\:underline:hover {
  text-decoration: underline;
}

/* Sizing helpers used for brand tiles */
#authModal .h-20 {
  height: 5rem;
}

#authModal .w-20 {
  width: 5rem;
}

@media (min-width: 768px) {
  #authModal .md\:h-24 {
    height: 6rem;
  }

  #authModal .md\:w-24 {
    width: 6rem;
  }
}

/* Paddings used */
#authModal .p-2 {
  padding: 0.5rem;
}

#authModal .p-4 {
  padding: 1rem;
}

#authModal .mb-4 {
  margin-bottom: 1rem;
}

/* Rounded & borders */
#authModal .rounded-md {
  border-radius: 0.375rem;
}

#authModal .rounded-lg {
  border-radius: 0.5rem;
}

#authModal .border {
  border: 1px solid hsl(var(--border));
}

/* Grid helpers for register form */
@media (min-width: 640px) {
  #authModal .sm\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Relative positioning for eye icon */
#authModal .relative {
  position: relative;
}

#authModal .absolute {
  position: absolute;
}

#authModal .right-2 {
  right: 0.5rem;
}

#authModal .top-1\/2 {
  top: 50%;
}

#authModal .-translate-y-1\/2 {
  transform: translateY(-50%);
}

#authModal .pr-9 {
  padding-right: 2.25rem;
}

#authModal .h-4 {
  height: 1rem;
}

#authModal .w-4 {
  width: 1rem;
}

#authModal .h-5 {
  height: 1.25rem;
}

#authModal .w-5 {
  width: 1.25rem;
}

#authModal .object-contain {
  object-fit: contain;
}

#authModal .text-center {
  text-align: center;
}

#authModal .font-semibold {
  font-weight: 600;
}

#authModal .mt-2 {
  margin-top: 0.5rem;
}

#authModal .w-auto {
  width: auto;
}

/* User Dropdown Menu (after login) */
.user-dropdown {
  position: relative;
  display: block; /* Temporarily visible for testing */
  /* shown when logged in */
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  /*border: none;*/
  border-color: darkgray;
  background: hsl(var(--muted) / 0.15);
  color: hsl(var(--foreground));
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.user-dropdown-btn:hover {
  background: hsl(var(--muted) / 0.25);
}

.user-dropdown-btn:active {
  transform: scale(0.97);
}

.user-dropdown-btn:focus {
  outline: 2px solid hsl(var(--primary) / 0.4);
  outline-offset: 2px;
}

.user-dropdown-btn img.avatar_new {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary));
  object-fit: cover;
}

.avatar_new {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #facc15;
  object-fit: cover;
}

.user-info_new {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.light .username_new {
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
}

.dark .username_new {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.status_new {
  font-size: 0.8rem;
  color: #4ade80;
}

.user-chevron-down {
  width: 16px;
  height: 16px;
  stroke: hsl(var(--foreground));
  transition: transform 0.3s ease;
}
.user-dropdown.active .user-chevron-down {
  transform: rotate(180deg);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .user-dropdown-btn {
    padding: 0.3rem 0.5rem;
    gap: 0.4rem;
  }
  .user-dropdown-btn img.avatar_new {
    width: 32px;
    height: 32px;
    border-width: 1.5px;
  }
  .user-info_new {
    display: none; /* hide username and status on mobile */
  }
  .user-dropdown-menu {
    right: 0.2rem;
    top: calc(100% + 0.3rem);
    min-width: 150px;
    font-size: 0.85rem;
  }
  .dropdown-menu-item {
    padding: 0.45rem 0.7rem;
  }
  .dropdown-menu-item:hover {
    padding-left: 0.85rem;
  }
}

@media (max-width: 480px) {
  .user-dropdown-btn img.avatar_new {
    width: 28px;
    height: 28px;
  }
  .user-chevron-down {
    width: 14px;
    height: 14px;
  }
  .user-dropdown-menu {
    min-width: 140px;
  }
}

.user-avatar-circle {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111827;
  font-size: 0.875rem;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.user-info-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.user-name-inline {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.user-status-inline {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.user-chevron-down {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  color: hsl(var(--foreground));
  transition: transform 0.2s ease;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: hsl(var(--popover));
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  min-width: 12rem;
  z-index: 50;
  display: none;
}

.user-dropdown-menu.show {
  display: block;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-menu-item:hover {
  background-color: hsl(var(--muted));
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

/* User dropdown responsive styles */
/*
@media (max-width: 768px) {
  .user-dropdown-menu {
    right: -1rem;
    min-width: 10rem;
  }

  .user-info-inline {
    display: none;
  }

  .user-dropdown-btn {
    padding: 0.5rem;
  }
}*/

.avatar-cartoon {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cartoon-face {
  width: 45px;
  height: 45px;
  background: #fdbcb4;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cartoon-hair {
  position: absolute;
  top: -6px;
  left: -4px;
  width: 53px;
  height: 26px;
  background: #8b4513;
  border-radius: 50% 50% 40% 40%;
  z-index: 1;
}

.cartoon-eyes {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
  margin-top: -4px;
}

.eye {
  width: 6px;
  height: 6px;
  background: #2c3e50;
  border-radius: 50%;
  position: relative;
}

.eye::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 2px;
  height: 2px;
  background: #ffffff;
  border-radius: 50%;
}

.cartoon-nose {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: #e8a87c;
  border-radius: 50%;
  z-index: 2;
}

.cartoon-mouth {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 4px;
  background: #e74c3c;
  border-radius: 0 0 9px 9px;
  z-index: 2;
}

.cartoon-cheeks {
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  z-index: 2;
}

.cheek {
  position: absolute;
  width: 6px;
  height: 4px;
  background: #ffb3ba;
  border-radius: 50%;
}

.cheek.left {
  left: 4px;
}

.cheek.right {
  right: 4px;
}

.avatar-edit-overlay {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-edit-overlay:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.edit-icon {
  width: 10px;
  height: 10px;
  color: #ffffff;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-details {
  position: relative;
  z-index: 1;
  flex: 1;
}

.username {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.light .username {
  color: #1f2937;
}

.dark .username {
  color: #ffffff;
}

.user-id {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.light .user-id {
  color: #6b7280;
}

.dark .user-id {
  color: #9ca3af;
}

.balance-section {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.balance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.balance-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.balance-refresh-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.balance-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(180deg);
}

.balance-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.balance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.balance-item .balance-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.balance-item .balance-amount {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.balance-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 0.75rem;
}

.balance-actions {
  display: flex;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.balance-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.withdraw-btn {
  background: #f59e0b;
  color: #ffffff;
}

.withdraw-btn:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.deposit-btn {
  background: #ffffff;
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.deposit-btn:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.modal-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem;
  overflow-y: auto;
}

.modal-content {
  width: calc(100% - 0.1rem);
  max-width: 90rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: hsl(var(--muted) / 0.2);
  color: hsl(var(--foreground));
}

.modal-body {
  padding: 1.5rem;
  background: hsl(var(--card));
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: hsl(var(--popover));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  min-width: 10rem;
  padding: 0.25rem;
}

/* Language dropdown visibility */
.language-selector .language-dropdown {
  display: none;
}

.language-selector .language-dropdown.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background-color: hsl(var(--muted));
}

.dropdown-separator {
  height: 1px;
  background-color: hsl(var(--border));
  margin: 0.25rem 0;
}

/* Switch styles */
.switch {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--muted));
  transition: 0.2s;
  border-radius: 1.5rem;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 1.25rem;
  width: 1.25rem;
  left: 0.125rem;
  bottom: 0.125rem;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked+.switch-slider {
  background-color: hsl(var(--primary));
}

.switch input:checked+.switch-slider:before {
  transform: translateX(1.25rem);
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.badge.default {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.badge.success {
  background-color: #10b981;
  color: white;
}

.badge.warning {
  background-color: #fef3c7;
  color: black;
}

.badge.destructive {
  background-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

/* Avatar styles */
.avatar {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Focus styles */
.focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Print styles */
@media print {

  .sidebar,
  .navbar,
  .modal-overlay,
  .dropdown-content {
    display: none !important;
  }

  .main-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.light .modal-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.modal-container {
  background: hsl(var(--card));
  border-radius: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid hsl(var(--border) / 0.2);
}

.light .modal-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.modal-content {
   padding: 0.5rem;
}

.modal-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 1.5rem 1.5rem 1rem 1.5rem;
   border-bottom: 1px solid hsl(var(--border) / 0.1);
   background: hsl(var(--card));
}

.light .modal-header {
   background: #ffffff;
   border-bottom: 1px solid #e5e7eb;
}

.modal-title {
   font-size: 1.5rem;
   font-weight: 700;
   color: hsl(var(--foreground));
   margin: 0;
   display: flex;
   align-items: center;
   gap: 0.75rem;
}

.light .modal-title {
   color: #111827;
}

.modal-close {
   background: none;
   border: none;
   color: hsl(var(--muted-foreground));
   cursor: pointer;
   padding: 0.5rem;
   border-radius: 0.5rem;
   transition: all 0.2s;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 2rem;
   height: 2rem;
}

.light .modal-close {
   color: #6b7280;
}

.light .modal-close:hover {
   background: #f3f4f6;
   color: #374151;
}

.modal-close:hover {
   background: hsl(var(--muted) / 0.5);
   color: hsl(var(--foreground));
}

.modal-body {
   color: hsl(var(--foreground));
}

.light .modal-body {
   color: #111827;
}

/* Tab styles */
.tabs-container {
   width: 100%;
}

.tabs-list {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 0.5rem;
   margin-bottom: 1rem;
   background: hsl(var(--muted));
   padding: 0.25rem;
   border-radius: 0.5rem;
}

.tab-trigger {
   background: none;
   border: none;
   padding: 0.5rem 1rem;
   border-radius: 0.375rem;
   font-weight: 600;
   color: hsl(var(--muted-foreground));
   cursor: pointer;
   transition: all 0.2s;
}

.tab-trigger.active {
   background: var(--background);
   color: hsl(var(--foreground));
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
   display: block;
}

/* Form styles */
.form-row {
   position: relative;
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
   margin-bottom: 2.25rem; /* space for error text */
}

.form-label {
   font-size: 0.875rem;
   font-weight: 500;
   color: hsl(var(--foreground));
}

.form-input {
   width: 100%;
   height: 40px;
   padding:10px 12px;
   border: 2px solid hsl(var(--border));
   border-radius: 0.5rem;
   background:linear-gradient(180deg, #0f172a, #1b2642);
   color: hsl(var(--foreground));
   font-size: 0.875rem;
   font-weight: 500;
   transition:box-shadow .15s ease, border-color .15s ease;
}

.form-input:focus {
   outline: none;
   border-color: hsl(var(--primary));
   box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
   background: var(--background);
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}

/* Payment method buttons */
.payment-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  min-height: 4.5rem;
  justify-content: center;
  font-weight: 500;
}

.payment-method-btn:hover {
  background: hsl(var(--muted) / 0.5);
  border-color: hsl(var(--primary) / 0.5);
}

.payment-method-btn.active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Amount buttons */
.amount-btn {
  padding: 0.75rem 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 4rem;
}

.amount-btn:hover {
  background: hsl(var(--muted) / 0.5);
  border-color: hsl(var(--primary) / 0.5);
}

.amount-btn.active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Hero Banner Styles */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 1rem;
  margin: 1rem;
  padding: 2rem;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-fishing {
  color: #fbbf24;
  display: block;
  position: relative;
}

.hero-rule {
  color: #fbbf24;
  display: block;
  margin-top: 0.5rem;
}

.hero-hook {
  position: absolute;
  top: 0;
  right: -2rem;
  font-size: 4rem;
  color: #fbbf24;
  transform: rotate(15deg);
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-character {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pirate-shark {
  position: relative;
  width: 200px;
  height: 200px;
}

.shark-body {
  width: 120px;
  height: 80px;
  background: #3b82f6;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.shark-crown {
  width: 40px;
  height: 30px;
  background: #fbbf24;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shark-crown::after {
  content: '☠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: #1f2937;
}

.shark-cannon {
  width: 60px;
  height: 20px;
  background: #6b7280;
  position: absolute;
  bottom: 30%;
  right: -20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-cards {
  position: absolute;
  top: 10%;
  left: -30px;
}

.card {
  width: 30px;
  height: 40px;
  background: white;
  border: 2px solid #1f2937;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

.card:nth-child(2) {
  animation-delay: 1s;
}

.floating-chips {
  position: absolute;
  top: 60%;
  right: -40px;
}

.chip {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #fbbf24;
  margin-bottom: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: float 2.5s ease-in-out infinite;
}

.chip.red {
  background: #dc2626;
}

.chip:nth-child(2) {
  animation-delay: 1.5s;
}

.floating-dice {
  position: absolute;
  bottom: 20%;
  left: -20px;
}

.dice {
  width: 25px;
  height: 25px;
  background: white;
  border: 2px solid #1f2937;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #1f2937;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: float 2s ease-in-out infinite;
}

.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: bubble-float 4s ease-in-out infinite;
}

.bubble:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  top: 60%;
  left: 70%;
  animation-delay: 1.5s;
}

.bubble:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 3s;
}

.banner-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.indicator {
  width: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #fbbf24;
  width: 20px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bubble-float {
  0% {
    transform: translateY(0px) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Navbar Styles */
.navbar {
  background: var(--background);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.5rem 0.75rem 0.5rem 0.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  gap: 1rem;
}

.navbar-left {
  display: flex;
  gap: 0.75rem;
}

.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 640px;
  margin: 0 2rem;
}

.navbar-right {
  display: flex;
  align-items: center;
}

/* Right group sizing */
.navbar-right .search-container {
  width: min(42vw, 400px);
  max-width: 400px;
  margin-right: 0.75rem;
}

/* Force navbar to a single row */
.navbar-content {
  flex-wrap: nowrap;
}

.navbar-left,
.navbar-right {
  width: auto;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  position: relative;
}

.language-btn {
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.375rem 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.language-btn:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--border));
}

.language-text {
  font-size: 0.8125rem;
  line-height: 1;
}

.language-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: #e5e7eb;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--foreground));
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.25rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #374151;
  transition: 0.3s;
  border-radius: 1.5rem;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 0.95rem;
  width: 0.95rem;
  left: 0.15rem;
  bottom: 0.15rem;
  background-color: #9ca3af;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked+.switch-slider {
  background-color: #fbbf24;
}

input:checked+.switch-slider:before {
  transform: translateX(1.5rem);
  background-color: #0b0b0b;
}

/* Search Container */
.search-container {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  height: 2.125rem;
  padding: 0 0.75rem 0 2.1rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.search-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quick-action-btn {
  background:hsl(var(--muted-qb));
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.quick-action-btn:hover {
  background: linear-gradient(to right, #5ad5f4, #3c7088, #5ad5f4) !important;
  color: hsl(var(--foreground));
}

.quick-action-icon {
  width: 1rem;
  height: 1rem;
}

/* Auth Button */
.auth-buttons {
  display: flex;
  align-items: center;
}

.auth-btn {
  background: linear-gradient(to right, #5ad5f4, #3c7088, #031c32);
  color: #ffffff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.585rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.auth-btn:hover {
  background: #34677c;
}

.auth-btn.primary {
  background: #417791;
}

.auth-btn.primary:hover {
  background: #34677c;
}

/* Responsive modal adjustments */
@media (max-width: 640px) {
  .modal-container {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
  }

  .modal-content {
    padding: 1rem;
  }

  .tabs-list {
    grid-template-columns: 1fr 1fr;
  }

  .payment-method-btn {
    font-size: 0.75rem;
    padding: 0.375rem;
  }

  .amount-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }

  /* Auth Modal Mobile Responsive */
  #authModal .modal-container {
    max-width: calc(100vw - 1rem);
    margin: 1rem auto;
  }

  #authModal .grid {
    grid-template-columns: 1fr !important;
  }

  #authModal .auth-left-panel {
    display: none !important;
  }

  #authModal .auth-right-panel {
    width: 100% !important;
    padding: 1rem !important;
  }

  #authModal .auth-logo-image {
    display: none !important;
  }

  #authModal .modal-close {
    top: 0.5rem !important;
    right: 0.5rem !important;
  }

  #authModal .tabs-list {
    margin-bottom: 1rem;
  }

  #authModal .form-row {
    margin-bottom: 0.5rem;
  }

  #authModal .btn.primary {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  /* Mobile registration form - 2 columns for better space usage */
  #authModal .sm\:grid-cols-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  #authModal .form-row {
    margin-bottom: 0.5rem !important;
  }

  #authModal .form-input {
    height: 1.75rem !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  #authModal .form-label {
    font-size: 0.75rem !important;
    margin-bottom: 0.125rem !important;
  }

  #authModal .btn.primary {
    margin-top: 0.5rem !important;
    height: 1.75rem !important;
    font-size: 0.75rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  /* Ensure registration form fields are properly sized for mobile */
  #authModal .grid.gap-1 {
    gap: 0.5rem !important;
  }

  #authModal .space-y-3>*+* {
    margin-top: 0.5rem !important;
  }

  /* Make sure the form container doesn't overflow */
  #authModal .auth-right-panel {
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

  /* Optimize checkbox and link spacing */
  #authModal .flex.items-center.gap-2 {
    gap: 0.25rem !important;
  }

  #authModal .text-sm {
    font-size: 0.7rem !important;
  }
}

/* Extra small mobile screens - further optimize registration form */
@media (max-width: 480px) {
  #authModal .modal-container {
    max-width: calc(100vw - 0.5rem) !important;
    margin: 6rem auto !important;
  }

  #authModal .auth-right-panel {
    padding: 0.75rem !important;
    max-height: 95vh !important;
  }

  #authModal .form-input {
    height: 1.5rem !important;
    font-size: 0.7rem !important;
    padding: 1rem 1rem !important;
  }

  #authModal .form-label {
    font-size: 0.7rem !important;
    margin-bottom: 0.1rem !important;
  }

  #authModal .btn.primary {
    height: 1.5rem !important;
    font-size: 0.9rem !important;
    padding: 0.4rem 0.6rem !important;
    margin-top: 0.4rem !important;
  }

  #authModal .tabs-list {
    margin-bottom: 0.75rem !important;
  }

  #authModal .grid.gap-1 {
    gap: 0.4rem !important;
  }

  #authModal .space-y-3>*+* {
    margin-top: 0.4rem !important;
  }

  #authModal .text-sm {
    font-size: 0.65rem !important;
  }

  #authModal .flex.items-center.gap-2 {
    gap: 0.2rem !important;
  }
}

/* Search Icon Button for Mobile */
.search-icon-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
  margin-right: 0.5rem;
}

/* Show search icon on mobile */
@media (max-width: 768px) {
  .search-icon-btn {
    display: flex !important;
  }

  .search-icon-btn .search-icon {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
  }
}

.search-icon-btn:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.search-icon-btn .search-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Search icon button as quick action */
.quick-actions .search-icon-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
  margin: 0;
  align-items: center;
  justify-content: center;
}

/* Show search icon on mobile */
@media (max-width: 768px) {
  .quick-actions .search-icon-btn {
    display: flex !important;
  }
}

/* Enhanced mobile search icon styling */
@media (max-width: 768px) {
  .quick-actions .search-icon-btn {
    display: flex !important;
    background: none !important;
    border: none !important;
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    color: hsl(var(--muted-foreground)) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    margin-left: 0.75rem !important;
    margin-right: 0.25rem !important;
    align-items: center !important;
    justify-content: center !important;
    order: 1 !important;
  }

  .quick-actions .search-icon-btn:hover {
    background-color: hsl(var(--accent)) !important;
    color: hsl(var(--foreground)) !important;
  }

  .quick-actions .search-icon-btn .search-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  /* Ensure deposit button comes after search icon */
  .quick-actions .quick-action-btn[data-action="deposit"] {
    order: 2 !important;
  }

  /* Ensure withdraw button comes last */
  .quick-actions .quick-action-btn[data-action="withdraw"] {
    order: 3 !important;
  }
}

.quick-actions .search-icon-btn:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.quick-actions .search-icon-btn .search-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Search Modal Styles */
#searchModal .modal-container {
  max-width: 500px;
  width: 90vw;
}

.search-modal-content {
  padding: 1rem 0;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-input-container .search-input {
  flex: 1;
  height: 2.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background-color: var(--background);
  color: hsl(var(--foreground));
  font-size: 1rem;
}

.search-input-container .search-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.search-submit-btn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-1px);
}

.search-submit-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.search-suggestions {
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: hsl(var(--muted) / 0.3);
}

.search-suggestion-item {
  padding: 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.search-suggestion-item:hover {
  background-color: hsl(var(--accent));
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.search-suggestion-category {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Mobile Responsive Search Modal */
@media (max-width: 768px) {
  #searchModal .modal-container {
    max-width: 95vw !important;
    width: 95vw !important;
    margin: 1rem auto !important;
    max-height: 85vh !important;
    min-height: 60vh !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border: none;
    background: none;
  }

  #searchModal .modal-content {
    padding: 0.75rem !important;
  }

  #searchModal .modal-header {
    padding: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  #searchModal .modal-title {
    font-size: 1.125rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  #searchModal .modal-title .search-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  #searchModal .modal-close {
    padding: 0.5rem !important;
    width: 2rem !important;
    height: 2rem !important;
  }

  .search-modal-content {
    padding: 0.5rem 0 !important;
  }

  .search-input-container {
    flex-direction: row !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .search-input-container .search-input {
    flex: 1 !important;
    height: 3rem !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 0.5rem !important;
  }

  .search-submit-btn {
    width: auto !important;
    min-width: 3rem !important;
    padding: 0.875rem !important;
    font-size: 1rem !important;
    border-radius: 0.5rem !important;
    height: 3rem !important;
  }

  .search-submit-btn svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  .search-suggestions {
    max-height: 400px !important;
    min-height: 200px !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem !important;
  }

  .search-suggestion-item {
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .search-suggestion-title {
    font-size: 1rem !important;
    margin-bottom: 0.375rem !important;
  }

  .search-suggestion-category {
    font-size: 0.875rem !important;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  #searchModal .modal-container {
    max-width: 98vw !important;
    width: 98vw !important;
    margin: 0.5rem auto !important;
    max-height: 90vh !important;
    min-height: 90vh !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  #searchModal .modal-content {
    padding: 0.5rem !important;
    height: 60vh !important;
  }

  #searchModal .modal-header {
    padding: 0.5rem !important;
    margin-bottom: 0.25rem !important;
  }

  #searchModal .modal-title {
    font-size: 1rem !important;
  }

  .search-input-container .search-input {
    height: 2.75rem !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
  }

  .search-submit-btn {
    height: 2.75rem !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
  }

  .search-suggestions {
    max-height: 500px !important;
    min-height: 350px !important;
    padding: 0.5rem !important;
  }

  .search-suggestion-item {
    padding: 0.75rem !important;
  }

  .search-suggestion-title {
    font-size: 0.875rem !important;
  }

  .search-suggestion-category {
    font-size: 0.75rem !important;
  }
}

/* Mobile responsive search */
@media (max-width: 768px) {
  .search-container {
    display: none !important;
  }

  .quick-actions .search-icon-btn {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .quick-actions .search-icon-btn {
    display: none !important;
  }
  .search-container {
    display: flex !important;
  }
}

/* Navbar Responsive Breakpoints - 1740px down to 780px */

/* Ultra Widescreen - 1600px to 1740px */
@media (min-width: 1600px) and (max-width: 1740px) {
  .navbar {
    padding: 0.75rem 1.5rem;
  }

  .navbar-content {
    gap: 1.5rem;
  }

  .navbar-left {
    gap: 1.25rem;
  }

  .navbar-right {
    gap: 1.25rem;
  }

  .search-container {
    width: min(45vw, 600px);
    max-width: 600px;
  }

  .search-input {
    height: 2.75rem;
    font-size: 1rem;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
  }

  .quick-actions {
    gap: 1.25rem;
  }

  .quick-action-btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .language-selector {
    padding: 0.75rem 1rem;
  }

  .theme-toggle {
    padding: 0.75rem;
  }
}

/* Large Desktop - 1400px to 1599px */
@media (min-width: 1400px) and (max-width: 1599px) {
  .navbar {
    padding: 0.625rem 1.25rem;
  }

  .navbar-content {
    gap: 1.25rem;
  }

  .navbar-left {
    gap: 1rem;
  }

  .navbar-right {
    gap: 1rem;
  }

  .search-container {
    width: min(42vw, 550px);
    max-width: 550px;
  }

  .search-input {
    height: 2.5rem;
    font-size: 0.95rem;
    padding: 0.625rem 0.875rem 0.625rem 2.25rem;
  }

  .quick-actions {
    gap: 1rem;
  }

  .quick-action-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }

  .language-selector {
    padding: 0.625rem 0.875rem;
  }

  .theme-toggle {
    padding: 0.625rem;
  }
}

/* Desktop - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar-content {
    gap: 1rem;
  }

  .navbar-left {
    gap: 0.875rem;
  }

  .navbar-right {
    gap: 0.875rem;
  }

  .search-container {
    width: min(35vw, 420px);
    max-width: 420px;
  }

  .search-input {
    height: 2.25rem;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
  }

  .quick-actions {
    gap: 0.875rem;
  }

  .quick-action-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .language-selector {
    padding: 0.5rem 0.75rem;
  }

  .theme-toggle {
    padding: 0.5rem;
  }
}

/* Large Laptop - 1024px to 1199px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .navbar {
    padding: 0.5rem 0.875rem;
  }

  .navbar-content {
    gap: 0.875rem;
  }

  .navbar-left {
    gap: 0.75rem;
  }

  .navbar-right {
    gap: 0.75rem;
  }

  .search-container {
    width: min(32vw, 380px);
    max-width: 380px;
  }

  .search-input {
    height: 2rem;
    font-size: 0.875rem;
    padding: 0.5rem 0.625rem 0.5rem 1.75rem;
  }

  .quick-actions {
    gap: 0.75rem;
  }

  .quick-action-btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.8rem;
  }

  .language-selector {
    padding: 0.5rem 0.625rem;
  }

  .theme-toggle {
    padding: 0.5rem;
  }
}

/* Laptop - 900px to 1023px */
@media (min-width: 900px) and (max-width: 1023px) {
  .navbar {
    padding: 0.5rem 0.75rem;
  }

  .navbar-content {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .navbar-left {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .navbar-right {
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .search-container {
    width: min(20vw, 200px);
    max-width: 200px;
    flex-shrink: 1;
  }

  .search-input {
    height: 1.75rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem 0.25rem 1.25rem;
    width: 100%;
  }

  .quick-actions {
    gap: 0.375rem;
    flex-shrink: 0;
  }

  .quick-action-btn {
    padding: 0.25rem 0.375rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .language-selector {
    padding: 0.25rem 0.375rem;
    flex-shrink: 0;
  }

  .theme-toggle {
    padding: 0.25rem;
    flex-shrink: 0;
  }

  /* Ensure auth buttons are visible */
  .auth-buttons {
    flex-shrink: 0;
    min-width: auto;
  }

  .auth-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }
}

/* Critical Range - 900px to 950px (where Sign In gets cut off) */
@media (min-width: 900px) and (max-width: 950px) {
  .navbar {
    padding: 0.375rem 0.5rem;
  }

  .navbar-content {
    gap: 0.375rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .navbar-left {
    gap: 0.375rem;
    flex-shrink: 0;
  }

  .navbar-right {
    gap: 0.375rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .search-container {
    width: min(18vw, 180px);
    max-width: 180px;
    flex-shrink: 1;
  }

  .search-input {
    height: 1.625rem;
    font-size: 0.7rem;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    width: 100%;
  }

  .quick-actions {
    gap: 0.25rem;
    flex-shrink: 0;
  }

  .quick-action-btn {
    padding: 0.25rem 0.25rem;
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .language-selector {
    padding: 0.25rem 0.25rem;
    flex-shrink: 0;
  }

  .theme-toggle {
    padding: 0.25rem;
    flex-shrink: 0;
  }

  /* Critical: Ensure auth buttons are always visible */
  .auth-buttons {
    flex-shrink: 0;
    min-width: auto;
    display: flex !important;
  }

  .auth-btn {
    padding: 0.25rem 0.375rem;
    font-size: 0.65rem;
    white-space: nowrap;
    min-width: auto;
  }

  /* Hide language selector to save space */
  .language-selector {
    display: none;
  }
}

/* Small Laptop - 780px to 899px */
@media (min-width: 780px) and (max-width: 899px) {
  .navbar {
    padding: 0.5rem 0.625rem;
  }

  .navbar-content {
    gap: 0.625rem;
    flex-wrap: wrap;
  }

  .navbar-left {
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .navbar-right {
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
  }

  .search-container {
    width: 100%;
    max-width: none;
    flex: 1;
    margin-right: 0.5rem;
  }

  .search-input {
    height: 1.75rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem 0.25rem 1.25rem;
  }

  .quick-actions {
    gap: 0.5rem;
    margin-left: auto;
  }

  .quick-action-btn {
    padding: 0.25rem 0.375rem;
    font-size: 0.7rem;
  }

  .language-selector {
    padding: 0.25rem 0.375rem;
  }

  .theme-toggle {
    padding: 0.25rem;
  }

  /* Hide language selector on smaller screens */
  .language-selector {
    display: none;
  }
}

/* Mobile 375px and below */
@media (max-width: 380px) {
  .navbar-left,
  .navbar-right {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0;
  }

  .quick-actions {
    gap: .4rem;
    margin: 0;
  }

  /* Avatar dropdown fix */
  .user-dropdown {
    right: 0 !important;       /* stay inside screen */
    left: auto !important;
    transform: none !important;
    width: 160px;              /* adjust if needed */
  }
  .user-dropdown {
    max-width: 80vw;
  }
}


/* Tablet responsive adjustments for auth modal */
@media (max-width: 768px) and (min-width: 641px) {
  #authModal .modal-container {
    max-width: 90vw;
    margin: 1rem auto;
  }

  #authModal .grid {
    grid-template-columns: 1fr !important;
  }

  #authModal .auth-left-panel {
    display: none !important;
  }

  #authModal .auth-right-panel {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  #authModal .auth-logo-image {
    display: none !important;
  }
}

/* AGGRESSIVE AUTH MODAL OVERRIDES - MUST BE LAST */

.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.light #authModal .auth-left-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
}

.light #authModal .form-input {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #000000 !important;
}

.light #authModal .form-label {
  color: #000000 !important;
}

.light #authModal .tab-trigger {
  color: #6b7280 !important;
}

.light #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.light #authModal .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

.light #authModal .flex.items-center.gap-2 span {
  color: #000000 !important;
}

.light #authModal .text-sm {
  color: #6b7280 !important;
}

.light #authModal .flex.items-center.justify-between {
  color: #000000 !important;
}

/* DARK MODE OVERRIDES */
.dark #authModal .auth-right-panel {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}

.dark #authModal .auth-left-panel {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%) !important;
}

.dark #authModal .form-input {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
}

.dark #authModal .form-label {
  color: #cbd5e1 !important;
}

.dark #authModal .tab-trigger {
  color: #94a3b8 !important;
}

.dark #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.dark #authModal .tab-trigger:hover:not(.active) {
  color: #cbd5e1 !important;
}

.dark #authModal .flex.items-center.gap-2 span {
  color: #cbd5e1 !important;
}

.dark #authModal .text-sm {
  color: #94a3b8 !important;
}

.dark #authModal .flex.items-center.justify-between {
  color: #cbd5e1 !important;
}

/* ENHANCED LIGHT MODE STYLING - MUST BE LAST */
html.light #authModal .auth-right-panel,
body.light #authModal .auth-right-panel,
.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  border-left: 1px solid #e5e7eb !important;
}

html.light #authModal .auth-right-panel *,
body.light #authModal .auth-right-panel *,
.light #authModal .auth-right-panel * {
  color: #000000 !important;
}

html.light #authModal .auth-right-panel .form-input,
body.light #authModal .auth-right-panel .form-input,
.light #authModal .auth-right-panel .form-input {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #000000 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light #authModal .auth-right-panel .form-input:focus,
body.light #authModal .auth-right-panel .form-input:focus,
.light #authModal .auth-right-panel .form-input:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  outline: none !important;
}

html.light #authModal .auth-right-panel .form-label,
body.light #authModal .auth-right-panel .form-label,
.light #authModal .auth-right-panel .form-label {
  color: #000000 !important;
}

html.light #authModal .auth-right-panel h3,
body.light #authModal .auth-right-panel h3,
.light #authModal .auth-right-panel h3 {
  color: #fbbf24 !important;
}

html.light #authModal .auth-right-panel .text-muted-foreground,
body.light #authModal .auth-right-panel .text-muted-foreground,
.light #authModal .auth-right-panel .text-muted-foreground {
  color: #000000 !important;
}

html.light #authModal .auth-right-panel .tab-trigger,
body.light #authModal .auth-right-panel .tab-trigger,
.light #authModal .auth-right-panel .tab-trigger {
  color: #6b7280 !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
}

html.light #authModal .auth-right-panel .tab-trigger:hover,
body.light #authModal .auth-right-panel .tab-trigger:hover,
.light #authModal .auth-right-panel .tab-trigger:hover {
  color: #374151 !important;
  background-color: rgba(251, 191, 36, 0.05) !important;
}

html.light #authModal .auth-right-panel .tab-trigger.active,
body.light #authModal .auth-right-panel .tab-trigger.active,
.light #authModal .auth-right-panel .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
  font-weight: 600 !important;
  background-color: rgba(251, 191, 36, 0.08) !important;
}

html.light #authModal .auth-right-panel .tab-trigger:hover:not(.active),
body.light #authModal .auth-right-panel .tab-trigger:hover:not(.active),
.light #authModal .auth-right-panel .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

html.light #authModal .auth-right-panel .flex.items-center.gap-2 span,
body.light #authModal .auth-right-panel .flex.items-center.gap-2 span,
.light #authModal .auth-right-panel .flex.items-center.gap-2 span {
  color: #000000 !important;
}

html.light #authModal .auth-right-panel .text-sm,
body.light #authModal .auth-right-panel .text-sm,
.light #authModal .auth-right-panel .text-sm {
  color: #6b7280 !important;
}

html.light #authModal .auth-right-panel .flex.items-center.justify-between,
body.light #authModal .auth-right-panel .flex.items-center.justify-between,
.light #authModal .auth-right-panel .flex.items-center.justify-between {
  color: #000000 !important;
}

/* Enhanced button styling for light mode */
html.light #authModal .auth-right-panel .btn.primary,
body.light #authModal .auth-right-panel .btn.primary,
.light #authModal .auth-right-panel .btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3) !important;
}

html.light #authModal .auth-right-panel .btn.primary:hover,
body.light #authModal .auth-right-panel .btn.primary:hover,
.light #authModal .auth-right-panel .btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 4px 8px rgba(251, 191, 36, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Enhanced checkbox styling */
html.light #authModal .auth-right-panel input[type="checkbox"],
body.light #authModal .auth-right-panel input[type="checkbox"],
.light #authModal .auth-right-panel input[type="checkbox"] {
  accent-color: #fbbf24 !important;
}

/* Enhanced link styling */
html.light #authModal .auth-right-panel a,
body.light #authModal .auth-right-panel a,
.light #authModal .auth-right-panel a {
  color: #fbbf24 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

html.light #authModal .auth-right-panel a:hover,
body.light #authModal .auth-right-panel a:hover,
.light #authModal .auth-right-panel a:hover {
  color: #f59e0b !important;
  text-decoration: underline !important;
}

/* Custom Notification System */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  min-width: 280px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.custom-notification.success {
  border-color: #22c55e;
  background: #1f2937;
  border-left: 4px solid #22c55e;
}

.custom-notification.error {
  border-color: #ef4444;
  background: #1f2937;
  border-left: 4px solid #ef4444;
}

.custom-notification.warning {
  border-color: #fbbf24;
  background: #1f2937;
  border-left: 4px solid #fbbf24;
}

.custom-notification.info {
  border-color: #3b82f6;
  background: #1f2937;
  border-left: 4px solid #3b82f6;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
}

.notification-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.notification-message {
  font-size: 12px;
  color: #d1d5db;
  margin: 0;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: -1px;
}

.notification-close:hover {
  color: #f9fafb;
  background: rgba(255, 255, 255, 0.1);
}

/* Light mode notifications */
.light .custom-notification {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.light .custom-notification.success {
  border-color: #22c55e;
  background: #ffffff;
  border-left: 4px solid #22c55e;
}

.light .custom-notification.error {
  border-color: #ef4444;
  background: #ffffff;
  border-left: 4px solid #ef4444;
}

.light .custom-notification.warning {
  border-color: #fbbf24;
  background: #ffffff;
  border-left: 4px solid #fbbf24;
}

.light .custom-notification.info {
  border-color: #3b82f6;
  background: #ffffff;
  border-left: 4px solid #3b82f6;
}

.light .notification-title {
  color: #111827;
}

.light .notification-message {
  color: #6b7280;
}

.light .notification-close {
  color: #6b7280;
}

.light .notification-close:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.05);
}

/* Responsive notifications */
@media (max-width: 768px) {
  .custom-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
  }

  .notification-content {
    padding: 10px;
    gap: 8px;
  }

  .notification-title {
    font-size: 13px;
  }

  .notification-message {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .custom-notification {
    top: 5px;
    right: 5px;
    left: 5px;
  }

  .notification-content {
    padding: 8px;
    gap: 6px;
  }

  .notification-icon {
    font-size: 16px;
  }

  .notification-title {
    font-size: 12px;
  }

  .notification-message {
    font-size: 10px;
  }
}

/* Global Loading Overlay */
.global-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.light .global-loading-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.global-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: hsl(var(--card));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid hsl(var(--border));
}

.light .global-loading-container {
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}

.global-loading-spinner {
  position: relative;
  width: 3rem;
  height: 3rem;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #fbbf24;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: #f59e0b;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: #d97706;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.global-loading-text {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: center;
}

.light .global-loading-text {
  color: #111827;
}

/* Mobile responsive for global loading */
@media (max-width: 768px) {
  .global-loading-container {
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 0.75rem;
  }

  .global-loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
  }

  .global-loading-text {
    font-size: 0.875rem;
  }
}

/* ============================================================================
   GAME CARDS STYLES
   ============================================================================ */

/* Page header styles for game pages */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

/* Games container for individual game pages */
.games-container {
  padding: 1rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Enhanced game card styles for hover effects */
.games-grid .game-card {
  background: transparent;
  border-radius: 0.75rem;
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.games-grid .game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px hsl(var(--primary) / 0.15);
}

.games-grid .game-image {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--primary) / 0.05) 100%);
}

.games-grid .game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.games-grid .game-image:hover img {
  transform: scale(1.08);
}

/* Dark overlay on hover - only when hovering the image */
.games-grid .game-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.games-grid .game-image:hover::after {
  opacity: 1;
}

/* Play Now button overlay - positioned over the image on hover */
.games-grid .game-image::before {
  content: 'PLAY NOW';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 0.4rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
  white-space: nowrap;
}

.games-grid .game-image:hover::before {
  opacity: 1;
  visibility: visible;
}

.games-grid .game-image:hover::before:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Hide game info section - show only image */
.games-grid .game-info {
  display: none;
}

/* Make the game image take full card space */
.games-grid .game-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--primary) / 0.05) 100%);
  border-radius: 0.75rem;
}

/* ============================================================================
   COMPREHENSIVE RESPONSIVE DESIGN FOR GAMES GRID
   ============================================================================ */

/* Extra large screens (4K, large monitors) */
@media (min-width: 1920px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
  }

  .games-grid .game-image {
    height: 150px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Large screens (desktops, large laptops) */
@media (min-width: 1400px) and (max-width: 1919px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
  }

  .games-grid .game-image {
    height: 200px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Standard laptops and desktops */
@media (min-width: 1200px) and (max-width: 1399px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.75rem;
  }

  .games-grid .game-image {
    height: 180px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Small laptops and large tablets */
@media (min-width: 992px) and (max-width: 1199px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .games-grid .game-image {
    height: 170px;
  }

  .games-grid .game-image::before {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Tablets (iPad, Android tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.25rem;
  }

  .games-grid .game-image {
    height: 140px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Small tablets and large phones */
@media (min-width: 576px) and (max-width: 767px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 1rem;
  }

  .games-grid .game-image {
    height: 120px;
  }

  .games-grid .game-image::before {
    padding: 0.4rem 0.8rem;
    font-size: 0.6rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Mobile phones (landscape) */
@media (min-width: 480px) and (max-width: 575px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .games-grid .game-image {
    height: 100px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.3rem 0.6rem;
    font-size: 0.55rem;
    opacity: 0;
    visibility: hidden;
  }
}

/* Mobile phones (portrait) */
@media (max-width: 479px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .games-grid .game-image {
    height: 90px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.3rem 0.6rem;
    font-size: 0.55rem;
    opacity: 0;
    visibility: hidden;
  }

  .page-title {
    font-size: 1.8rem;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .games-grid .game-image {
    height: 80px;
  }

  .games-grid .game-image::before {
    content: 'PLAY NOW';
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem;
    opacity: 0;
    visibility: hidden;
  }
}


.game-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}


.game-icon {
  font-size: 3rem;
  display: block;
}

.game-info {
  padding: 1rem;
}

.game-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.game-provider {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* Regular play button in game info section */
.game-info .play-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-info .play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.3);
}


/* Dark Mode Support for Game Cards */
.dark .game-card {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}

.dark .game-name {
  color: hsl(var(--foreground));
}

.dark .game-provider {
  color: hsl(var(--muted-foreground));
}

/* Light Mode Support for Game Cards */
.light .game-card {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}

.light .game-name {
  color: hsl(var(--foreground));
}

.light .game-provider {
  color: hsl(var(--muted-foreground));
}

/* Show More Button Styles */
.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.2);
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsl(var(--primary) / 0.3);
}

.show-more-text {
  font-weight: 600;
}

.show-more-count {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Show More Button Responsive */
@media (max-width: 768px) {
  .show-more-btn {
    margin: 1.5rem auto;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .show-more-btn {
    margin: 1rem auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .show-more-count {
    font-size: 0.8rem;
  }
}

/* ============================================================================
   HOME PAGE GAME SECTIONS STYLES
   ============================================================================ */

.game-section {
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
}

.see-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.see-all-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.3);
}

.see-all-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.see-all-btn:hover .see-all-icon {
  transform: translateX(2px);
}

.show-more-container {
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Game Sections Responsive Design */
@media (max-width: 768px) {
  .game-section {
    margin-bottom: 20px;
  }

  .section-header {
    /*flex-direction: column;*/
    align-items: flex-start;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .see-all-btn {
    align-self: flex-end;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .section-header {
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .see-all-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .see-all-icon {
    width: 14px;
    height: 14px;
  }
}

/* Responsive checkmarks for mobile */
@media (max-width: 768px) {
  .section-content li::before {
    top: 0.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section-content li::before {
    top: 0.4rem;
    font-size: 0.8rem;
  }
}

/* Additional CSS classes for auth form - scoped to authModal for higher specificity */
#authModal .grid {
  display: grid !important;
}

#authModal .grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  #authModal .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

#authModal .gap-0 {
  gap: 0 !important;
}

#authModal .flex {
  display: flex !important;
}

#authModal .items-center {
  align-items: center !important;
}

#authModal .justify-center {
  justify-content: center !important;
}

#authModal .justify-between {
  justify-content: space-between !important;
}

#authModal .gap-1 {
  gap: 0.25rem !important;
}

#authModal .gap-2 {
  gap: 0.5rem !important;
}

#authModal .mb-4 {
  margin-bottom: 1rem !important;
}

#authModal .text-xl {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
}

#authModal .text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

#authModal .text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

#authModal .text-center {
  text-align: center !important;
}

#authModal .text-yellow-400 {
  color: #fbbf24 !important;
}

#authModal .text-muted-foreground {
  color: #6b7280 !important;
}

#authModal .text-primary {
  color: #fbbf24 !important;
}

#authModal .font-semibold {
  font-weight: 600 !important;
}

#authModal .rounded-md {
  border-radius: 0.375rem !important;
}

#authModal .border {
  border-width: 1px !important;
}

#authModal .border-border {
  border-color: #3f444c !important;
}

#authModal .bg-muted\/50 {
  background-color: rgba(63, 68, 76, 0.5) !important;
}

#authModal .p-2 {
  padding: 0.5rem !important;
}

#authModal .h-20 {
  height: 5rem !important;
}

#authModal .w-20 {
  width: 5rem !important;
}

@media (min-width: 768px) {
  #authModal .md\:h-24 {
    height: 6rem !important;
  }

  #authModal .md\:w-24 {
    width: 6rem !important;
  }
}

#authModal .w-full {
  width: 100% !important;
}

#authModal .h-full {
  height: 100% !important;
}

#authModal .object-contain {
  object-fit: contain !important;
}

#authModal .relative {
  position: relative !important;
}

#authModal .absolute {
  position: absolute !important;
}

#authModal .right-0\.75rem {
  right: 0.75rem !important;
}

#authModal .top-50\% {
  top: 50% !important;
}

#authModal .transform {
  transform: translateY(-50%) !important;
}

#authModal .pr-9 {
  padding-right: 2.25rem !important;
}

#authModal .mt-2 {
  margin-top: 0.5rem !important;
}

#authModal .hover\:underline:hover {
  text-decoration: underline !important;
}

/* Register form grid layout */
#authModal .register-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  #authModal .register-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Auth Form Modal Styling */
#authModal {
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

#authModal .modal-container {
  max-width: 800px !important;
  width: 100% !important;
}

#authModal .modal-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

#authModal .modal-body {
  padding: 0 !important;
  max-height: 120vh;
  overflow-y: auto;
}

#authModal .modal-close {
  position: absolute !important;
  top: 0.9rem !important;
  right: 1rem !important;
  z-index: 20 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  width: 2rem !important;
  height: 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#authModal .modal-close:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  border-color: #fbbf24 !important;
}

/* Left panel: Logo/illustration */
#authModal .auth-left-panel {
  background: linear-gradient(135deg, #52575f 0%, #3d4349 50%, #2a2f35 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 400px !important;
  padding: 2rem !important;
  border-radius: 0.75rem 0 0 0.75rem !important;
  overflow: hidden !important;
  position: relative !important;
}

#authModal .auth-left-panel img {
  max-width: 85% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Right panel: Dark form */
#authModal .auth-right-panel {
  background-color: #2d3039 !important;
  padding: 2rem 2.5rem !important;
  border-radius: 0 0.75rem 0.75rem 0 !important;
  min-height: 400px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Force light mode override */
.light #authModal .auth-right-panel {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.light #authModal .auth-left-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
}

/* Force dark mode override */
.dark #authModal .auth-right-panel {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}

.dark #authModal .auth-left-panel {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%) !important;
}

#authModal .tabs-list {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  gap: 0.5rem !important;
}

#authModal .tab-trigger {
  color: #cbd5e1 !important;
  background: transparent !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 0.5rem 1rem !important;
}

#authModal .tab-trigger.active {
  background: transparent !important;
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

/* Light mode tabs */
.light #authModal .tab-trigger {
  color: #6b7280 !important;
}

.light #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.light #authModal .tab-trigger:hover:not(.active) {
  color: #000000 !important;
}

/* Dark mode tabs */
.dark #authModal .tab-trigger {
  color: #94a3b8 !important;
}

.dark #authModal .tab-trigger.active {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.dark #authModal .tab-trigger:hover:not(.active) {
  color: #cbd5e1 !important;
}

/* Form styling */
#authModal .form-row {
  margin-bottom: 0.5rem !important;
}

#authModal .form-label {
  display: block !important;
  margin-bottom: 0.25rem !important;
  font-weight: 500 !important;
  color: #e2e8f0 !important;
}

#authModal .form-input {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid #4a5568 !important;
  border-radius: 0.375rem !important;
  background-color: #1a202c !important;
  color: #e2e8f0 !important;
  font-size: 0.875rem !important;
}

#authModal .form-input:focus {
  outline: none !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
}

#authModal .form-input::placeholder {
  color: #a0aec0 !important;
}

#authModal .btn.primary {
  background: linear-gradient(135deg, #5ad5f4 0%, #0a2f4d 100%) !important;
  color: #000000 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.375rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

#authModal .btn.primary:hover {
  background: linear-gradient(135deg, #3c7088 0%, #031c32 100%) !important;
  transform: translateY(-1px) !important;
}

#authModal .password-toggle-btn {
  position: absolute !important;
  right: 0.75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: #a0aec0 !important;
  cursor: pointer !important;
  padding: 0.25rem !important;
}

#authModal .eye-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
}

/* Register form 2-column layout */
#authModal .register-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem !important;
  height: auto;
  overflow: visible;
}

@media (min-width: 640px) {
  #authModal .register-form-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* Ensure form content is visible */
#authModal .tab-content {
  overflow: visible !important;
  height: auto !important;
}

#authModal form {
  height: auto !important;
  overflow: visible !important;
}

/* Debug: Make sure modal is visible */
#authModal {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#authModal .modal-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure all form elements are visible */
#authModal .form-row {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#authModal .btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  #authModal {
    width: 95% !important;
    max-width: 500px !important;
  }

  /* Hide left panel on mobile */
  #authModal .auth-left-panel {
    display: none !important;
  }

  /* Make right panel full width */
  #authModal .auth-right-panel {
    width: 100% !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
  }
}

.text-danger{
   color: #dc1111;
   font-size: 13px;
   margin-top: 3px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
  flex-wrap: wrap;
  list-style: none;  /* Remove bullets */
  padding: 0;
}

.pagination li {
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #111;
  transition: all 0.2s ease;
  min-width: 40px;
}

.pagination li a {
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Hover effect on li */
.pagination li:hover {
  background-color:#cd7128;
  border-color: #cd7128;
  transform: scale(1.05);
}

.pagination li:hover a {
  color: #fff;
}

/* 🔹 Active state on li */
.pagination li.active {
  background-color: #cd7128;
  border-color: #cd7128;
  box-shadow: 0 0 8px #bd8e6c;
}

.pagination li.active a {
  color: #fff;
  font-weight: 600;
}

/* Disabled state */
.pagination li.disabled {
  opacity: 0.6;
  pointer-events: none;
  background-color: #181818;
  border-color: #333;
}

.pagination li.disabled a {
  color: #555;
}

/* Responsive */
@media (max-width: 600px) {
  .pagination li a {
    padding: 8px 10px;
    font-size: 14px;
    min-width: 36px;
  }
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: left;
  gap: 0.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease-in-out;
  position: relative;
  text-align: left;
}

/* Color Variants */
.alert.success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 5px solid #10b981;
}

.alert.warning {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 5px solid #f59e0b;
}

.alert.error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 5px solid #ef4444;
}

.alert.info {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 5px solid #3b82f6;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button */
.alert .close-btn {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-weight: bold;
}

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

/*------------------ Account -----------------------------*/
.form-container {
    max-width:1300px;
    margin: 0 auto;
    padding:20px
}
.form-h1 {
    font-size:22px;
    margin:0 0 18px;
    font-weight:700
}
/* Tabs */
/* -------- Tabs -------- */
/* 🌞 Light theme */
.light .form-tabs {
  position: relative;
  display: flex;
  flex-wrap: nowrap; /* stay in one line on small screens */
  gap: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--border-form);
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  overflow-x: auto; /* scroll horizontally on mobile */
  overflow-y: hidden; /* no vertical scroll */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 🌚 Dark theme */
.dark .form-tabs {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1e293b 0%, #171d26 100%);
  border: 1px solid var(--border-form-dark);
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 🖥️ Desktop (≥769px) - Hide scrollbars completely */
@media (min-width: 769px) {
  .form-tabs {
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
  }
  .form-tabs::-webkit-scrollbar {
    display: none;                /* Chrome/Safari/Edge */
  }
}

/* 📱 Mobile (≤768px) - Enable scrollbars and make it responsive */
@media (max-width: 768px) {
  .form-tabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;           /* Firefox: thin scrollbar */
    scrollbar-color: #888 #f0f0f0;   /* thumb + track color */
  }

  /* Scrollbar styling for WebKit (Chrome/Safari/Edge) */
  .form-tabs::-webkit-scrollbar {
    height: 6px; /* horizontal scrollbar */
  }

  .form-tabs::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  .form-tabs::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
  }

  .form-tabs::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }

}

.light .form-tab {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    color: var(--muted-form);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    z-index: 2;
}

.dark .form-tab {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 12px 18px;
  background: #192336;
  border-radius: 10px;
  border: 1px solid #ffffff;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted-form-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  z-index: 2;
}

.light .form-tab:hover {
  color: #111827;
  background: #f3f4f6;
  border-color: #e5e7eb;
  transform: translateY(-1px);
}
.dark .form-tab:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #3c7088 0%, #031c32 100%);
  border-color: #e5e7eb;
  transform: translateY(-1px);
}
.light .form-tab.active {
  color: #92400e;
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%);
  border-color: #133f5a;
  box-shadow: 0 3px 10px rgba(19, 63, 90, 0.45);
  transform: translateY(-1px);
}
.dark .form-tab.active {
  color: #ffffff;
  background: linear-gradient(180deg, #3c7088 0%, #031c32 100%);
  border-color: #01336e;
  box-shadow: 0 3px 10px rgba(19, 63, 90, 0.74);
  transform: translateY(-1px);
}

/* Sliding underline with glow */
.form-underline {
  position: absolute;
  bottom: 4px;
  height: 3px;
  background: linear-gradient(90deg, #0b2846, #000324);
  border-radius: 3px;
  transition: all 0.35s ease;
  box-shadow: 0 0 8px rgba(11, 40, 70, 0.7), 0 0 15px rgba(11, 40, 70, 0.33);
  z-index: 1;
}
.underline-glow {
  animation: glowPulse 0.4s ease-out;
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 2px rgba(11, 40, 70, 0.13),0 0 6px rgb(11, 40, 70); }
  50% { box-shadow: 0 0 10px rgba(11, 40, 70, 0.63),0 0 20px rgba(11, 40, 70, 0.36); }
  100% { box-shadow: 0 0 8px rgba(11, 40, 70, 0.79),0 0 15px rgba(11, 40, 70, 0.24); }
}

/* Layout */
.avatar-wrap{
    text-align:center
}
.avatar-form{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid rgba(229,231,235,0.9);
    background:#eef2ff;
}
.light .username-form{
    margin-top:12px;
    font-weight:700;
    font-size:18px;
    color:#000000;
}
.dark .username-form{
    margin-top:12px;
    font-weight:700;
    font-size:18px;
    color:#ffffff;
}
.status-tags{
    margin-top:10px;
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap
}
.form-tag{
    font-size:13px;
    padding:6px 10px;
    border-radius:7%;
    font-weight:600
}
.form-tag.verified{
    background:#dcfce7;
    color:#134e2d
}
.form-tag.vip{
    background:#fef3c7;
    color:#6b3a00
}

.stats{
    margin-top:14px;
    display:flex;
    flex-direction:column;
    gap:10px
}
.light .stat-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#f8fafc;
    border-radius:10px;
    padding:10px 12px;
    border:1px solid var(--border-form);
    transition:transform .18s ease, box-shadow .18s ease;
}
.dark .stat-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#0f172a;
    border-radius:10px;
    padding:10px 12px;
    border:1px solid var(--border-form);
    transition:transform .18s ease, box-shadow .18s ease;
}
.stat-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(16,24,40,0.06);
}
.stat-left{
    display:flex;
    align-items:center;
    gap:10px
}
.light .stat-icon{
    width:36px;
    height:36px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg, rgba(37,99,235,0.14), rgba(37,99,235,0.06));
     color:var(--primary-form);
    font-weight:700;
}
.dark .stat-icon{
  width:36px;
  height:36px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, #182336, #182336);
  color:var(--primary-form);
  font-weight:700;
}

.light .stat-label-form{
    font-size:13px;
    color:var(--muted-form);
    font-weight:600
}
.dark .stat-label-form{
  font-size:13px;
  color:#ffffff;
  font-weight:600
}
.stat-value-form{
    font-weight:800;
    color:var(--primary-form);
    font-size:16px
}

.header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
    color:#000000;
}
.header-row h3{
    margin:0;
    font-size:16px;
    font-weight:700;
    color:#000000;
}
.subtle{
    color:var(--muted-form);
    font-size:13px;
    margin-bottom:14px;
    margin-top:10px;
}

.edit-btn{
    background:var(--primary-form);
    color:#fff;
    border:0;padding:8px 12px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
    box-shadow:0 6px 18px rgba(37,99,235,0.12);
    transition:transform .15s ease, box-shadow .15s ease;
}
.edit-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(37,99,235,0.18);
}

/* Forms */
.form-row-new{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px
}
.form-group{
    flex:1 1 22px;
    display:flex;
    flex-direction:column
}
.light .form-label-new{
    font-weight:600;
    font-size:13px;
    margin-bottom:6px;
    color:#0f172a;
}
.dark .form-label-new{
    font-weight:600;
    font-size:13px;
    margin-bottom:6px;
    color:#ffffff;
}
.light .form-control {
    padding:10px 12px;
    border-radius: 0.5rem;
    border:1px solid #dbe3f0;
    background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8));
    font-size:14px;
    color:#0f172a;
    outline:none;
    transition:box-shadow .15s ease, border-color .15s ease;
}
.dark .form-control {
    padding:10px 12px;
    border-radius: 0.5rem;
    border:1px solid #dbe3f0;
    background:linear-gradient(180deg, #0f172a, #1b2642);
    font-size:14px;
    color:#ffffff;
    outline:none;
    transition:box-shadow .15s ease, border-color .15s ease;
}
.form-control:focus{
    box-shadow:0 0 0 6px rgba(37,99,235,0.08);
    border-color:var(--primary-form)
}
.form-group input{
    width:100%
}

/* ✅ Mobile responsiveness */
@media (max-width: 768px) {
  .form-row-new {
    flex-direction: column;
    gap: 12px;
  }
  .form-group {
    width: 100%;
  }
  .form-input {
     font-size: 16px;
     height: 40px;
  }
}

.account-info{
    margin-top:8px;
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap
}
.light .info-pill{
    background:#f8fafc;
    padding:10px 14px;
    border-radius:12px;
    border:1px solid var(--border-form);
    display:flex;
    flex-direction:column;
    min-width:170px
}
.dark .info-pill{
    background:#0f172a;
    padding:10px 14px;
    border-radius:12px;
    border:1px solid var(--border-form);
    display:flex;
    flex-direction:column;
    min-width:170px
}
.light .info-label{
    font-size:12px;
    color:var(--muted-form);
    font-weight:600;
    margin-bottom:4px
}
.dark .info-label{
    font-size:12px;
    color:#ffffff;
    font-weight:600;
    margin-bottom:4px
}
.light .info-value-form{
    font-weight:800;
    color:#0f172a;
}
.dark .info-value-form{
    font-weight:800;
    color:#ffffff;
}
.info-value-form.status{
    color:var(--success)
}

/* Panels + Fade animation */
.form-tab-contents {
    margin-top:0;
    position:relative;
}
.form-tab-panel{
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:opacity .4s ease, transform .4s ease, visibility .4s;
    position:absolute;
    top:0;
    left:0;
    width:100%;
}
.form-tab-panel.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    position:relative;
}

#saveRow{
    display:none;
    margin-top:14px;
    gap:10px;
    justify-content:flex-end
}
.btn-save{
    background:var(--primary-form);
    color:#fff;
    border:0;
    padding:9px 12px;
    border-radius:10px;
    cursor:pointer
}
.btn-cancel{
    background:#fff;
    border:1px solid var(--border-form);
    padding:9px 12px;
    border-radius:10px;
    cursor:pointer
}

.switch-form{
    position:relative;
    width:46px;
    height:26px;
    display:inline-block
}
.switch-form input{
    display:none
}
.slider{
    position:absolute;
    inset:0;
    background:#d1d5db;
    border-radius:26px;
    transition:all .22s
}
.slider:before{
    content:"";
    position:absolute;
    left:3px;top:3px;
    width:20px;
    height:20px;
    background:#fff;
    border-radius:50%;
    transition:all .22s
}
.switch-form input:checked + .slider{
    background:var(--primary-form)
}
.switch-form input:checked + .slider:before{
    transform:translateX(20px)
}

.form-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin: 0 auto;
    justify-content: center;
}
.light .form-card{
    background: #ffffff;
    border:1px solid var(--border-form);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
    width: 100%;
}
.dark .form-card{
  background: #192336;
  border:1px solid var(--border-form-dark);
  border-radius: 0.5rem;
  padding: 1.3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  width: 100%;
}
.form-card.form-short {
    width: 360px;
}
.form-card.form-wide {
    width: 885px;
}
.form-card:hover {
    transform: translateY(-5px);
}
/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .form-card-container {
      grid-template-columns: 1fr;
  }
  .form-card {
      width: 100%;
  }
  .form-card.form-short {
      width: 100%;
  }
  .form-card.form-wide {
      width: 100%;
  }
}
@media (max-width: 1180px) {
  .form-card-container {
      grid-template-columns: 1fr;
  }
  .form-card {
      width: 100%;
  }
  .form-card.form-short {
      width: 100%;
  }
  .form-card.form-wide {
      width: 100%;
  }
}
/* Separator */
.form-separator {
    height: 1px;
    background: var(--border-form);
    margin: 1rem 0;
}

/* Security */
.light .form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
}
.dark .form-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.light .form-toggle-label {
    font-weight: 600;
    color:#000000;
}
.dark .form-toggle-label {
    font-weight: 600;
    color:#ffffff;
}
.form-toggle small {
    color: var(--muted-form);
}
.form-toggle-switch {
    width: 42px;
    height: 22px;
    background: var(--primary-form);
    border-radius: 11px;
    position: relative;
}
.form-toggle-switch::before {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: 0.3s;
}
.form-toggle.active .form-toggle-switch::before {
    left: 23px;
}
.status-badge-form {
    background: #dcfce7;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 6px 10px;
}
.status-badge-form-danger {
  background-color: #fef3c7;
  color: #92400e;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 6px 10px;
}
.setup-btn {
    width: 100%;
    background: var(--primary-form);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.light .notification-tab {
    padding:18px;
    border-radius:10px;
    background:#ffffff;
    border:1px solid var(--border-form);
    display:flex;
    align-items:center;
    justify-content:space-between
}
.dark .notification-tab {
  padding:18px;
  border-radius:10px;
  background:#0f172a;
  border:1px solid var(--border-form);
  display:flex;
  align-items:center;
  justify-content:space-between
}


.notification-tab2 {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.notification-text {
   color:var(--muted-form);
   font-size:13px
}

.light .text-black{
    color:#000000;
}
.dark .text-black{
    color:#ffffff;
}

.light .text-black-light{
    color:#000000;
    font-weight:700
}
.dark .text-black-light{
    color:#ffffff;
    font-weight:700
}

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mb-0 {
  margin-bottom: 5px;
}
.mb-1 {
   margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}

/* ------------------------ Transaction Pages --------------------------- */
.transaction-top-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px;
    flex-wrap:wrap;
}
.transaction-title-block{
    display:flex;
    align-items:flex-start;
    gap:14px;
}
.transaction-logo-pill{
    width:54px;
    height:54px;
    border-radius:12px;
    background:var(--transaction-soft);
    display:grid;
    place-items:center;
    box-shadow: 0 2px 10px var(--transaction-glass);
    border:1px solid var(--transaction-border);
}
.transaction-page-title{
    margin:0;font-size:28px;
    font-weight:700;
    line-height:1;
}
.transaction-page-sub{
    margin:7px 0 0 0;
    color:var(--transaction-muted);
    font-size:13px;
}

/* ---------- Transaction Tabs (All/Deposits/Withdrawals) ---------- */
.transaction-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 14px 0;
}

.transaction-tab {
    background: var(--transaction-card);
    border: 1px solid var(--transaction-border);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--transaction-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover effect for inactive tabs */
.transaction-tab:hover:not(.active) {
    background: var(--transaction-hover-bg, rgba(255, 255, 255, 0.05));
    border-color: var(--primary, #fbbf24);
    color: var(--transaction-text-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Active state (selected tab) */
.transaction-tab.active {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
    color: var(--transaction-text);
}

/* ----------Transaction Buttons---------- */
.transaction-btn{
    display:inline-flex;gap:8px;align-items:center;
    background:var(--transaction-card);
    border:1px solid var(--transaction-border);
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
    color:var(--transaction-text);
    font-weight:600;
    transition: background .2s, border .2s, color .2s;
}
.transaction-btn:hover{
    background:var(--transaction-soft);
}
.transaction-btn.primary{
    background:linear-gradient(180deg,var(--transaction-accent), #1d4ed8);
    color:white;
    border:none;
    box-shadow:0 3px 10px rgba(37,99,235,0.25);
}
.transaction-btn.primary:hover{
    filter:brightness(1.1);
}
.transaction-btn:active{
    transform:translateY(1px);
}
/* ---------- Transaction cards ---------- */
.transaction-cards {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:20px;
}
.transaction-card {
    background:var(--transaction-card);
    border-radius:12px;
    padding:18px 18px;
    box-shadow: 0 8px 24px var(--transaction-glass);
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:center;
    border-left:5px solid transparent;
    transition:background .3s ease,border .3s ease;
}
.transaction-card:hover{
    background:var(--transaction-soft);
}
.transaction-card h4{
    margin:0;
    font-size:14px;
    font-weight:700;
    color:var(--transaction-muted);
}
.transaction-card .value{
    margin-top:8px;
    font-size:24px;
    font-weight:800;
}
.transaction-card p.note{
    margin:6px 0 0 0;
    color:var(--transaction-muted);
    font-size:13px;
}
.transaction-card.deposits {
    border-left-color: #10b981;
}
.transaction-card.width-new {
    border-left-color: #ef4444;
}
.transaction-card.pending-new {
    border-left-color: #f59e0b;
}
.transaction-card.net {
    border-left-color: #3b82f6;
}
.transaction-card .svg-wrap{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:var(--transaction-soft);
    border:1px solid var(--transaction-border);
}

/* ---------- filter box ---------- */
.transaction-filter-wrap{
    background:var(--transaction-card);
    border-radius:12px;
    padding:18px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.04);
    margin-bottom:20px;
}
.transaction-filter-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}
.transaction-filter-head h3{
    margin:0;
    font-size:16px;
}
.transaction-filter-subtitle {
    color: var(--transaction-muted);
    font-weight: 700;
}
@media (max-width: 767px) {
    .transaction-filter-subtitle {
        display: none;
    }
}
.transaction-filters{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
}
.transaction-control{
    background:var(--transaction-bg);
    border:1px solid var(--transaction-border);
    padding:10px 12px;
    border-radius:10px;
    min-width:180px;
    display:flex;
    gap:8px;
    align-items:center;
    color:#000000;
    font-weight:600;
}
.transaction-control input[type="text"], .transaction-control input[type="date"]{
    border:0;
    background:transparent;
    outline:none;
    color:var(--transaction-text);
    font-weight:600;
}
.transaction-control select {
    border:0;
    background:transparent;
    outline:none;
    color:var(--transaction-text);
    font-weight:600;
}
.transaction-control select option {
    color:#000000;
}
.transaction-filter-actions{
    margin-left:auto;
    display:flex;
    gap:10px;
    align-items:center;
}

/* ---------- transactions ---------- */
.transaction{
    background:var(--transaction-card);
    border-radius:10px;
    padding:18px;
    display:flex;
    gap:18px;
    align-items:center;
    border:1px solid var(--transaction-border);
    box-shadow:0 2px 6px var(--transaction-glass);
    transition:background .3s ease;
    margin-bottom:10px;
}
.transaction:hover{
    background:var(--transaction-soft);
}
.transaction-icon-square{
    width:44px;
    height:44px;
    border-radius:10px;
    display:grid;
    place-items:center;
    background:var(--transaction-soft);
    border:1px solid var(--transaction-border);
}
.transaction-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.875rem;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
}

/* Badge Colors */
.transaction-badge.completed-new {
  background: rgba(34, 197, 94, 0.15);
  color: var(--transaction-success);
}

.transaction-badge.pending-new {
  background: rgba(250, 204, 21, 0.15);
  color: var(--transaction-warning);
}

.transaction-badge.failed-new {
  background: rgba(248, 113, 113, 0.15);
  color: var(--transaction-danger);
}

/* 🌐 Responsive adjustments */
@media (max-width: 480px) {
  .transaction-control{
    width: 100%;
  }
  .transaction-control input[type="text"], .transaction-control input[type="date"]{
    width: 100%;
  }
  .transaction-control select {
    width: 100%;
  }
  .transaction-badge {
    display: inline-block;
    width: 100%;
    padding: 6px;
    font-size: 0.8rem;
    border-radius: 5px;
    text-align: center;
    margin-top: 6px;
  }

  /* If inside a flex or grid container */
  .transaction-item {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Ensure status and amount stack properly */
  .transaction-status-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }
}
.transaction-amount.plus {
    color:var(--transaction-success);
}
.transaction-amount.minus {
    color:var(--transaction-danger);
}
.transaction-right {
    margin-left:auto;
    text-align:right;
}

/* ---------- SVG Color Adapt ---------- */
svg[stroke], svg path[stroke] {
    stroke: currentColor !important;
}
.dark svg { color: #cbd5e1; }

/* Style date input in dark mode */
.dark input[type="date"] {
    color: var(--transaction-text);
    font-weight: 600;
}

/* Style the calendar icon to white on dark mode */
.dark input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* makes black icons white */
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.dark input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
    .transaction-cards{
        grid-template-columns:repeat(2,1fr);
    }
}
@media (max-width:700px) {
    .transaction-cards {
      grid-template-columns:1fr;
    }
    .transaction {
        flex-direction: column;
        align-items: flex-start;
    }
    .transaction .transaction-right {
        align-items: flex-start;
        width: 100%;
    }
}

/* ------------------------ VIP Pages --------------------------- */
.--vip-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.vip-h {
    color: var(--vip-text);
    margin-bottom: 15px;
}
.vip-section {
    background: var(--vip-card);
    border: 1px solid var(--vip-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s, border 0.3s;
}

/* ---------- VIP Header ---------- */
.vip-header {
    text-align: center;
    margin-bottom: 2rem;
}
.vip-header-icon {
    font-size: 2rem;
    background: var(--vip-accent-bg);
    color: var(--vip-highlight);
    display: inline-block;
    padding: 0.75rem;
    border-radius: 50%;
}
.vip-header h1 {
    margin-top: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}
.vip-header p {
    color: var(--vip-muted);
    margin-top: 0.25rem;
}

/* ---------- VIP Status ---------- */
.vip-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--vip-card);
    border: 1px solid var(--vip-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.vip-progress {
    width: 100%;
    height: 10px;
    border-radius: 6px;
    background: var(--vip-border);
    margin-top: 0.5rem;
    overflow: hidden;
}
.vip-progress-bar {
    width: 0;
    height: 100%;
    background: var(--vip-success);
    transition: width 1.5s ease-in-out;
    border-radius: 6px;
}

/* ---------- VIP Tiers ---------- */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.vip-tier-card {
    border: 2px solid var(--vip-border);
    border-radius: 12px;
    text-align: center;
    padding: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.vip-tier-card:hover {
    transform: scale(1.05);
    border-color: var(--vip-highlight);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.vip-tier-card.active {
    border-color: var(--vip-highlight);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.7);
    animation: glow 2s infinite alternate;
}
.vip-tier-card .tier-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
}

/* ---------- Sparkles ---------- */
.vip-tier-card.active .tier-icon::before,
.vip-tier-card.active .tier-icon::after {
    content: '✨';
    position: absolute;
    top: -5px;
    left: -5px;
    opacity: 0;
    animation: sparkle 2s infinite;
    font-size: 0.8rem;
}
.vip-tier-card.active .tier-icon::after {
    top: -2px;
    left: 20px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    25% { opacity: 1; transform: scale(1.2) rotate(20deg); }
    50% { opacity: 0; transform: scale(1) rotate(-10deg); }
    75% { opacity: 1; transform: scale(1.1) rotate(10deg); }
    100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
}

/* ---------- Glowing Background ---------- */
.vip-tier-card.active::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 15px;
    z-index: 0;
    background: radial-gradient(circle, rgba(245,158,11,0.3) 0%, rgba(245,158,11,0) 70%);
    animation: pulseColor 3s infinite alternate;
}
.vip-tier-card.active > * {
    position: relative;
    z-index: 1;
}

/* Glow animation */
@keyframes glow {
  0% {
      box-shadow: 0 0 10px rgba(245,158,11,0.5), 0 0 20px rgba(245,158,11,0.3);
  }
  50% {
      box-shadow: 0 0 15px rgba(245,158,11,0.8), 0 0 25px rgba(245,158,11,0.5);
  }
  100% {
      box-shadow: 0 0 10px rgba(245,158,11,0.5), 0 0 20px rgba(245,158,11,0.3);
  }
}
/* Animated color pulse for background */
@keyframes pulseColor {
    0% { background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, rgba(245,158,11,0) 70%); }
    50% { background: radial-gradient(circle, rgba(245,158,11,0.35) 0%, rgba(245,158,11,0) 70%); }
    100% { background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, rgba(245,158,11,0) 70%); }
}

/* ---------- VIP Benefits ---------- */
.vip-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.vip-benefit-card {
    border: 1px solid var(--vip-border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: default;
}
.vip-benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--vip-highlight);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* ---------- Events ---------- */
.vip-event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vip-event-card {
    border: 1px solid var(--vip-border);
    border-radius: 10px;
    padding: 1rem;
    background: var(--vip-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vip-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.vip-event-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.vip-event-date {
    font-size: 0.85rem;
    color: var(--vip-muted);
}
.vip-event-btn {
    background: var(--vip-highlight);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.vip-event-btn:hover {
    opacity: 0.9;
}

/* ---------- VIP Support Section ---------- */
.vip-support {
    background: var(--vip-orange);
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 1rem;
}
.vip-support button {
    background: #fff;
    color: var(--vip-orange);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    margin: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.vip-support button:hover {
    opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .vip-status {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
  }
  .vip-event-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
  }
  .vip-tiers {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .vip-benefits {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

/* ------------------------ FAQ Pages --------------------------- */
.faq-container {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}
/* Search bar */
.faq-search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--faq-card-light);
    padding: 10px;
    border-radius: 10px;
    margin: 20px 0 30px;
    transition: var(--faq-transition);
    border: 1px solid #cbd5e1;
}

.dark .faq-search-box {
    background: var(--faq-card-dark);
    border-color: #334155;
}

.faq-search-box input {
    width: 100%;
    max-width: 500px;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    outline: none;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-size: 16px;
    transition: var(--faq-transition);
}

.dark .faq-search-box input {
    border-color: #475569;
}

.faq-search-box input:focus {
    border-color: var(--faq-accent);
}

.faq-search-box button {
    background: var(--faq-accent);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--faq-transition);
}

.faq-search-box button:hover {
    opacity: 0.9;
}

/* Category cards */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.faq-category {
    flex: 1 1 200px;
    background: var(--faq-card-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--faq-transition);
    border: 1px solid transparent;
}

.faq-category i {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    color: var(--faq-accent);
}

.faq-category:hover,
.faq-category.active {
    border-color: var(--faq-accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dark .faq-category {
    background: var(--faq-card-dark);
}

/* Accordion */
.faq-section {
    background: var(--faq-card-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--faq-transition);
}

.dark .faq-section {
    background: var(--faq-card-dark);
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--faq-transition);
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: var(--faq-transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--faq-accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question:hover {
    background: rgba(245, 158, 11, 0.1);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 10px 20px 20px;
}

/* No results message */
.faq-no-results {
    text-align: center;
    color: var(--faq-muted-light);
    display: none;
    padding: 30px 10px;
}

.dark .faq-no-results {
    color: var(--faq-muted-dark);
}

@media (max-width: 600px) {
  .faq-category {
     flex: 1 1 100%;
  }
}

/* ------------------------ Responsible Gaming Pages --------------------------- */
.rg-wrap{
   max-width:1100px;
   margin: 0 auto 36px auto;
   padding:20px;
}
/* header */
.rg-header{
    text-align:center;
    margin-bottom:20px;
}
.rg-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:var(--rg-accent-green-600);
    margin-bottom:8px;
}
.rg-kicker i{
    background:rgba(15,157,88,0.12);
    padding:8px;
    border-radius:50%;
    color:var(--rg-accent-green);
}
.rh-h {
    font-size:28px;
    margin:6px 0 6px;
}
.rg-lead{
    max-width:820px;
    margin:0 auto;
    color:var(--rg-muted);
    font-size:14px;
    line-height:1.55;
}

/* commitment strip */
.rg-commitment{
    background:linear-gradient(90deg,var(--rg-accent-green),var(--rg-accent-green-600));
    color:white;
    padding:18px;
    border-radius:10px;
    box-shadow:var(--rg-shadow);
    margin:20px 0;
    opacity:0;
    transform:translateY(8px);
}
.rg-commitment.visible{
    opacity:1;
    transform:none;transition:all .6s ease;
}

.rg-commitment-grid{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.rg-commit-card{
    flex:1;
    min-width:220px;
    background:rgba(255,255,255,0.06);
    padding:14px;
    border-radius:8px;
    display:flex;
    gap:12px;
    align-items:center;
}
.rg-commit-card i{
    font-size:22px;
    background:rgba(255,255,255,0.08);
    padding:10px;
    border-radius:50%;
}
.rg-commit-card h4{
    margin:0;
    font-size:15px;
}
.rg-commit-card p{
    margin:0;
    color:rgba(255,255,255,0.92);
    font-size:13px;
}

/* panel base */
.rg-panel{
    background:var(--rg-card);
    border-radius:var(--rg-radius);
    box-shadow:var(--rg-shadow);
    padding:18px;
    margin-bottom:18px;
    border:1px solid rgba(0,0,0,0.04);
    opacity:0;
    transform:translateY(8px);
}
.rg-panel.visible{
    opacity:1;transform:none;
    transition:all .6s ease;
}
.rg-panel h3{
    margin:0 0 12px;
    font-size:16px;
}

/* grid + mini cards */
.rg-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);gap:14px;
}
.rg-mini{
    background:linear-gradient(180deg,transparent,rgba(0,0,0,0.01));
    padding:14px;border-radius:8px;border:1px solid rgba(0,0,0,0.03);
    position:relative;cursor:pointer;overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
}
.rg-mini:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(2,6,23,0.08);
}
.rg-mini h4{
    margin:0 0 8px;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
}
.rg-mini .chev{
    margin-left:auto;
    transition:transform .28s ease;
    color:var(--rg-accent-orange);
}
.rg-mini .content{
    max-height:0;
    opacity:0;
    overflow:hidden;
    transition:max-height .36s ease,opacity .3s;
}
.rg-mini.open .chev{
    transform:rotate(180deg);
}
.rg-mini.open .content{
    max-height:400px;
    opacity:1;
    margin-top:8px;
}

/* tools grid */
.rg-tools-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}
.rg-tool-card{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:14px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,0.04);
    background:var(--rg-card);
    cursor:pointer;
    transition:transform .22s, box-shadow .22s;
    position:relative;
    overflow:hidden;
}
.rg-tool-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(2,6,23,0.06);
}
.rg-tool-card i{
    font-size:20px;
    color:var(--rg-accent-green);
}
.rg-tool-card .title{
    font-weight:600;
    margin-bottom:6px;
    display:flex;
    align-items:center;
    gap:8px;
}
.rg-tool-card .chev{
    margin-left:auto;
    color:var(--rg-accent-green);
    transition:transform .28s;
}
.rg-tool-card .body{
    max-height:0;
    opacity:0;
    overflow:hidden;
    transition:max-height .36s ease,opacity .3s;
}
.rg-tool-card.open .body{
    max-height:400px;
    opacity:1;
    margin-top:8px;
}
.rg-tool-card.open .chev{
    transform:rotate(180deg);
}

/* safe tips */
.rg-tips{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.rg-tip-row{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}
.rg-tip{
    display:flex;
    gap:10px;
    align-items:flex-start;
    background:var(--rg-card);
    padding:10px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,0.04);
}
.rg-tip i{
    color:var(--rg-success);
    font-size:18px;
    margin-top:2px;
}
.rg-tip p{
    margin:0;
    color:var(--rg-muted);
    font-size:14px;
}

/* help/support cards */
.rg-help-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px
}
.rg-help-card{
    padding:14px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,0.04);
    background:var(--rg-card);
}
.rg-help-card h4{
    margin:0 0 8px;
    font-size:14px
}
.rg-help-card p{
    margin:0;
    color:var(--rg-muted);
    font-size:13px;
}
.rg-help-card a{
    display:inline-block;
    margin-top:8px;
    color:var(--rg-accent-green);
    text-decoration:none;
    font-weight:600;
}

/* age bar */
.rg-age-bar{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
    border-radius:8px;
    background:linear-gradient(90deg,var(--rg-accent-orange),#f97316);
    color:white;
    margin:18px 0
}
.rg-age-bar .col{
    flex:1
}
.rg-age-bar h4{
    margin:0 0 6px;
    font-size:16px;
}
.rg-age-bar p{
    margin:0;
    font-size:13px;
    opacity:0.95;
}
/* ---------------- Mobile Responsive ---------------- */
@media (max-width: 600px) {
   .rg-age-bar {
       flex-direction: column; /* stack columns vertically */
       align-items: flex-start; /* left align text */
       gap: 12px; /* smaller gap for mobile */
       padding: 12px; /* reduce padding */
   }
   .rg-age-bar h4 {
       font-size: 14px; /* slightly smaller font */
   }
   .rg-age-bar p {
       font-size: 12px; /* slightly smaller font */
   }
}

/* immediate help */
.rg-immediate {
    background: linear-gradient(90deg, var(--rg-accent-green-600), var(--rg-accent-green));
    color: white;
    padding: 18px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allow wrapping on smaller screens */
}

.rg-immediate .left {
    flex: 1;
    min-width: 180px; /* ensures readable text space */
}

.rg-immediate .cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rg-btn {
    background: white;
    color: var(--rg-accent-green);
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rg-btn:hover {
    opacity: 0.9;
}

.rg-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

/* --- Responsive adjustments --- */
@media (max-width: 600px) {
   .rg-immediate {
       flex-direction: column;
       align-items: flex-start;
       padding: 14px;
       gap: 10px;
       text-align: left;
   }
   .rg-immediate .cta {
       width: 100%;
       justify-content: flex-start;
       flex-direction: column;
       gap: 8px;
   }
   .rg-btn {
       width: 100%; /* full-width buttons on mobile */
       text-align: center;
   }
}

/* fade-in utility */
.rg-fade-up{
     opacity:0;
     transform:translateY(12px);
     transition:opacity .6s ease, transform .6s ease;
}
.rg-fade-up.visible{
     opacity:1;
     transform:none
}

/* responsive */
@media (max-width:1000px){
  .rg-grid{
      grid-template-columns:repeat(2,1fr);
  }
  .rg-help-grid{
      grid-template-columns:1fr;
  }
  .rg-tools-grid{
      grid-template-columns:1fr;
  }
  .rg-commitment-grid{
      flex-direction:column;
  }
}
@media (max-width:640px){
  .rg-grid{
      grid-template-columns:1fr;
  }
  .rg-commit-card{
      justify-content:flex-start;
  }
  .rg-immediate{
      flex-direction:column;
      align-items:flex-start;
  }
  .rg-immediate .cta{
      width:100%;
      display:flex;
      gap:10px;
  }
  .rg-btn{
      width:100%;
  }
  .rg-wrap{
      margin:18px auto;
      padding:12px;
  }
}
.rg-muted {
    color:var(--rg-muted);
}

/* ------------------------ Terms of Service Pages --------------------------- */

/* ---------- Buttons ---------- */
.terms-action-btn {
    background: var(--terms-card);
    border: 1px solid var(--terms-border);
    color: var(--terms-text);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--terms-shadow);
    font-size: 14px;
    transition: background .3s ease;
}
.terms-action-btn:hover {
    background: var(--terms-border);
}

.terms-wrap {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 20px;
}
.terms-top-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 10px;
}
.terms-page-header {
    margin-bottom: 20px;
}
/* ---------- Layout ---------- */
.terms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}
@media(max-width: 900px){
    .terms-layout{
        grid-template-columns:1fr;
    }
}
/* ---------- Sidebar Tabs ---------- */
.terms-toc .panel {
    background: var(--terms-card);
    border: 1px solid var(--terms-border);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--terms-shadow);
    position: sticky;
    top: 20px;
}

.terms-toc h4 {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.terms-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-toc-list button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: transparent;
    color: var(--terms-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    border: none;
    outline: none;
    font-weight: 500;
}

/* Hover effect — subtle gold tint */
.terms-toc-list button:hover {
    /*background: linear-gradient(90deg, #fff8dc, rgba(255, 215, 0, 0.15));*/
    background: linear-gradient(90deg, #FFD700, #e7b85b);
    color: var(--terms-text);
    transform: translateX(3px);
    font-weight: 600;
}

/* Icon hover effect */
.terms-toc-list button:hover .terms-icon {
    background: #FFD700;
    color: #fff;
    transition: all 0.25s ease;
}

/* Active state — solid gold gradient + bold text */
.terms-toc-list button.active {
    background: linear-gradient(90deg, #FFD700, #F6B21A);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(246, 178, 26, 0.3);
    transform: translateX(4px);
}

/* Active icon */
.terms-toc-list button.active .terms-icon {
    background: #fff;
   color: #F6B21A;
}

/* Base icon style */
.terms-toc-list .terms-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
    font-size: 14px;
    transition: all 0.25s ease;
}
.terms-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--terms-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Content ---------- */
.terms-content-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
.terms-card {
    background: var(--terms-card);
    border: 1px solid var(--terms-border);
    border-radius: 12px;
    box-shadow: var(--terms-shadow);
    padding: 24px;
    transition: opacity .4s ease, transform .4s ease;
}
.terms-card.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}
.terms-card.active {
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 1;
}
.terms-h {
    font-size: 20px;
    margin-bottom: 10px;
}
.terms-p {
    margin-bottom: 12px;
    color: var(--terms-muted);
    font-size: 15px;
}
.terms-ul {
    margin-left: 20px;
    color: var(--terms-muted);
    font-size: 15px;
}
.terms-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* ------------------------ Promotion Pages --------------------------- */
.promotion-wrap{
    max-width:1100px;
    margin:0 auto 30px auto;
    padding:22px;
}
/* Top */
.promotion-top-kicker{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:6px;
}
.promotion-top-kicker .icon{
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg,#ffdca2,#f6b21a);
    color:#3b2b00;
    font-weight:700;
}
.promotion-h1{
    font-size:22px;
    text-align:center;
    margin:6px 0;
}
.promotion-subtitle{
    text-align:center;
    color:var(--promotion-muted);
    font-size:13px;
    margin-bottom:18px;
    max-width:820px;
    margin-left:auto;
    margin-right:auto;
}

/* base panel */
.promotion-panel{
    background:var(--promotion-panel);
    border-radius:12px;
    padding:14px;
    border:1px solid var(--promotion-border);
    box-shadow:var(--promotion-shadow);
    margin-bottom:16px;overflow:hidden;
}

/* categories */
.promotion-categories{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:12px;
}
.promotion-cat-card{
    flex:1 1 200px;
    min-width:180px;
    background:var(--promotion-panel);
    border-radius:10px;
    padding:14px;
    border:1px solid var(--promotion-border);
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    transition:transform .2s, box-shadow .2s;
}
.promotion-cat-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(2,6,23,0.06);
}
.promotion-cat-icon{
    width:42px;
    height:42;
    border-radius:8px;
    background:linear-gradient(180deg,#fff5e6,#fff0d6);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--promotion-accent);
    font-size:18px;
}
.promotion-cat-card.active{
    border-color:var(--promotion-accent);
    box-shadow:0 10px 28px rgba(2,6,23,0.06);
}

/* status */
.promotion-status-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Cards */
.promotion-status-card {
    flex: 1 1 300px;
    min-width: 220px;
    padding: 12px;
    border-radius: 8px;
    background: var(--promotion-panel);
    border: 1px solid var(--promotion-border);
}

/* Header */
.promotion-status-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.promotion-status-head h5 {
    margin: 0;
    font-size: 13px;
}

/* Progress Bar */
.promotion-progress-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--promotion-border), var(--promotion-border));
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.promotion-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #10b981, #06b6a4);
    transition: width 1.1s ease;
}

/* Meta info */
.promotion-status-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--promotion-muted);
    margin-top: 8px;
}

/* ---------------------------
   ✅ Mobile Responsive Styles
---------------------------- */
@media (max-width: 768px) {
    .promotion-status-grid {
        flex-direction: column;
        gap: 16px;
    }

    .promotion-status-card {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 14px;
    }

    .promotion-status-head h5 {
        font-size: 14px;
    }

    .promotion-status-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .promotion-status-card {
        padding: 12px;
        border-radius: 10px;
    }

    .promotion-status-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .promotion-status-head h5 {
        font-size: 13px;
    }

    .promotion-status-meta {
        font-size: 12px;
    }
}

/* promos grid */
.promotion-promos-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}
.promotion-tabs{
    display:flex;
    gap:10px;
}
.promotion-tab{
    padding:8px 12px;
    border-radius:8px;
    border:1px solid var(--promotion-border);
    background:var(--promotion-panel);
    cursor:pointer;
    color:var(--promotion-text);
}
.promotion-tab.active{
    background:var(--promotion-panel);
    border-color:var(--promotion-accent);
    box-shadow:0 6px 20px rgba(0,0,0,0.04);
    color:var(--promotion-text);
    font-weight: bold;
}
.promotion-counter{
    background:var(--promotion-accent);
    color:#111;
    padding:6px 8px;
    border-radius:999px;
    font-weight:700;
    min-width:36px;
    text-align:center;
}

.promotion-promos-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-top:14px;
}
.promotion-promo-card{
    background:var(--promotion-panel);
    border-radius:10px;padding:16px;
    border:1px solid var(--promotion-border);
    box-shadow:var(--promotion-shadow);
    display:flex;
    flex-direction:column;
    transition:transform .18s, box-shadow .18s;
    cursor:pointer;
}
.promotion-promo-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(2,6,23,0.06);
}
.promotion-promo-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px;
}
.promotion-promo-title{
    font-size:15px;
    margin:0;
}
.promotion-promo-type{
    font-size:12px;
    color:var(--promotion-muted);
}
.promotion-promo-state{
    padding:6px 8px;
    border-radius:8px;
    background:#eef7ea;
    color:var(--promotion-success);
    font-size:12px;
    align-self:flex-start;
}
.promotion-promo-body{
    margin-top:12px;
    color:var(--promotion-muted);
    flex:1;
}
.promotion-promo-terms{
    font-size:12px;
    margin-top:10px;
    color:var(--promotion-muted);
}
.promotion-claim-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:14px;
    gap:8px
}
.promotion-btn-claim{
    background:var(--promotion-btn-yellow);
    color:#111;border:none;
    padding:10px 14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700
}
.promotion-btn-terms{
    background:transparent;
    border:1px solid var(--promotion-border);
    padding:8px 10px;
    border-radius:8px;
    color:var(--promotion-muted);
    cursor:pointer
}

/* terms row + help */
.promotion-terms-row{
    background:var(--promotion-panel);
    border-radius:10px;
    padding:12px;
    border:1px solid var(--promotion-border);
    color:var(--promotion-muted);
    font-size:13px;
    margin-top:12px
}
.promotion-help-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    margin-top: 14px;
    gap: 12px;
}

.promotion-help-ctas .btn {
    background: white;
    color: var(--promotion-text);
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* ---------------------------
   ✅ Mobile Responsive Styles
---------------------------- */
@media (max-width: 768px) {
  .promotion-help-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 14px;
  }

  .promotion-help-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .promotion-help-ctas .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
    .promotion-help-row {
        padding: 12px;
        border-radius: 8px;
        gap: 8px;
    }

    .promotion-help-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .promotion-help-ctas .btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
}


/* responsive */
@media (max-width:980px){
    .promotion-promos-grid{
        grid-template-columns:1fr
    }
    .promotion-status-grid{
        flex-direction:column
    }
    .promotion-categories{
        justify-content:flex-start
    }
}
@media (max-width:640px){
    .promotion-wrap{
        padding:12px
    }
}

/* fade-in helper */
.promotion-fade{
    opacity:0;
    transform:translateY(8px);
    transition:opacity .6s ease, transform .6s ease
}
.promotion-fade.visible{
    opacity:1;transform:none
}

/* small utility */
.promotion-muted {
    color: var(--promotion-muted);
    font-size: 13px;
}
.promotion-hidden {
    display: none !important;
}

.promotion-btn {
    background: var(--promotion-panel);
    border: 1px solid var(--promotion-border);
    color: var(--promotion-text);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--promotion-shadow);
    font-size: 14px;
    transition: background .3s ease;
}
.promotion-btn:hover {
    background: var(--promotion-border);
}

/* ------------------------ Live Chat Pages --------------------------- */
.livechat-container {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.livechat-header {
    text-align: center;
    margin-bottom: 30px;
}
.livechat-header .livechat-icon {
    font-size: 48px;
    color: var(---livechat-primary);
    background: var(---livechat-accent-light);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 12px;
}
.livechat-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}
.livechat-header p {
    color: var(---livechat-muted);
    font-size: 1rem;
    margin-top: 5px;
}

/* ---------- Grid Layout ---------- */
.livechat-grid {
    display: grid;
    gap: 20px;
}
.livechat-grid-2 {
    grid-template-columns: 2fr 1fr;
}

/* ---------- Cards ---------- */
.livechat-card {
    background: var(---livechat-card);
    border: 1px solid var(---livechat-border);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: background 0.3s, border 0.3s;
}

/* ---------- Left Section ---------- */
.livechat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #10b981;
    flex-wrap: wrap;
}

.livechat-status span {
    font-size: 0.9rem;
    color: var(---livechat-muted);
}

/* ---------------------------
   ✅ Responsive Enhancements
---------------------------- */
@media (max-width: 576px) {
    .livechat-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .livechat-status span {
        font-size: 0.85rem;
    }
}
.livechat-support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.livechat-method {
    border: 1px solid var(---livechat-border);
    border-radius: 12px;
    padding: 16px;
    transition: 0.25s;
}
.livechat-method:hover {
    border-color: var(---livechat-primary);
    transform: translateY(-2px);
}
.livechat-method h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}
.livechat-method p {
    color: var(---livechat-muted);
    font-size: 0.9rem;
}

/* ---------- Right Sidebar ---------- */
.livechat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.livechat-support-hours strong,
.livechat-contact-info strong {
    display: block;
    margin-bottom: 6px;
}
.livechat-support-hours small {
    color: var(---livechat-muted);
    font-size: 0.85rem;
}
.livechat-contact-info {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(---livechat-muted);
}
.livechat-start-chat {
    background: linear-gradient(to right, #fef3c7, #fde68a);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #1f2937;
}
.livechat-start-chat h3 {
    margin: 0 0 5px;
}
.livechat-start-chat button {
    background: var(---livechat-primary);
    border: none;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}
.livechat-start-chat button:hover {
    background: var(---livechat-primary-hover);
}

/* ---------- Common Issues ---------- */
.livechat-common-issues {
    margin-top: 28px;
}
.livechat-common-issues h3 {
    margin-top: 0;
}
.livechat-issues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.livechat-issue-item {
    border: 1px solid var(---livechat-border);
    border-radius: 10px;
    padding: 10px 14px;
    background: var(---livechat-card);
    transition: 0.25s;
    cursor: pointer;
}
.livechat-issue-item:hover {
    background: var(---livechat-accent-light);
    border-color: var(---livechat-primary);
}

/* ================================
   ✅ Responsive Enhancements
================================ */
@media (max-width: 992px) {
    .livechat-grid-2 {
        grid-template-columns: 1fr;
    }
    .livechat-sidebar {
        order: 2;
    }
    .livechat-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .livechat-header h1 {
        font-size: 1.6rem;
    }
    .livechat-header p {
        font-size: 0.95rem;
    }
    .livechat-support-methods {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .livechat-start-chat {
        padding: 18px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .livechat-header .livechat-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    .livechat-header h1 {
        font-size: 1.4rem;
    }
    .livechat-support-methods {
        grid-template-columns: 1fr;
    }
    .livechat-start-chat button {
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
    }
    .livechat-card {
        padding: 16px;
        border-radius: 12px;
    }
}

.form-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-transform: capitalize;
}

.form-status.active {
  background-color: #16a34a; /* green */
}

.form-status.pending {
  background-color: #facc15; /* yellow */
  color: #000;
}

.form-status.failed {
  background-color: #dc2626; /* red */
}

.text-success {
    color: #16a34a; /* green */
}

/* ======================================= Dropdown Form ============================= */

/* ====== Form group ====== */
.wd-form-group {
  position: relative;
  margin: 0 auto;
}

.wd-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--wd-label);
}

.dropdown-arrow {
  position: absolute;
  top: 50px;
  right: 0.8rem;
  transform: translateY(-50%);
  font-size: 15px;
  color: #130101;
  pointer-events: none;
}
/*--------------------------Clear Input Icon --------------------*/
.form-group {
  position: relative;
}
.clear-icon {
  display: none;
  position: absolute;
  right: 1.2rem;
  top: 55px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  cursor: pointer;
}
.clear-icon:hover {
  color: #333;
}
/* Show icon only if input has text and input is focused or hovered */
.form-group.show-icon:hover .clear-icon,
.form-group.show-icon:focus-within .clear-icon {
  display: block;
}

.form-required{
    color: #e11717;
}

/*--------------------------Clear Select Icon --------------------*/
.clear-icon-select {
  display: none;
  position: absolute;
  right: 2.2rem;
  top: 50px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  cursor: pointer;
}
.clear-icon-select:hover {
  color: #333;
}
@media (max-width: 480px) {
  .clear-icon-select {
    top: 42px;
  }
}
/* Show icon only if input has text and input is focused or hovered */
.wd-form-group.show-icon:hover .clear-icon-select,
.wd-form-group.show-icon:focus-within .clear-icon-select {
  display: block;
}
/* Show icon only if input has text and input is focused or hovered */
.form-group.show-icon:hover .clear-icon-select,
.form-group.show-icon:focus-within .clear-icon-select {
  display: block;
}

/* ====== Dropdown ====== */
#location-picker {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--wd-order);
  border-radius: 12px;
  box-shadow: var(--wd-shadow);
  z-index: 10;
  display: none;
  transition: all 0.3s ease;
}

/* ====== Nav tabs ====== */
.wd-nav {
  background: var(--wd-nav-bg);
  border-bottom: 1px solid var(--wd-tab-border);
  padding: 6px 8px;
  display: flex;
  gap: 6px;
  border-radius: 12px 12px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none; /* ✅ remove bullet points */
  margin: 0;        /* ✅ remove default margin */
}

.wd-nav::-webkit-scrollbar {
  display: none;
}

.wd-nav-item {
  flex: 0 0 auto;
}

.wd-nav-link {
  border: none;
  background: transparent;
  color: var(--wd-nav-text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.wd-nav-link:hover {
  background: var(--wd-nav-hover-bg);
  color: var(--wd-text);
}

.wd-nav-link.active {
  color: var(--wd-nav-active-text);
  background: #fff;
  border-bottom: 2px solid var(--wd-accent);
}

.wd-nav-link.disabled-tab {
  color: #cbd5e1 !important;
  cursor: not-allowed;
}

/* ====== Tab content ====== */
.wd-tab-additional {
  max-height: 220px;
  overflow-y: auto;
  padding: 12px 16px;
}

.wd-tab-additional::-webkit-scrollbar {
  width: 6px;
}
.wd-tab-additional::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* ====== Tab content items ====== */
.wd-tab-content-item {
  padding: 10px 4px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-size: 15px;
  color: var(--wd-text);
  transition: background 0.2s ease;
}

.wd-tab-content-item:hover {
  background: var(--wd-item-hover);
}

.wd-tab-content-item.selected {
  color: var(--wd-accent);
  font-weight: 600;
}

.dark #location-picker {
  background: #1e293b;
  border-color: var(--wd-order);
}

.dark .wd-nav-link.active {
  background: #0f172a;
  border-color: var(--wd-accent);
}

.dark .wd-tab-content-item {
  border-bottom: 1px solid #334155;
}

/* ====== Responsive ====== */
@media (max-width: 600px) {
  .wd-nav-link { font-size: 14px; padding: 8px 10px; }
  .wd-tab-content-item { font-size: 14px; }
}

/*------------------------------Table Withdraw Account ----------------------------------*/
/* ====== WRAPPER ====== */
.wt-withdraw-card {
    background: var(--wt-bg-box);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--wt-border);
    max-width: 1000px;
    margin: auto;
}

.wt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.wt-header h2 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wt-header h2::before {
    content: "🔔";
    font-size: 18px;
}

.wt-header p {
    font-size: 14px;
    color: var(--wt-text-muted);
    margin: 6px 0 0 0;
    width: 100%;
}

.wt-btn-add {
    background: var(--wt-btn-yellow);
    color: #fff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.wt-btn-add:hover { background: #fbbf24; }

.wt-btn-export {
  background: var(--wt-btn-green);
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin-right: -400px;
}
.wt-btn-export:hover { background: #157220; }

@media (max-width: 600px) {
  .wt-btn-export {
    margin-right: 0;
    margin-top: 10px;
  }
  .wt-btn-add {
    margin-top: 10px;
  }
}

/* ====== TABLE STYLE (DESKTOP) ====== */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: var(--wt-bg-header);
}

th, td {
    padding: 14px 16px;
    text-align: left;
}

th {
    color: var(--wt-text-muted);
    font-size: 14px;
    font-weight: 600;
}

td {
  border-top: 1px solid var(--wt-border);
  font-size: 15px;
}

.status {
    color: var(--wt-success);
    font-weight: 600;
}

.wt-btn-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--wt-btn-bg);
    color: #fff;
    border: 1px solid var(--wt-btn-border);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.wt-btn-update:hover {
    background: var(--wt-btn-hover);
}

/* ====== MOBILE VIEW (CARD STYLE) ====== */
@media (max-width: 768px) {
  thead { display: none; }

  table, tbody, tr, td {
      display: block;
      width: 100%;
  }

  tr {
    background: var(--wt-bg-header);
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--wt-border);
    padding: 12px 14px;
  }

  td {
      padding: 8px 0;
      border: none;
      justify-content: space-between;
      align-items: center;
  }

  td::before {
      content: attr(data-label);
      font-weight: 600;
      color: var(--wt-text-muted);
      font-size: 12px;
      text-transform: uppercase;
  }

  .td-value {
      display: block;
      font-size: 15px;
      color: var(--pc-light);
      word-break: break-word;
      white-space: normal;
  }

  td:last-child {
      justify-content: center;
      padding-top: 10px;
  }

  /* ✅ Hide the "Action" label text on mobile */
  td.action::before {
      display: none;
      content: "";
  }

  .wt-btn-update {
      width: 100%;
      justify-content: center;
      padding: 10px;
  }
}

.no-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    font-size: 1.1rem;
    border: 1px solid #1e293b;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    margin-top: 20px;
}

.no-records-icon {
    font-size: 24px;
    background: #1e293b;
    color: #f8fafc;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-records p {
    margin: 0;
    color: #e2e8f0;
    font-weight: 500;
}
.no-records i {
    font-size: 32px;
    color: #38bdf8;
}

.light .no-records {
    background: linear-gradient(180deg, #dcd9d9 0%, #ffffff 100%);
    color: #000000;
    border: 1px solid #6f7380;
}
.light .no-records p {
    color: #000000;
}

/* Desktop layout */
.form-row-new {
  display: flex;
  width: 100%;
  gap: 15px;
  align-items: center;
}

/* 3 column distribution */
.col-label {
  flex: 0 0 15%; /* label width */
  text-align: right;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.col-fields {
  flex: 0 0 60%;
  display: flex;
  gap: 10px;
}

.col-buttons {
  flex: 0 0 10%;
  display: flex;
  justify-content: flex-end;
}

/* Select + Input inside .col-fields */
.col-fields {
  flex: 0 0 60%;
  display: flex;
  gap: 10px;
}

/* Adjustable select width */
.col-fields select {
  flex: 0 0 220px; /* you can change 220px to any size you want */
  max-width: 30%; /* optional to prevent being too wide */
}

/* Input auto-fills the rest */
.col-fields input[type="text"] {
  flex: 1;
}


/* Button */
.btn-dark {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 9px 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-dark:hover {
    background: #c82333;
}

/* 🔥 Responsive layout — collapse on mobile & tablet */
@media (max-width: 900px) {
  .form-row-new {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .col-label {
    flex: unset;
    text-align: left;
    font-size: 15px;
    margin-bottom: 2px;
  }

  .col-fields {
    flex: unset;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .col-fields select,
  .col-fields input {
    width: 100%;
    max-width: 100%;
    flex: unset;
  }

  .col-buttons {
    flex: unset;
    justify-content: flex-start;
    width: 100%;
  }
}

.share-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.share-label {
  font-weight: 600;
  margin-right: 8px;
  font-size: 16px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: #f1f1f1;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s ease;
}

.share-btn i {
  font-size: 16px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  color: #fff;
}

/* Platform hover colors */
.share-btn.facebook:hover { background: #1877f2; }
.share-btn.twitter:hover { background: #000; } /* X / Twitter */
.share-btn.messenger:hover { background: #0084ff; }
.share-btn.whatsapp:hover { background: #25d366; }
.share-btn.viber:hover { background: #7360f2; }
.share-btn.telegram:hover { background: #1d98dc; }

/* Mobile view */
@media (max-width: 575px) {
  .share-wrapper {
    justify-content: flex-start;
  }
  .share-btn span {
    display: none;
  }
  .share-btn {
    padding: 10px;
    border-radius: 50%;
  }
}

.vendor-slider {
  width: 100%;
  overflow: hidden;
  padding: 15px 0;
  margin-bottom: 2rem;
}

.vendor-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: scrollVendors 25s linear infinite;
}

/* Vendor Card */
.vendor {
  background: linear-gradient(145deg, #0c1024, #070a1a);
  border-radius: 18px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Gold border effect */
  border: 2px solid rgba(255, 220, 90, 0.4);
  box-shadow:
          0 0 10px rgba(255, 200, 70, 0.25),
          inset 0 0 10px rgba(255, 200, 70, 0.08);
  transition: 0.3s;
}

.vendor img {
  height: 55px;
  object-fit: contain;
  transition: 0.3s;
}

/* Hover Animation */
.vendor:hover {
  transform: scale(1.12);
  border-color: rgba(255, 215, 100, 0.9);
  box-shadow:
          0 0 20px rgba(255, 218, 125, 0.65),
          inset 0 0 14px rgba(255, 218, 125, 0.25);
}

.vendor:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(255, 215, 105, 0.9));
}

/* Loop Animation */
@keyframes scrollVendors {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .vendor-track { gap: 18px; }
  .vendor {
    padding: 8px 16px;
    border-radius: 14px;
  }
  .vendor img { height: 40px; }
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(192, 192, 192, 0.22);
}

.balance__amount {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #f6e7a9;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.balance__refresh {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(192, 192, 192, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border 160ms ease;
}

.balance__refresh:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.balance__refresh svg {
  width: 16px;
  height: 16px;
}

.balance__refresh.is-spinning svg {
  animation: spin .6s linear;
}

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

  to {
    transform: rotate(360deg);
  }
}

/* Navbar responsive styles */
@media (max-width: 768px) {
  .balance-pill {
    padding: 6px 8px;
  }

  .balance__amount {
    font-size: 13px;
  }

  .balance__refresh {
    width: 24px;
    height: 24px;
  }

  .balance__refresh svg {
    width: 14px;
    height: 14px;
  }
}


@media (max-width: 600px) {
  .balance-pill {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .balance-pill {
    padding: 6px 6px;
    flex: 0 0 auto;
    margin-left: 5px;
    margin-right: 5px;
  }

  .balance__amount {
    font-size: 12px;
  }

  .balance__refresh {
    width: 22px;
    height: 22px;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 192, 192, 0.18);
  cursor: pointer;
  transition: transform 120ms ease, background 180ms ease, border 180ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(0);
}

.icon-btn:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.35);
}

.icon-bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: #c0c0c0;
}

.icon-bars::before,
.icon-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #c0c0c0;
}

.icon-bars::before {
  top: -6px;
}

.icon-bars::after {
  top: 6px;
}