@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Rajdhani:wght@600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* ==========================================================================
   NEXUS UC STORE — ULTRA PREMIUM DESIGN SYSTEM v6.0
   Dark Cyberpunk · Glassmorphism · E-Commerce Optimized
   ========================================================================== */

:root {
  --bg-dark:        #070b14;
  --bg-surface:     #0e1526;
  --bg-card:        #131b2e;
  --bg-card-hover:  #1c2740;
  --bg-input:       #090e1a;

  --accent-gold:   #fbbf24;
  --gold:          #fbbf24;
  --accent-orange: #f97316;
  --accent-cyan:   #38bdf8;
  --cyan:          #38bdf8;
  --accent-green:  #10b981;
  --green:         #10b981;
  --accent-red:    #ef4444;
  --red:           #ef4444;
  --accent-purple: #a855f7;

  --gold-glow:     rgba(251, 191, 36, 0.22);
  --gold-glow-sm:  rgba(251, 191, 36, 0.12);
  --cyan-glow:     rgba(56, 189, 248, 0.2);
  --green-glow:    rgba(16, 185, 129, 0.2);

  --text-main:   #f8fafc;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;

  --border:        rgba(255, 255, 255, 0.12);
  --border-color:  rgba(255, 255, 255, 0.12);
  --border-gold:   rgba(251, 191, 36, 0.35);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-main:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head:    'Rajdhani', 'Outfit', sans-serif;
  --font-heading: 'Rajdhani', 'Outfit', sans-serif;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 30px rgba(251, 191, 36, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; border: 1px solid var(--border); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── NAVBAR ─── */
.navbar {
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.brand-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

.brand span { color: var(--accent-gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-auth {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.48rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-auth:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  
}

.btn-auth-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  border: none;
  color: #000;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
}

.btn-auth-primary:hover {
  box-shadow: 0 0 20px var(--gold-glow);
  
}

.btn-user-dashboard {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(14, 165, 233, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--cyan);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-main);
  backdrop-filter: blur(8px);
}

.btn-user-dashboard:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  
}

.btn-user-logout {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-main);
  backdrop-filter: blur(8px);
}

.btn-user-logout:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
  
}

/* ─── OPTIMIZED COMPACT HERO SECTION ─── */
.hero-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251, 191, 36, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, #0e1526 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 2.2rem 1.5rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  box-shadow: 0 0 16px var(--gold-glow-sm);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 660px;
}

.hero-stats-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 680px;
  margin-top: 0.35rem;
}

.hero-stat-card {
  background: linear-gradient(145deg, #131b2e 0%, #1c2740 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.2);
}

.hero-stat-val {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 12px var(--gold-glow-sm);
}

.hero-stat-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── MAIN CONTENT & STORE CONTROLS ─── */
.main-content {
  padding: 2rem 0 3.5rem;
  flex: 1;
}

.page-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── ULTRA-MODERN CYBER SEARCH BAR ─── */
.store-controls-bar-upgraded {
  margin: 1.5rem 0 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-box-wrap-large {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.85) 0%, rgba(9, 13, 24, 0.92) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  width: 100%;
  max-width: 780px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.search-box-wrap-large:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(251, 191, 36, 0.15);
}

.search-box-wrap-large:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(251, 191, 36, 0.3), inset 0 0 15px rgba(251, 191, 36, 0.05);
  
}

.search-icon-large {
  width: 22px;
  height: 22px;
  color: var(--accent-gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.45));
  transition: transform 0.2s ease;
}

.search-box-wrap-large:focus-within .search-icon-large {
  transform: scale(1.1);
}

.search-box-input-large {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  font-family: var(--font-main);
  letter-spacing: 0.01em;
}

.search-box-input-large::placeholder {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
}

.search-badge-hint {
  display: inline-flex;
  align-items: center;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-head);
  flex-shrink: 0;
}

