/* ==========================================================================
   LUXSTORE v4.5 — STYLESHEET OFICIAL
   Paleta Inspirada en el Logo Oficial de LuxStore:
   - Blanco Puro 3D (#ffffff) ["LUX"]
   - Azul Real Eléctrico (#0066ff / #0052eb) ["STORE"]
   - Neón Cian Láser (#00d2ff / #38bdf8) [Líneas y Aura]
   - Obsidiana Medianoche (#010415 / #050c1e) [Fondo Gamer Profundo]
   ========================================================================== */

:root {
  /* Backgrounds (Obsidian Deep inspired by LuxStore Logo) */
  --bg-deep: #010415;
  --bg-surface: #050c1e;
  --bg-card: #081329;
  --bg-card-hover: #0c1c3d;
  --bg-glass: rgba(6, 14, 32, 0.88);
  
  /* Borders */
  --border-subtle: rgba(0, 102, 255, 0.16);
  --border-card: rgba(0, 102, 255, 0.28);
  --border-blue: rgba(0, 102, 255, 0.55);
  --border-cyan: rgba(0, 210, 255, 0.45);
  --border-mint: rgba(0, 230, 153, 0.35);
  
  /* Brand Colors from Official Logo */
  --brand-blue: #0066ff;
  --brand-blue-deep: #0052eb;
  --brand-blue-glow: rgba(0, 102, 255, 0.45);
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.35);
  --brand-white: #ffffff;
  
  /* Aliases para compatibilidad */
  --brand-navy: #04091c;
  --mint-primary: #00d2ff;
  --mint-light: #38bdf8;
  --mint-glow: rgba(0, 210, 255, 0.3);
  --lux-mint: #0066ff;
  --lux-cyan: #38bdf8;
  --lux-gold: #f59e0b;
  --lux-dark: #010415;
  
  --cyan-primary: #38bdf8;
  --cyan-dark: #0066ff;
  --cyan-glow: rgba(56, 189, 248, 0.35);
  
  --gold-primary: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.3);
  
  /* Gradients */
  --grad-btn-primary: linear-gradient(135deg, #0052eb 0%, #0066ff 50%, #0099ff 100%);
  --grad-blue: linear-gradient(135deg, #0052eb 0%, #00d2ff 100%);
  --grad-gold: linear-gradient(135deg, #fff3a0 0%, #f59e0b 50%, #d97706 100%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --grad-binance: linear-gradient(135deg, #fcd535 0%, #f0b90b 100%);

  /* Text colors */
  --text-pure: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  /* Layout */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--text-pure);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Mesh con estética gamer cyberpunk de LuxStore */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 50% -10%, rgba(0, 102, 255, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(0, 210, 255, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(0, 82, 235, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, transparent 75%, rgba(1, 4, 21, 0.98) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Utilities */
.text-mint { color: var(--mint-primary) !important; }
.text-cyan { color: var(--cyan-primary) !important; }
.text-gold { color: var(--gold-primary) !important; }
.blue-text-shimmer {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 45%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 102, 255, 0.4));
}
.gold-text-shimmer {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. ANNOUNCEMENT & NAVBAR
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #02071c 0%, #0044cc 50%, #0066ff 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 102, 255, 0.35);
}
.announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.store-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #010415;
  border: 1.5px solid rgba(0, 102, 255, 0.55);
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.25s ease;
}
.brand-link:hover .brand-icon-wrap {
  transform: scale(1.06);
  border-color: #00d2ff;
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.65);
}
.brand-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-main {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.brand-main span {
  color: #0066ff;
  text-shadow: 0 0 14px rgba(0, 102, 255, 0.8), 0 0 28px rgba(0, 102, 255, 0.4);
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fleet-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 160, 0.08);
  border: 1px solid var(--border-mint);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint-light);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mint-primary);
  box-shadow: 0 0 0 0 rgba(0, 210, 160, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 160, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(0, 210, 160, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 160, 0); }
}

.btn-owner-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 7px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-owner-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-primary);
}

/* ==========================================================================
   2. MAIN CONTAINER & HERO
   ========================================================================== */
