/* ==========================================================================
   METASTAKE PRO — LUXURY COLOR GRADING, PWA & MOBILE FIRST ARCHITECTURE
   ========================================================================== */

:root, body, #app, .landing-root {
  --ls-bg-base: #060813 !important;
  --ls-bg-alt: #0a0f20 !important;
  --ls-bg-raised: #0f172a !important;
  --ls-bg-sunken: #04050b !important;
  --ls-bg-accent: #1e293b !important;
  
  /* Primary Cyber Emerald & Electric Cyan Gradient */
  --ls-primary: #10b981 !important;
  --ls-primary-rgb: 16, 185, 129 !important;
  --ls-primary-dark: #059669 !important;
  --ls-primary-light: #34d399 !important;
  --ls-primary-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%) !important;
  --ls-primary-glow: rgba(16, 185, 129, 0.35) !important;
  
  /* Secondary Accents */
  --ls-cyan: #06b6d4 !important;
  --ls-gold: #f59e0b !important;
  --ls-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
  --ls-vip-purple: #8b5cf6 !important;
  --ls-vip-gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%) !important;
  
  /* Borders & Surfaces */
  --ls-border: rgba(255, 255, 255, 0.08) !important;
  --ls-border-strong: rgba(255, 255, 255, 0.16) !important;
  --ls-border-glow: rgba(16, 185, 129, 0.45) !important;
  --ls-card-glass: rgba(15, 23, 42, 0.78) !important;
  --ls-card-border: rgba(255, 255, 255, 0.07) !important;
  
  /* Typography */
  --ls-text: #ffffff !important;
  --ls-text-sub: #cbd5e1 !important;
  --ls-text-muted: #94a3b8 !important;
  --ls-on-primary: #04050b !important;
  --ls-on-primary-sub: #0f172a !important;
}

/* Ensure smooth dark base background with ambient neon depth & zero horizontal scroll */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

#app, #viewContainer, .meta-live-market-top, .meta-home-content, .app-view-container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Hide legacy Inertia React landing page clutter under #app */
#app > div:not(#metaLiveMarketTop):not(#metaHomeContent),
section[class*="pt-28"],
section[class*="pb-14"],
.hero-slide,
.hero-fade,
.hero-slide-right,
[class*="hero-ticker"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background-color: var(--ls-bg-base) !important;
  color: var(--ls-text) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 40%) !important;
  background-attachment: fixed !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  padding-bottom: 76px; /* Space for Mobile Bottom Nav */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Fix for all text gradients that previously became invisible */
[style*="background-clip: text"],
[style*="WebkitBackgroundClip: text"],
.text-gradient {
  background: var(--ls-primary-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block;
}

.text-gradient-gold {
  background: var(--ls-gold-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.text-gradient-vip {
  background: var(--ls-vip-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ==========================================================================
   ENHANCED GLASSMORPHISM & CARD STYLING
   ========================================================================== */
.glass-panel {
  background: var(--ls-card-glass) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--ls-card-border) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-panel:hover {
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.15) !important;
}

/* Glowing Neon Buttons */
.btn-neon-primary {
  background: var(--ls-primary-gradient) !important;
  color: #040812 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
}

.btn-neon-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.btn-neon-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4) !important;
}

.btn-neon-gold {
  background: var(--ls-gold-gradient) !important;
  color: #0a0601 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
  border-radius: 12px;
}

.btn-neon-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6) !important;
}

/* Glass Outline Buttons */
.btn-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #10b981 !important;
}

/* Badges */
.badge-neon {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

/* Pulse Glow Keyframes */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 35px rgba(6, 182, 212, 0.5);
  }
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.animate-pulse-neon {
  animation: neonPulse 3s infinite ease-in-out;
}

.animate-float {
  animation: floatAnim 4s infinite ease-in-out;
}

/* ==========================================================================
   MOBILE & DESKTOP USER INTERFACE: DOCK, HEADER, NAV
   ========================================================================== */
.meta-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(6, 8, 19, 0.90) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  z-index: 99999;
  padding: 0 8px;
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 6px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  touch-action: manipulation;
}

.meta-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  position: relative;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
}

.meta-nav-item:active {
  transform: scale(0.92);
}