/* ─── E-COMMERCE UC PACKAGE PRODUCT CARDS ─── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.plan-card {
  background: linear-gradient(165deg, #111827 0%, #0c1220 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 16px;
  padding: 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.22);
}

.plan-badge {
  position: absolute;
  top: -11px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.35);
}

.card-img-wrapper {
  width: 80px;
  height: 80px;
  margin: 0.6rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-amount {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.plan-bonus {
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: inline-block;
}

.plan-price-btn {
  width: 100%;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  border: none;
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
  letter-spacing: 0.02em;
}

.plan-price-btn:hover {
  box-shadow: 0 0 20px var(--gold-glow);
  
}

/* ─── MODALS ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-main);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--gold-glow-sm);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  border: none;
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
}

.btn-submit:hover {
  box-shadow: 0 0 25px var(--gold-glow);
  
}

.pass-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-eye-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ─── PAYMENT SELECTION GRID ─── */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.payment-item:hover, .payment-item.active {
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.2);
}

.payment-name-only {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.payment-item.active .payment-name-only {
  color: var(--accent-gold);
}

/* ─── ENHANCED KEY GENERATED MODAL STYLES ─── */
.key-success-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 0.85rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.06) 70%);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.key-box-display {
  background: radial-gradient(ellipse at top, rgba(251, 191, 36, 0.07) 0%, rgba(13, 19, 33, 0.98) 70%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin: 1.15rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.key-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
}

.key-code-recessed {
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(251, 191, 36, 0.1);
}

.key-code-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 2px;
  word-break: break-all;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
}

.key-timer-banner-upgraded {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f87171;
  margin: 0.75rem auto;
}

.key-timer-banner-upgraded span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 800;
}

.key-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-key-action-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  transition: all 0.2s ease;
}

.btn-key-action-gold:hover {
  
  box-shadow: 0 6px 22px rgba(251, 191, 36, 0.45);
}