.store-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 60px 16px;
}

.hero-welcome {
  text-align: center;
  padding: 20px 0 30px;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cyan-primary);
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   3. STEP 1: UID VERIFICATION CARD
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint-primary), var(--cyan-primary), transparent);
}

.card-step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.step-num-badge {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--grad-btn-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--mint-glow);
}
.card-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.card-step-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.uid-input-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.1fr;
  gap: 14px;
  align-items: flex-end;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.lux-input {
  width: 100%;
  height: 52px;
  background: #081222;
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  color: #fff;
  font-size: 1rem; /* >= 16px to prevent iOS auto-zoom */
  font-weight: 600;
  padding: 0 16px 0 46px;
  outline: none;
  transition: all 0.25s ease;
}
.lux-input:focus {
  border-color: var(--mint-primary);
  box-shadow: 0 0 0 3px var(--mint-glow);
  background: #0b182e;
}
.lux-input:focus + .input-icon {
  color: var(--mint-primary);
}

.lux-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}

.btn-verify-account {
  width: 100%;
  height: 52px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
  transition: all 0.25s ease;
}
.btn-verify-account:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 160, 0.45);
}
.btn-verify-account:active {
  transform: translateY(0);
}
.btn-verify-account:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Holographic Player Card */
.player-holo-card {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(8, 29, 61, 0.75), rgba(0, 210, 160, 0.08));
  border: 1.5px solid var(--border-mint);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  animation: slideFadeIn 0.3s ease forwards;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.player-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
}
.player-avatar-img, .player-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
  object-fit: cover;
}
.player-avatar-fallback {
  background: #081d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.5rem;
}
.avatar-verified-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-primary);
  color: #050b16;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.player-info-box {
  flex: 1;
  min-width: 180px;
}
.player-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.player-level-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--border-cyan);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
}
.player-meta-row {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.meta-separator {
  margin: 0 6px;
  opacity: 0.4;
}

.player-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 160, 0.12);
  border: 1px solid var(--mint-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint-light);
}

/* ==========================================================================
   4. FLEET STOCK CAROUSEL / STATS
   ========================================================================== */
.fleet-section {
  margin-top: 36px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.section-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-left h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.live-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--mint-light);
  font-weight: 700;
}

.fleet-scroll-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fleet-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-subtle);
}
.fleet-card.highlight-gold {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05), var(--bg-card));
}

.fleet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fleet-item-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.fleet-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.fleet-icon-bubble.cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan-primary); }
.fleet-icon-bubble.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-primary); }
.fleet-icon-bubble.mint { background: rgba(0, 210, 160, 0.15); color: var(--mint-primary); }
.fleet-icon-bubble.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.fleet-item-val {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.fleet-item-sub {
  font-size: 0.75rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fleet-item-sub b {
  color: var(--text-secondary);
}
.fleet-item-sub .dot { opacity: 0.4; }

/* ==========================================================================
   5. CATALOG & FILTER PILLS
   ========================================================================== */
.catalog-section {
  margin-top: 40px;
}
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-pill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-pill-bar::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.cat-pill:hover {
  color: #fff;
  border-color: var(--cyan-primary);
}
.cat-pill.active {
  background: var(--grad-btn-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--mint-glow);
}
.cat-pill.active i {
  color: #050b16 !important;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.6);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.25);
}

.card-top-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grad-gold);
  color: #050b16;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--gold-glow);
  text-transform: uppercase;
}

.card-image-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  position: relative;
}
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}
.product-card:hover .card-thumb-img {
  transform: scale(1.08) rotate(3deg);
}

.card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  min-height: 34px;
}

.card-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 210, 160, 0.08);
  border: 1px solid var(--border-mint);
  color: var(--mint-light);
  margin-bottom: 16px;
}