.meta-nav-item i, .meta-nav-item svg {
  font-size: 19px;
  margin-bottom: 3px;
  transition: all 0.2s ease;
}

.meta-nav-item.active {
  color: #10b981 !important;
}

.meta-nav-item.active i, .meta-nav-item.active svg {
  color: #10b981 !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.7));
}

.meta-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 20px;
  height: 3px;
  background: var(--ls-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 0 8px #10b981;
}

/* Center Floating Deposit Button */
.meta-deposit-fab {
  position: relative;
  top: -14px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #040812 !important;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border: 3px solid #060813;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.meta-deposit-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.8), 0 0 35px rgba(6, 182, 212, 0.5);
}

.meta-deposit-fab:active {
  transform: scale(0.92);
}

/* ==========================================================================
   TOP STICKY APP HEADER (RESPONSIVE FOR MOBILE & DESKTOP)
   ========================================================================== */
.meta-mobile-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(6, 8, 19, 0.90) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.meta-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.meta-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.meta-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.meta-brand-name span {
  background: var(--ls-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta-user-balance-chip {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  transition: all 0.2s ease;
}

.meta-user-balance-chip:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* Desktop Navbar */
.meta-desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

.meta-desktop-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.meta-desktop-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.meta-desktop-nav-link.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.header-ref-pill {
  animation: neonPulse 3s infinite ease-in-out;
}
.header-ref-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Responsive Queries for Desktop vs Mobile Header & Dock */
@media (min-width: 992px) {
  .meta-desktop-nav {
    display: flex !important;
  }
  .meta-desktop-auth-item {
    display: flex !important;
  }
  .meta-bottom-nav {
    display: none !important;
  }
  #mobileMenuToggle {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 991px) {
  .meta-desktop-nav {
    display: none !important;
  }
  .meta-desktop-auth-item {
    display: none !important;
  }
  .meta-bottom-nav {
    display: flex !important;
  }
  #mobileMenuToggle {
    display: flex !important;
  }
}

/* ==========================================================================
   PWA INSTALLATION BANNER & MODAL
   ========================================================================== */
.pwa-banner {
  position: fixed;
  top: 70px;
  right: 20px;
  max-width: 380px;
  width: calc(100% - 40px);
  background: rgba(13, 19, 36, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.2);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.pwa-banner img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.pwa-banner-text h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pwa-banner-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.pwa-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ==========================================================================
   INTERACTIVE VIEWS: PLANS, DEPOSIT, WITHDRAW
   ========================================================================== */
.app-view-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* Plan Card Styles */
.plan-card {
  position: relative;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--plan-color, var(--ls-primary-gradient));
  opacity: 0.8;
  transition: height 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.18);
}

.plan-card:hover::before {
  height: 6px;
}