.btn-key-action-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-key-action-emerald:hover {
  
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

.btn-receipt-modern {
  width: 100%;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.btn-receipt-modern:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #60a5fa;
  color: #fff;
}

/* ─── TOAST NOTIFICATIONS ─── */
#toastContainer {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-msg-top {
  background: #0e1526;
  border: 1px solid var(--accent-gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  pointer-events: auto;
  
}

.toast-cut-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.toast-cut-btn:hover {
  color: #ffffff;
}

@keyframes toastSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shake-err {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shake, .shake-err {
  animation: shake-err 0.4s ease-in-out !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.45) !important;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 1rem !important;
  text-align: center !important;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: #060a12;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer .container {
  width: 100% !important;
  max-width: 1240px;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer-dev {
  color: var(--accent-gold);
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ─── COMPREHENSIVE MOBILE & RESPONSIVE DESIGN SYSTEM ─── */
button, input, select, textarea, a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .container { padding: 0 1rem; }
}

@media (max-width: 860px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .hero-stats-grid { gap: 0.65rem; }
  .hero-stat-card { min-width: 110px; padding: 0.65rem 0.65rem; }
  .hero-title { font-size: 1.7rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.5rem 0; }
  .nav-wrap { flex-wrap: wrap; gap: 0.5rem; }
  .brand { font-size: 1.15rem; gap: 0.5rem; }
  .brand-img { width: 34px; height: 34px; }
  .nav-actions { gap: 0.35rem; flex-wrap: wrap; }
  .btn-auth, .btn-auth-primary { padding: 0.4rem 0.65rem; font-size: 0.78rem; border-radius: 8px; }
  
  .hero-section { padding: 1.5rem 0.85rem 1.25rem; }
  .hero-badge { font-size: 0.68rem; padding: 0.25rem 0.75rem; letter-spacing: 0.8px; }
  .hero-title { font-size: 1.5rem; line-height: 1.25; }
  .hero-subtitle { font-size: 0.82rem; margin-bottom: 0.85rem; }

  .store-controls-bar-upgraded { margin: 0.85rem 0 1.25rem; }
  .search-box-wrap-large { padding: 0.55rem 0.85rem; border-radius: 12px; }
  .search-box-input-large { font-size: 0.82rem; }

  /* 2-Column Grid on Mobile for compact browsing */
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .plan-card { padding: 1rem 0.65rem; border-radius: 14px; }
  .plan-badge { font-size: 0.62rem; padding: 0.15rem 0.55rem; top: -9px; }
  .card-img-wrapper { width: 64px; height: 64px; margin: 0.4rem 0; border-radius: 10px; }
  .plan-amount { font-size: 1.15rem; }
  .plan-bonus { font-size: 0.7rem; padding: 0.15rem 0.45rem; margin-bottom: 0.75rem; }
  .plan-price-btn { padding: 0.55rem 0.4rem; font-size: 0.78rem; border-radius: 8px; }

  /* Mobile Overlay & Modal Safety */
  .modal-overlay { padding: 0.75rem; align-items: flex-end; }
  .modal-card {
    max-width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.35rem 1rem;
    border-radius: 20px 20px 14px 14px;
  }
  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 20;
  }

  .payment-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .payment-item { padding: 0.6rem 0.5rem; }
}

@media (max-width: 480px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .plan-card { padding: 0.85rem 0.45rem; }
  .card-img-wrapper { width: 56px; height: 56px; }
  .plan-amount { font-size: 1.05rem; }
  .plan-price-btn { font-size: 0.75rem; padding: 0.5rem 0.35rem; }
  .payment-grid { grid-template-columns: 1fr; }
  .modal-card { max-height: 92vh; padding: 1.15rem 0.85rem; }
  .purchased-package-card { padding: 1.15rem 0.95rem; border-radius: 16px; }
  .purchased-card-body { grid-template-columns: 1fr; gap: 1rem; }
  .purchased-key-box { flex-direction: column; align-items: stretch; text-align: center; gap: 0.65rem; }
  .purchased-key-inner { justify-content: center; }
  .purchased-key-code { font-size: 1.12rem; }
  .btn-copy-purchased { width: 100%; justify-content: center; }
  .purchased-actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
  .btn-purchased-action { width: 100%; justify-content: center; font-size: 0.72rem; padding: 0.55rem 0.3rem; }
  .purchased-header-actions { width: 100%; justify-content: space-between; margin-top: 0.4rem; }
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .dash-quick-actions { flex-direction: column; gap: 0.5rem; }
  .dash-quick-actions button { width: 100%; }
  #dashAddPackageForm, #dashAddPlayerForm { grid-template-columns: 1fr !important; }
}

/* --- Authentication Locked State for Packages --- */
.plans-locked-card {
  grid-column: 1 / -1;
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.08) 0%, rgba(13, 18, 32, 0.95) 70%);
  border: 1.5px dashed rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  margin: 1rem 0 2rem;
}

.plans-locked-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: rgba(251, 191, 36, 0.12);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 0 25px var(--gold-glow);
}

.plans-locked-title {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.plans-locked-desc {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── COMPREHENSIVE USER DASHBOARD STYLES (HUMANIZED & PROFESSIONAL) ─── */
.user-dashboard-card {
  max-width: 720px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  background: linear-gradient(180deg, #0d1322 0%, #080c14 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 45px rgba(56, 189, 248, 0.05);
  border-radius: 18px;
  padding: 1.5rem 1.65rem 1.75rem;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.user-dashboard-card::-webkit-scrollbar {
  width: 6px;
}

.user-dashboard-card::-webkit-scrollbar-track {
  background: rgba(8, 12, 20, 0.5);
  border-radius: 999px;
}

.user-dashboard-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.user-dashboard-card::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.35);
}

.dash-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.dash-profile-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.dash-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.dash-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 15px rgba(251, 191, 36, 0.12);
}

.dash-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2.5px solid #0d1322;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.dash-user-info {
  min-width: 0;
}

.dash-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.dash-user-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0;
}