/* Quantity controls inside card */
.card-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 18, 34, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px 10px;
  margin-bottom: 14px;
}
.qty-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-qty {
  width: 28px;
  height: 28px;
  background: var(--bg-surface);
  color: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-qty:hover {
  background: var(--mint-primary);
  color: #050b16;
  border-color: var(--mint-primary);
}
.qty-number {
  font-size: 0.95rem;
  font-weight: 800;
  width: 28px;
  text-align: center;
}

/* Card Bottom pricing & CTA */
.card-pricing-block {
  margin-bottom: 14px;
}
.card-price-ars {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}
.card-price-usdt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.btn-card-buy {
  width: 100%;
  height: 48px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
  transition: all 0.2s ease;
}
.btn-card-buy:hover {
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.55);
  transform: translateY(-2px);
}
.btn-card-buy:active {
  transform: translateY(0);
}

/* ==========================================================================
   6. CHECKOUT BOTTOM SHEET / MODAL (MOBILE-FIRST)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 9, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 26px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px var(--mint-glow);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-sheet-card {
  transform: translateY(0) scale(1);
}

/* Drag handle on mobile */
.sheet-drag-handle {
  display: none;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-dark);
  margin: -8px auto 14px;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.sheet-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sheet-badge-mini {
  width: 38px;
  height: 38px;
}
.sheet-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}
.sheet-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sheet-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s ease;
}
.sheet-close-btn:hover { color: #fff; }

/* Order Summary Box */
.sheet-summary-box {
  background: #060e1c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}
.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-item-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.summary-player-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.summary-player-sub b {
  color: var(--text-secondary);
}
.summary-qty-badge {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-cyan);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.summary-divider {
  height: 1px;
  background: dashed var(--border-subtle);
  margin: 12px 0;
}

.summary-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.price-val-ars {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--mint-light);
}
.price-usdt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #f0b90b;
}
.binance-mini-logo {
  width: 16px;
  height: 16px;
}

/* Gateway Selector Tabs */
.gateway-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.gateway-option {
  background: #081222;
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.gateway-option input[type="radio"] {
  display: none;
}
.gateway-option:hover {
  border-color: var(--text-dark);
}
.gateway-option.active {
  border-color: var(--mint-primary);
  background: rgba(0, 210, 160, 0.08);
  box-shadow: 0 0 16px var(--mint-glow);
}
.gateway-option[data-gateway="binance"].active {
  border-color: #f0b90b;
  background: rgba(240, 185, 11, 0.08);
  box-shadow: 0 0 16px rgba(240, 185, 11, 0.3);
}

.gateway-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gateway-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.gateway-icon-wrap.mint { background: rgba(0, 210, 160, 0.15); color: var(--mint-primary); }
.gateway-icon-wrap.gold { background: rgba(240, 185, 11, 0.15); color: #f0b90b; }

.gateway-meta {
  display: flex;
  flex-direction: column;
}
.gateway-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}
.gateway-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.gateway-check {
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}
.gateway-option.active .gateway-check {
  color: var(--mint-primary);
}
.gateway-option[data-gateway="binance"].active .gateway-check {
  color: #f0b90b;
}

/* Gateway Details */
.gateway-details-card {
  animation: slideFadeIn 0.25s ease;
}

.gateway-instructions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.alias-copy-box {
  background: #060d1a;
  border: 1px solid var(--border-mint);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}
.alias-copy-box:hover {
  background: #081426;
  border-color: var(--mint-light);
}
.alias-left {
  display: flex;
  flex-direction: column;
}
.alias-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.alias-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--mint-primary);
}
.alias-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 160, 0.15);
  color: var(--mint-light);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.alias-holder {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin: 8px 0 20px 4px;
}

.btn-primary-checkout {
  width: 100%;
  height: 52px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
  transition: all 0.25s ease;
}
.btn-primary-checkout:hover {
  box-shadow: 0 8px 25px rgba(0, 210, 160, 0.45);
}
.btn-primary-checkout:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ==========================================================================
   BINANCE PAY VIEW
   ========================================================================== */