.plan-card.featured {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.plan-featured-tag {
  position: absolute;
  top: 14px;
  right: -32px;
  background: var(--ls-primary-gradient);
  color: #050811;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 35px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.plan-roi-headline {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 4px;
  color: #ffffff;
}

.plan-feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.plan-feature-row:last-child {
  border-bottom: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #060813;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}


/* ==========================================================================
   REMOVE P2P & EXTRA CLUTTER ACROSS ENTIRE PLATFORM
   ========================================================================== */
a[href*="p2p"],
a[href*="p2p-trade"],
[href*="p2p"],
[data-p2p],
.p2p-badge,
.p2p-table,
.p2p-section,
.p2p-preview,
nav a[href*="p2p"],
#cookie-banner,
.cookie-banner,
.cookie-consent,
[class*="cookie-banner"],
[class*="cookieConsent"],
div[data-section="p2p"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ==========================================================================
   PRO LIVE MARKET DASHBOARD (TOP OF HOME PAGE)
   ========================================================================== */
.meta-live-market-top {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 16px auto 24px;
  padding: 0 16px;
  z-index: 20;
}

/* Live Market Header Strip */
.market-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Horizontal Responsive Scrolling Ticker */
.market-ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .market-ticker-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .market-card-mini {
    min-width: 190px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

.market-card-mini {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.market-card-mini:hover, .market-card-mini.active {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.market-card-mini.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ls-primary-gradient);
}

.price-flash-green {
  animation: flashGreen 0.6s ease-out;
}
.price-flash-red {
  animation: flashRed 0.6s ease-out;
}

@keyframes flashGreen {
  0% { background: rgba(16, 185, 129, 0.35); }
  100% { background: transparent; }
}
@keyframes flashRed {
  0% { background: rgba(239, 68, 68, 0.35); }
  100% { background: transparent; }
}

/* Big Live Pro Market Overview Card */
.market-overview-main {
  background: rgba(13, 19, 36, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.1);
  margin-bottom: 24px;
}

.market-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.market-tab-btn.active, .market-tab-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #34d399;
}

/* ==========================================================================
   AUTHENTICATION VIEW (SIGN IN & SIGN UP)
   ========================================================================== */
.auth-container {
  max-width: 480px;
  margin: 20px auto 60px;
  padding: 0 16px;
}

.auth-card {
  background: rgba(13, 19, 36, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  background: rgba(6, 8, 19, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab-btn.active {
  background: var(--ls-primary-gradient);
  color: #040812;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.auth-input-group {
  margin-bottom: 18px;
  position: relative;
}

.auth-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap i.input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-input {
  width: 100%;
  background: rgba(6, 8, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 40px 13px 40px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
}

.auth-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.auth-input:focus + .input-icon, .auth-input:focus ~ .input-icon {
  color: #10b981;
}

.toggle-password-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

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

/* Password Strength Bar */
.password-meter-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
  display: flex;
}

.password-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 999px;
}

/* Web3 Wallet Buttons */
.web3-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.web3-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.web3-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   REFERRAL SYSTEM ("MORE REFER = MORE EARN")
   ========================================================================== */
.referral-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.referral-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.referral-tier-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.referral-tier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.referral-tier-card.active-tier {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.referral-tier-card.active-tier::before {
  content: 'CURRENT TIER';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ls-primary-gradient);
  color: #040812;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 2px 0;
}

.referral-progress-wrap {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin: 12px 0;
}

.progress-fill-neon {
  height: 100%;
  background: var(--ls-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.share-link-box {
  background: rgba(6, 8, 19, 0.9);
  border: 1px dashed rgba(16, 185, 129, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.share-social-grid {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn-round {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: all 0.25s ease;
}

.share-btn-round:hover {
  transform: translateY(-2px);
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.share-btn-telegram:hover { background: #229ed9; color: #fff; border-color: #229ed9; }
.share-btn-whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-btn-twitter:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.share-btn-facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn-email:hover { background: #ea4335; color: #fff; border-color: #ea4335; }

/* Interactive Range Slider */
.calc-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin: 12px 0;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  transition: transform 0.15s;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}


/* ==========================================================================
   MOBILE PERFECTION: FORM ZOOM FIX, TOUCH SNAPPING & COMPACT LAYOUT
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent iOS auto-zoom bug on inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  .auth-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  .referral-container {
    padding: 0 12px 75px !important;
  }

  .app-view-container {
    padding: 16px 12px 75px !important;
  }

  /* Silky smooth horizontal swipe for referral tiers on mobile */
  .referral-tier-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
    gap: 12px !important;
    scrollbar-width: none !important;
  }
  .referral-tier-grid::-webkit-scrollbar {
    display: none !important;
  }
  .referral-tier-card {
    min-width: 210px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }

  /* Market ticker grid smooth touch swipe */
  .market-ticker-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
    scrollbar-width: none !important;
  }
  .market-ticker-grid::-webkit-scrollbar {
    display: none !important;
  }
  .market-card-mini {
    min-width: 175px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    padding: 12px !important;
  }

  .market-overview-main {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  /* 2x2 grid for Affiliate stats on mobile */
  .referral-stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Market Action Button Group on mobile */
  .market-action-btn-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .market-action-btn-group button {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
  }

  .meta-home-content {
    padding: 0 12px !important;
  }
}

/* Base Market Action Button Group */
.market-action-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Universal Responsive Table Styling */
.table-responsive, [style*="overflow-x:auto"], [style*="overflow-x: auto"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
}
table {
  max-width: 100%;
}

/* ==========================================================================
   METASTAKE PRO — ULTRA-LUXURY MOBILE NAVIGATION DRAWER
   ========================================================================== */
#metaMobileDrawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(3, 5, 12, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: none;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#drawerPanel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  background: linear-gradient(180deg, #090e21 0%, #050711 100%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.75), inset 1px 0 0 rgba(16, 185, 129, 0.12) !important;
  padding: 20px 16px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  box-sizing: border-box !important;
}

#drawerPanel::-webkit-scrollbar {
  display: none !important;
}

/* User Profile Header */
.drawer-user-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
}

.drawer-user-meta {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.drawer-avatar-wrap {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  padding: 2px !important;
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35) !important;
  flex-shrink: 0 !important;
}

.drawer-avatar-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #0f172a !important;
  display: block !important;
}

.drawer-online-dot {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 11px !important;
  height: 11px !important;
  background: #10b981 !important;
  border: 2px solid #090e21 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.drawer-user-info {
  min-width: 0 !important;
}

.drawer-user-info h4 {
  margin: 0 !important;
  font-size: 15px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.drawer-user-tag-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 3px !important;
  flex-wrap: wrap !important;
}

.drawer-tier-pill {
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1.2 !important;
}

.drawer-user-eth {
  font-size: 11px !important;
  color: #64748b !important;
  font-family: monospace !important;
}

.drawer-close-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.drawer-close-btn:hover, .drawer-close-btn:active {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #ef4444 !important;
}

/* Portfolio Card */
.drawer-portfolio-card {
  position: relative !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, rgba(15, 23, 42, 0.8) 55%, rgba(6, 182, 212, 0.07) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.drawer-portfolio-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 6px !important;
}

.drawer-portfolio-label {
  font-size: 11px !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
}

.drawer-live-sync-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
}

.drawer-live-sync-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 6px #10b981 !important;
  animation: pulseGlow 1.8s infinite !important;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.drawer-balance-amount {
  font-size: 25px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}

.drawer-balance-curr {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  letter-spacing: 0.04em !important;
}

.drawer-action-btn-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.drawer-dep-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28) !important;
  transition: all 0.2s ease !important;
}

.drawer-dep-btn:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
}

.drawer-wdr-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.drawer-wdr-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Referral Hub VIP Banner */
.drawer-referral-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(16, 185, 129, 0.12) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  border-radius: 14px !important;
  padding: 11px 13px !important;
  margin-bottom: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.drawer-referral-banner:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-1px) !important;
}