.dash-badge-vip {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dash-badge-active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.dash-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.dash-user-email {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dash-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dash-btn-logout {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dash-btn-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fff;
}

.dash-btn-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.dash-btn-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 4 Quick Stats Grid Cards */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dash-stat-box:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.dash-stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-box.stat-keys .dash-stat-icon-wrap {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.dash-stat-box.stat-volume .dash-stat-icon-wrap {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
}

.dash-stat-box.stat-security .dash-stat-icon-wrap {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.dash-stat-box.stat-delivery .dash-stat-icon-wrap {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #a855f7;
}

.dash-stat-info {
  min-width: 0;
}

.dash-stat-val {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-stat-box.stat-volume .dash-stat-val {
  color: var(--accent-gold);
}

.dash-stat-box.stat-security .dash-stat-val {
  color: #34d399;
  font-size: 0.95rem;
}

.dash-stat-box.stat-delivery .dash-stat-val {
  color: #c084fc;
  font-size: 0.95rem;
}

.dash-stat-lbl {
  font-size: 0.66rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 2px;
}

/* Quick Actions Bar */
.dash-quick-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-action-btn {
  height: 44px;
  padding: 0 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.dash-action-btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0b1120;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
}

.dash-action-btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}

.dash-action-btn.outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.dash-action-btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Spotlight Card */
.dash-spotlight-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(13, 18, 32, 0.85) 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(251, 191, 36, 0.15);
}

.dash-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.dash-spotlight-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.06em;
}

.dash-spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.dash-spotlight-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.dash-spotlight-details {
  min-width: 0;
}

.dash-spotlight-uc {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.dash-spotlight-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.dash-spotlight-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-dash-spotlight-copy {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-dash-spotlight-copy:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #fff;
  border-color: #38bdf8;
}

.btn-dash-spotlight-edit {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-dash-spotlight-edit:hover {
  background: rgba(251, 191, 36, 0.2);
  color: #fff;
  border-color: #fbbf24;
}

/* Recent Keys Section */
.dash-recent-section {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.15rem;
}

.dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dash-section-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.dash-section-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

.dash-keys-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 2px;
}

.dash-keys-list::-webkit-scrollbar {
  width: 5px;
}

.dash-keys-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.dash-key-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dash-key-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.dash-key-info {
  flex: 1;
  min-width: 170px;
}

.dash-key-code-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.dash-key-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.dash-key-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.04em;
}

.dash-key-meta {
  font-size: 0.74rem;
  color: #94a3b8;
}

.dash-key-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.btn-dash-micro {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-dash-micro.copy {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.btn-dash-micro.copy:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  border-color: #38bdf8;
}

.btn-dash-micro.edit {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
}

.btn-dash-micro.edit:hover {
  background: rgba(251, 191, 36, 0.2);
  color: #fff;
  border-color: #fbbf24;
}

.btn-dash-micro.del {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 0.28rem 0.5rem;
}

.btn-dash-micro.del:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
  border-color: #ef4444;
}

.dash-empty-keys {
  text-align: center;
  color: #94a3b8;
  padding: 1.75rem 1rem;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Custom Packages & Saved Players Managers */
.dash-custom-pkg-section {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  padding: 1.15rem;
}

.dash-player-manager-section {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 14px;
  padding: 1.15rem;
}

.dash-pkg-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.dash-player-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.65rem;
  align-items: end;
}

.dash-custom-pkgs-list,
.dash-saved-players-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 2px;
}

.dash-custom-pkgs-list::-webkit-scrollbar,
.dash-saved-players-list::-webkit-scrollbar {
  width: 5px;
}

.dash-custom-pkgs-list::-webkit-scrollbar-thumb,
.dash-saved-players-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.dash-custom-pkg-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  transition: background 0.15s ease;
}

.dash-custom-pkg-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dash-saved-player-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  transition: background 0.15s ease;
}

.dash-saved-player-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
  .user-dashboard-card {
    padding: 1.15rem;
    width: 96%;
  }
  .dash-profile-header {
    gap: 0.75rem;
  }
  .dash-user-name {
    font-size: 1.15rem;
  }
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
  .dash-stat-box {
    padding: 0.7rem 0.75rem;
  }
  .dash-stat-val {
    font-size: 1.05rem;
  }
  .dash-quick-actions {
    grid-template-columns: 1fr;
  }
  .dash-spotlight-actions {
    width: 100%;
  }
  .dash-spotlight-actions button {
    flex: 1;
    justify-content: center;
  }
  .dash-player-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACTIVE PURCHASED PACKAGE BANNER (PREMIUM GLASS HUD TERMINAL)
   ========================================================================== */