.binance-pay-box {
  background: #060e1c;
  border: 1.5px solid rgba(240, 185, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
}

.binance-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.binance-logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f0b90b;
}
.binance-timer {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.binance-amount-box {
  text-align: center;
  background: rgba(240, 185, 11, 0.05);
  border: 1px dashed rgba(240, 185, 11, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}
.amount-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.amount-val-usdt {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  margin: 2px 0;
}
.crypto-tag {
  color: #f0b90b;
  font-size: 1.1rem;
}
.amount-rate-note {
  font-size: 0.72rem;
  color: var(--text-dark);
}

.binance-qr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.qr-canvas-wrap {
  width: 110px;
  height: 110px;
  min-width: 110px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.binance-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.binance-id-block {
  flex: 1;
}
.id-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.id-copy-row {
  background: #0a172c;
  border: 1px solid rgba(240, 185, 11, 0.4);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 8px;
}
.pay-id-number {
  font-size: 1rem;
  font-weight: 900;
  color: #f0b90b;
  letter-spacing: 0.05em;
}
.id-copy-row i {
  color: var(--text-muted);
}
.order-ref-label {
  font-size: 0.7rem;
  color: var(--text-dark);
}
.order-ref-number {
  font-size: 0.8rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--cyan-primary);
  display: block;
}

.btn-binance-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: var(--grad-binance);
  color: #1e2026;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}
.btn-binance-app:hover {
  transform: translateY(-2px);
}

.binance-radar-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(8, 18, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--cyan-primary);
}
.radar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulseCyan 1.5s infinite;
}
@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.btn-check-binance {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-check-binance:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--cyan-primary);
}

/* ==========================================================================
   7. SUCCESS CELEBRATION OVERLAY
   ========================================================================== */
.success-screen {
  text-align: center;
  padding: 10px 0;
  animation: slideFadeIn 0.35s ease;
}
.success-sticker-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  animation: bounceSticker 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes bounceSticker {
  0% { transform: scale(0.4) rotate(-10deg); opacity: 0; }
  70% { transform: scale(1.1) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.success-sticker-img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px var(--mint-glow));
}
.success-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mint-light);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.success-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.success-receipt-card {
  background: #060d1a;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: left;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.receipt-row:last-child { margin-bottom: 0; }
.receipt-row span { color: var(--text-muted); }
.receipt-id {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--cyan-primary);
  font-weight: 700;
}

/* ==========================================================================
   8. TOASTS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: #08162c;
  border: 1px solid var(--border-mint);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastDrop 0.3s ease forwards;
}
.toast.error {
  border-color: #f43f5e;
  background: #1e0911;
  color: #fda4af;
}

@keyframes toastDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   9. 500% RESPONSIVE MOBILE BREAKPOINTS
   ========================================================================== */

/* Tablets and small desktops */
@media (max-width: 992px) {
  .fleet-scroll-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .store-container {
    padding: 16px 12px 80px 12px;
  }

  .brand-main {
    font-size: 1.25rem;
  }

  .hero-welcome {
    padding: 10px 0 20px;
  }
  .hero-desc {
    font-size: 0.88rem;
  }

  /* UID inputs stacked on mobile */
  .uid-input-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Fleet horizontal swipe on mobile */
  .fleet-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 12px;
  }
  .fleet-scroll-container::-webkit-scrollbar { display: none; }
  
  .fleet-card {
    min-width: 220px;
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  /* Products 1 column on small phones */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Convert checkout modal to App-like Bottom Sheet */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal-sheet-card {
    max-width: 100%;
    border-radius: 26px 26px 0 0;
    padding: 18px 18px calc(24px + var(--safe-bottom)) 18px;
    max-height: 92vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  }

  .sheet-drag-handle {
    display: block;
  }

  .modal-backdrop.active .modal-sheet-card {
    transform: translateY(0);
  }

  .binance-qr-row {
    flex-direction: column;
    text-align: center;
  }
  .binance-id-block {
    width: 100%;
  }

  /* Toast stays visible below notch */
  .toast-container {
    top: 60px;
  }
}