.drawer-referral-icon-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 16px !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
  flex-shrink: 0 !important;
}

.drawer-referral-text-wrap {
  flex: 1 !important;
  min-width: 0 !important;
}

.drawer-referral-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.drawer-referral-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.drawer-referral-badge {
  font-size: 9px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  color: #fff !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em !important;
}

.drawer-referral-sub {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.drawer-referral-cta {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #fbbf24 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 3px !important;
}

/* Modern App Navigation Menu Items */
.drawer-nav-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
}

.drawer-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: transparent !important;
  transition: all 0.18s ease !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
}

.drawer-nav-item:hover, .drawer-nav-item.active {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

.drawer-nav-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.drawer-nav-label {
  flex: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.drawer-nav-badge {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}

.drawer-nav-chevron {
  font-size: 10px !important;
  color: #475569 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.drawer-nav-item:hover .drawer-nav-chevron {
  color: #10b981 !important;
  transform: translateX(2px) !important;
}

/* Footer Action Buttons */
.drawer-footer-wrap {
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.drawer-install-btn {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16) 0%, rgba(16, 185, 129, 0.16) 100%) !important;
  border: 1px solid rgba(6, 182, 212, 0.32) !important;
  color: #38bdf8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 9px 12px !important;
  border-radius: 11px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}

.drawer-install-btn:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.26) 0%, rgba(16, 185, 129, 0.26) 100%) !important;
  border-color: rgba(6, 182, 212, 0.5) !important;
  color: #ffffff !important;
}

.drawer-signout-btn {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.22) !important;
  color: #f87171 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 12px !important;
  border-radius: 11px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}

.drawer-signout-btn:hover {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ffffff !important;
}

.drawer-bottom-meta {
  font-size: 10.5px !important;
  color: #64748b !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding-top: 2px !important;
}

.drawer-admin-link {
  color: #06b6d4 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.drawer-admin-link:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}