.purchased-package-container {
  margin-bottom: 2rem;
}


  to { opacity: 1; transform: translateY(0); }
}

.purchased-package-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94) 0%, rgba(10, 15, 30, 0.97) 50%, rgba(6, 9, 20, 0.99) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 20px;
  padding: 1.5rem 1.85rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(251, 191, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Sleek cyber ambient glow on top edge */
.purchased-package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.85) 30%, rgba(56, 189, 248, 0.85) 70%, transparent);
}

.purchased-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.purchased-header-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.purchased-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.1);
}

.purchased-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  position: relative;
  flex-shrink: 0;
}




  100% { transform: scale(1.6); opacity: 0; }
}

.purchased-badge-text {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.purchased-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: var(--font-head);
}

.purchased-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn-purchased-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-purchased-toggle:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  
}

.btn-purchased-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-purchased-delete:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
  
}

.purchased-card-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.85rem;
  align-items: center;
  transition: all 0.3s ease;
}

@media (max-width: 860px) {
  .purchased-card-body {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

.purchased-uc-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.9rem;
}

.purchased-gem-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: radial-gradient(circle at 35% 35%, rgba(251, 191, 36, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(251, 191, 36, 0.15);
  font-size: 1.75rem;
}

.purchased-uc-amount {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #fde047 70%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.3));
}

.purchased-price-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.purchased-price-badge {
  color: #38bdf8;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.purchased-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}

.pulse-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
}

.purchased-player-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}

.purchased-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.25rem 0;
}

.purchased-meta-item:not(:last-child) {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.purchased-meta-item .meta-lbl {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}

.purchased-meta-item .meta-val {
  color: #f1f5f9;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.meta-id-highlight {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  font-weight: 800 !important;
}

.purchased-key-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
}

.purchased-key-box {
  background: linear-gradient(145deg, #050811 0%, #0a0f1d 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  box-shadow: inset 0 3px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(251, 191, 36, 0.08);
  position: relative;
  overflow: hidden;
}

.purchased-key-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, var(--accent-gold), var(--cyan));
}

.purchased-key-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.purchased-key-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.07em;
  word-break: break-all;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}

.btn-copy-purchased {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.3) 100%);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.48rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
  font-family: var(--font-head);
  text-transform: uppercase;
}

.btn-copy-purchased:hover {
  background: #38bdf8;
  color: #040813;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
  
}

.btn-copy-purchased:active {
  transform: translateY(0);
}

.purchased-actions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.btn-purchased-action {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-head);
  text-transform: uppercase;
}

.btn-purchased-action:hover {
  
}

.btn-purchased-action.edit {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-purchased-action.edit:hover {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

.btn-purchased-action.receipt {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--cyan);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-purchased-action.receipt:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.btn-purchased-action.delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-purchased-action.delete:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.45);
}

.purchased-card-body.collapsed {
  display: none !important;
}

/* ==========================================================================
   WIDE CONTROL PANELS (FULL DASHBOARD, FULL HISTORY, FULL EDIT PANEL)
   ========================================================================== */
.modal-card.panel-wide {
  max-width: 940px !important;
  width: 95% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 2rem !important;
  text-align: left !important;
}

.panel-header-banner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.panel-sub-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-top: 0.35rem;
}

/* 2-Column Grid for Edit Panel */
.edit-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 820px) {
  .edit-panel-grid {
    grid-template-columns: 1fr;
  }
}

.duration-presets-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.duration-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.duration-chip:hover, .duration-chip.active {
  background: rgba(251, 191, 36, 0.18);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Live Interactive Preview Card inside Edit Panel */
.edit-preview-card {
  background: #070b14;
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.12);
  position: sticky;
  top: 0;
}

.preview-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preview-code-display {
  background: #03060a;
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
  margin: 1rem 0;
}

.preview-code-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  word-break: break-all;
}

/* Full History Panel KPI Stats */