/* Extra small screens (iPhone SE, etc < 380px) */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .gateway-selector { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. OWNER / ADMIN PANEL — MODERN FULL-HEIGHT RESPONSIVE SIDEBAR
   ========================================================================== */
:root {
  --lux-dark: #010415;
  --lux-mint: #0066ff;
  --lux-cyan: #38bdf8;
  --lux-gold: #f59e0b;
  --lux-surface: #050c1e;
  --lux-card: #081329;
  --lux-border: rgba(0, 102, 255, 0.2);
}

.owner-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--bg-deep);
  position: relative;
}

/* Sidebar Full-Height Fixed: jamás se corta */
.owner-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #020614 0%, #040a1c 100%);
  border-right: 1px solid rgba(0, 102, 255, 0.22);
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 102, 255, 0.35) transparent;
}

.owner-sidebar::-webkit-scrollbar {
  width: 4px;
}
.owner-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.35);
  border-radius: 4px;
}

/* Brand Header en Sidebar */
.owner-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 16px 6px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
  margin-bottom: 14px;
}

.brand-emblem-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-sticker-img-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(0, 102, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.4);
}

.btn-sidebar-close {
  display: none;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.btn-sidebar-close:hover { color: #fff; }

/* Lista de Navegación */
.owner-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.owner-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #94a3b8;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
  border: 1px solid transparent;
}

.owner-nav-item svg {
  color: #64748b;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.owner-nav-item:hover {
  background: rgba(0, 102, 255, 0.1);
  color: #ffffff;
  border-color: rgba(0, 102, 255, 0.25);
  transform: translateX(3px);
}
.owner-nav-item:hover svg {
  color: #00d2ff;
}

.owner-nav-item.active {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.22) 0%, rgba(0, 102, 255, 0.05) 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.45);
  border-left: 4px solid #0066ff;
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.25);
}

.owner-nav-item.active svg {
  color: #00d2ff !important;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.6));
}

/* Footer de Sidebar */
.owner-sidebar-footer {
  padding: 12px 6px 4px 6px;
  border-top: 1px solid rgba(0, 102, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-user-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 11, 26, 0.8);
  border: 1px solid rgba(0, 102, 255, 0.18);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
}

.owner-footer-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-sidebar-store {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.15s ease;
}
.btn-sidebar-store:hover {
  background: rgba(0, 102, 255, 0.25);
  color: #fff;
  border-color: #00d2ff;
}

.btn-sidebar-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fb7185;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.15s ease;
}
.btn-sidebar-logout:hover {
  background: rgba(244, 63, 94, 0.22);
  color: #fff;
  border-color: #f43f5e;
}

/* Área Principal */
.owner-main-stage {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  padding: 28px 36px;
  background: var(--bg-deep);
  position: relative;
}

.owner-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.owner-page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.owner-page-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.owner-view-pane {
  display: none;
}
.owner-view-pane.active {
  display: block;
}

.panel-card {
  background: #060e20;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
}
.panel-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #030816;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  text-align: left;
}
.data-table th {
  background: #071124;
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.72rem;
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.input-field {
  width: 100%;
  height: 42px;
  background: #040918;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  padding: 0 12px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  outline: none;
}
.input-field:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

.btn-confirm-order, .btn-owner-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Mobile Responsive Drawer & Backdrop */
.owner-mobile-topbar {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .owner-mobile-topbar {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #020614;
    border-bottom: 1px solid rgba(0, 102, 255, 0.25);
    z-index: 950;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  .owner-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
  }

  .btn-hamburger {
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: #fff;
    border-radius: 7px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .owner-sidebar {
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
  }

  .owner-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85);
  }

  .btn-sidebar-close {
    display: block;
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
  }

  .sidebar-backdrop.active {
    display: block;
  }

  .owner-main-stage {
    margin-left: 0;
    width: 100%;
    padding: 16px 14px 40px 14px;
  }
}


/* ==========================================================================
   11. ROCKETPASS-STYLE MODERN TABLE & PAGINATION FRAMEWORK (V4.0 ULTRA)
   ========================================================================== */

.rp-table-card {
  background: #07101e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Toolbar & Filter Bar */
.orders-toolbar-wrap {
  padding: 16px 20px;
  background: rgba(10, 20, 36, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orders-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.orders-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orders-title-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-kpi-badge {
  background: rgba(0, 230, 153, 0.12);
  border: 1px solid rgba(0, 230, 153, 0.3);
  color: #00e699;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

/* Quick Filter Status Chips */
.status-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.status-chip {
  background: #091629;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-chip:hover {
  background: #0f2442;
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.18);
}

.status-chip.active {
  background: rgba(0, 102, 255, 0.18);
  border-color: #0066ff;
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.3);
}

.status-chip.chip-awaiting.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.18);
}

.status-chip.chip-pending.active {
  background: rgba(245, 158, 11, 0.14);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
}

.status-chip.chip-error.active {
  background: rgba(244, 63, 94, 0.14);
  border-color: #f43f5e;
  color: #fb7185;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.18);
}

/* Controls Grid (Search + Filters) */
.orders-controls-bar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
}

@media (max-width: 850px) {
  .orders-controls-bar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .orders-controls-bar {
    grid-template-columns: 1fr;
  }
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box svg.search-icon {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
}

.search-field-modern {
  width: 100%;
  height: 38px;
  background: #050d18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  padding: 0 34px 0 34px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  outline: none;
  transition: all 0.15s ease;
}

.search-field-modern:focus {
  border-color: #00e699;
  background: #061120;
  box-shadow: 0 0 0 2px rgba(0, 230, 153, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  display: none;
}
.search-clear-btn:hover { color: #fff; }

.select-modern {
  height: 38px;
  background: #050d18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cbd5e1;
  padding: 0 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.select-modern:focus {
  border-color: #00e699;
}

.btn-modern-refresh {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 28, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-modern-refresh:hover {
  background: rgba(0, 230, 153, 0.12);
  border-color: #00e699;
  color: #00e699;
}

/* Modern Data Table */
.rp-table-scroll {
  overflow-x: auto;
  width: 100%;
}

.rp-table-scroll::-webkit-scrollbar {
  height: 6px;
}
.rp-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.rp-modern-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: left;
  min-width: 820px;
}

.rp-modern-table thead tr {
  background: rgba(12, 24, 44, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-modern-table th {
  padding: 12px 14px;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  user-select: none;
}

.rp-modern-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease;
}

.rp-modern-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.rp-modern-table td {
  padding: 10px 14px;
  vertical-align: middle;
  color: #e2e8f0;
}

/* UID Box */
.uid-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #050b16;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.76rem;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-status.badge-delivered {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
}

.badge-status.badge-pending {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.badge-status.badge-awaiting {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #38bdf8;
}

.badge-status.badge-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: #fb7185;
}

/* Framework Action Buttons (REPLACING UGLY GREEN PILLS) */
.action-btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.btn-action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(51, 65, 85, 0.7) !important;
  color: #cbd5e1 !important;
  padding: 5px 10px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-action-ghost:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #fff !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.btn-action-ghost:active { transform: scale(0.97); }

.btn-action-dispatch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  padding: 5px 11px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-action-dispatch:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #fff !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}
.btn-action-dispatch:active { transform: scale(0.97); }

/* Table Pagination Footer (1:1 Exact RocketPass) */
.table-pagination-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 16, 30, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.pagination-counter {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination-counter b {
  color: #fff;
  font-weight: 800;
}
.pagination-counter .highlight-num {
  color: #00e699;
  font-weight: 800;
}

.pagination-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagesize-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.76rem;
}

.pagesize-select {
  height: 32px;
  background: #050d18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: #f1f5f9;
  padding: 0 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.pagesize-select:focus {
  border-color: #00e699;
}

.pagination-nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-page-nav {
  height: 32px;
  padding: 0 10px;
  background: #081324 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  border-radius: 7px !important;
  font-size: 0.75rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-page-nav:hover:not(:disabled) {
  background: #0f2444 !important;
  color: #fff !important;
  border-color: #00e699 !important;
}
.btn-page-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed !important;
}

.page-indicator-pill {
  height: 32px;
  background: #040912;
  border: 1px solid rgba(0, 230, 153, 0.35);
  color: #00e699;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0 12px;
  border-radius: 7px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