/* Mobile Optimization & Touch Tweaks */
@media (max-width: 640px) {
  .modal-card {
    padding: 1.25rem 1rem !important;
    width: 95% !important;
    max-width: 100% !important;
  }
  .payment-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .payment-item {
    padding: 0.75rem 0.5rem !important;
  }
  .payment-name-only {
    font-size: 0.92rem !important;
  }
  .packages-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
}

/* ==========================================================================
   DEDICATED STOREFRONT MOBILE NAVIGATION DRAWER
   ========================================================================== */
.btn-store-mobile-menu {
  display: none;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--accent-gold);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-store-mobile-menu:hover {
  background: rgba(251, 191, 36, 0.25);
  border-color: var(--accent-gold);
}

@media (max-width: 768px) {
  .btn-store-mobile-menu {
    display: inline-flex !important;
  }
}

.store-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  justify-content: flex-end;
}

.store-drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.store-drawer-panel {
  width: 300px;
  max-width: 86vw;
  height: 100%;
  background: linear-gradient(180deg, #0d1322 0%, #080c16 100%);
  border-left: 1px solid rgba(251, 191, 36, 0.25);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.85);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.store-drawer-overlay.open .store-drawer-panel {
  transform: translateX(0);
}

.store-drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.8);
}

.store-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.store-drawer-brand span {
  color: var(--accent-gold);
}

.store-drawer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
}

.store-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.store-drawer-close:hover {
  color: #fff;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
}

.store-drawer-body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.store-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.store-drawer-link i {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.store-drawer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fff;
}

.store-drawer-link.admin-link i {
  color: var(--cyan);
}

.store-drawer-link.admin-link:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.store-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.6rem 0;
}

.store-drawer-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.15s ease;
}

.store-drawer-auth-btn:hover {
  filter: brightness(1.1);
}

.store-drawer-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.store-drawer-logout-btn:hover {
  background: #ef4444;
  color: #fff;
}

.store-drawer-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 26, 0.9);
  text-align: center;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #10b981;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.system-status-indicator .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}


/* ══════════════════════════════════════════════════════════════
   USER DASHBOARD MULTI-TAB PORTAL SYSTEM & SORT CONTROLS
   ══════════════════════════════════════════════════════════════ */
.user-dash-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.user-dash-tabs::-webkit-scrollbar { display: none; }

.user-dash-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.user-dash-tab-btn:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.user-dash-tab-btn.active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(217, 119, 6, 0.2));
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.user-dash-pane {
  display: none;
  animation: fadeInPane 0.25s ease;
}

.user-dash-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sorting toolbar for keys */
.dash-keys-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sort-chip-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-sort-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.18s ease;
}

.btn-sort-chip:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
  color: #fbbf24;
}

.sort-arrow {
  font-size: 0.7rem;
  color: #fbbf24;
  line-height: 1;
}

.btn-key-eye {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.btn-key-eye:hover {
  color: #fbbf24;
}

/* ─── WOOCOMMERCE-STYLE CHECKOUT & VIRTUAL CARD ─── */
.wc-checkout-box {
  background: rgba(13, 21, 39, 0.7);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.wc-order-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.wc-method-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wc-method-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wc-method-item:hover {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.05);
}

.wc-method-item.active {
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.wc-method-thumb {
  width: 46px;
  height: 28px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.35rem;
  display: inline-block;
}

.wc-method-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Realistic Glass/PNG Debit Card */
.virtual-card-customer {
  width: 100%;
  max-width: 420px;
  min-height: 225px;
  margin: 0.75rem auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d1527, #132247);
  background-image: url('card_black_gold.png');
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 22px rgba(251, 191, 36, 0.15);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  box-sizing: border-box;
}

.virtual-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.virtual-card-chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d97706, #fbbf24);
  border: 1px solid #fef08a;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 5px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.virtual-card-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  text-align: right;
  max-width: 65%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

.virtual-card-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.22rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  margin: 0.75rem 0;
  word-break: keep-all;
}

.virtual-card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
}

.virtual-card-holder-lbl {
  font-size: 0.62rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.virtual-card-holder-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.virtual-card-expiry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
}
