/**
 * OOREDOO 5G - STREET MARKETING ACTIVATION
 * Modern Design System: Glassmorphism, 5G Neon Accents, Smooth Animations
 */

:root {
  --ooredoo-red: #ED1C24;
  --ooredoo-red-hover: #FF2B34;
  --ooredoo-red-dark: #B8000A;
  --ooredoo-red-glow: rgba(237, 28, 36, 0.45);

  --neon-cyan: #00F2FE;
  --neon-cyan-glow: rgba(0, 242, 254, 0.45);
  --neon-blue: #0072FF;

  --bg-deep: #080A10;
  --bg-dark: #0D111A;
  --bg-surface: rgba(18, 24, 38, 0.82);
  --bg-surface-elevated: rgba(28, 36, 56, 0.88);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-active: rgba(237, 28, 36, 0.6);

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-round: 9999px;

  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-glass);
  --shadow-glow-red: 0 0 30px var(--ooredoo-red-glow);
  --shadow-glow-cyan: 0 0 30px var(--neon-cyan-glow);
}

/* ================= RESET & BASE ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

input, select, textarea {
  user-select: text;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ================= BACKGROUND GRAPHICS ================= */
.bg-network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #151B2A 0%, #080A10 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-red {
  width: 480px;
  height: 480px;
  background: var(--ooredoo-red);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.orb-cyan {
  width: 380px;
  height: 380px;
  background: var(--neon-cyan);
  bottom: 5%;
  right: 10%;
  animation-duration: 16s;
  opacity: 0.22;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

@keyframes floatOrb {
  0% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-46%, -30px) scale(1.08); }
  100% { transform: translate(-54%, 20px) scale(0.95); }
}

/* ================= APP CONTAINER & HEADER ================= */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  background: rgba(8, 10, 16, 0.6);
}

.header-brand .ooredoo-logo {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.btn-pill-kiosk {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-round);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pill-kiosk:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ================= SCREENS ROUTING ================= */
.app-main {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.app-screen {
  display: none;
  width: 100%;
  max-width: 1060px;
  animation: fadeInScale 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-screen.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ================= SCREEN 1: WELCOME HERO ================= */
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.4);
  border-radius: var(--radius-round);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: #FF7D83;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ooredoo-red);
  box-shadow: 0 0 10px var(--ooredoo-red);
  animation: blink 1.5s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.text-gradient-red {
  background: linear-gradient(135deg, #FF3D47 0%, #ED1C24 60%, #B8000A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(237, 28, 36, 0.5));
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 440px;
  margin-bottom: 36px;
}

/* --- The Master 5G Center Button --- */
.hero-btn-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 28px;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--ooredoo-red);
  opacity: 0.6;
  pointer-events: none;
  animation: rippleOut 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 100%; height: 100%; animation-delay: 1s; }
.ring-3 { width: 100%; height: 100%; animation-delay: 2s; }

@keyframes rippleOut {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.btn-hero-5g {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FF2B34 0%, #C4000B 65%, #750005 100%);
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 12px 35px rgba(237, 28, 36, 0.6),
    inset 0 4px 10px rgba(255, 255, 255, 0.4),
    inset 0 -6px 14px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
  outline: none;
}

.btn-hero-5g:hover {
  transform: scale(1.06);
  box-shadow: 
    0 18px 45px rgba(237, 28, 36, 0.8),
    0 0 40px var(--neon-cyan-glow),
    inset 0 4px 12px rgba(255, 255, 255, 0.5);
}

.btn-hero-5g:active {
  transform: scale(0.95);
}

.btn-5g-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.btn-5g-label {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-5g-sub {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-round);
  margin-top: 4px;
}

.hero-instruction {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-finger {
  font-size: 18px;
  animation: bounceTouch 1.5s infinite;
}

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

/* Discreet Admin Trigger (Floating Bottom Right) */
.btn-admin-discreet {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-admin-discreet:hover {
  background: rgba(237, 28, 36, 0.85);
  color: #FFFFFF;
  border-color: var(--ooredoo-red);
  transform: rotate(30deg) scale(1.08);
  box-shadow: 0 4px 16px var(--ooredoo-red-glow);
}

/* ================= SCREEN 2: QR CODE TRANSITION ================= */
.qr-screen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.qr-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-round);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.badge-dot-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.qr-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.qr-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Holographic QR frame with laser */
.qr-frame-box {
  position: relative;
  width: 256px;
  height: 256px;
  padding: 8px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.35);
  overflow: hidden;
  margin-bottom: 24px;
}

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00F2FE 30%, #FFFFFF 50%, #00F2FE 70%, transparent);
  box-shadow: 0 0 16px #00F2FE, 0 0 25px #00F2FE;
  z-index: 5;
  animation: laserScan 1.6s ease-in-out infinite alternate;
}

@keyframes laserScan {
  0% { top: 4%; }
  100% { top: 94%; }
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--neon-cyan);
  border-style: solid;
  pointer-events: none;
}
.qr-corner.top-left { top: 4px; left: 4px; border-width: 3px 0 0 3px; }
.qr-corner.top-right { top: 4px; right: 4px; border-width: 3px 3px 0 0; }
.qr-corner.bottom-left { bottom: 4px; left: 4px; border-width: 0 0 3px 3px; }
.qr-corner.bottom-right { bottom: 4px; right: 4px; border-width: 0 3px 3px 0; }

.qr-countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--ooredoo-red);
  box-shadow: 0 0 20px var(--ooredoo-red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: #FFFFFF;
  animation: pulseScale 1s infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.countdown-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================= SCREEN 3: FORM ================= */
.form-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  width: 100%;
}

.form-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--text-main);
}

.form-step-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.form-heading {
  margin-bottom: 20px;
}

.form-heading h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-heading p {
  font-size: 13px;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.req {
  color: var(--ooredoo-red);
}

.label-helper {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 11px;
}

.form-control {
  width: 100%;
  height: 46px;
  background: rgba(10, 14, 24, 0.7);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--ooredoo-red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.25);
  background: rgba(14, 20, 34, 0.85);
}

.form-control.is-valid {
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.form-control.is-invalid {
  border-color: var(--ooredoo-red);
  box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.35);
}

/* Age Pills */
.age-pills-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.age-pill {
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.age-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.age-pill.active {
  background: var(--ooredoo-red);
  color: #FFFFFF;
  border-color: var(--ooredoo-red);
  box-shadow: 0 4px 12px var(--ooredoo-red-glow);
}

/* Transaction Cards */
.transaction-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.transaction-card {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.transaction-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.transaction-card.active {
  background: rgba(237, 28, 36, 0.15);
  border-color: var(--ooredoo-red);
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.25);
}

.trans-icon {
  font-size: 22px;
}

.trans-info {
  display: flex;
  flex-direction: column;
}

.trans-info strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}

.trans-info span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Conditional Group Animation */
.conditional-group {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.conditional-group.hidden {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.conditional-group.visible {
  opacity: 1;
  max-height: 90px;
  margin-bottom: 16px;
  pointer-events: auto;
}

.select-wrapper {
  position: relative;
}

.select-custom {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Phone input styling */
.phone-input-wrapper {
  display: flex;
  align-items: center;
}

.phone-prefix-tag {
  height: 46px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid var(--border-glass);
  border-right: none;
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.input-phone-box {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.badge-req-phone {
  font-size: 11px;
  font-weight: 700;
  color: #FF8F94;
  background: rgba(237, 28, 36, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.field-feedback {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.field-feedback.valid {
  color: #10B981;
  font-weight: 600;
}

.field-feedback.invalid {
  color: #FF4D55;
  font-weight: 600;
}

/* Amount Chips */
.quick-amounts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}

.chip-amount {
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.chip-amount:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chip-amount.active {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--neon-cyan);
  color: #FFFFFF;
}

.amount-input-wrap {
  position: relative;
}

.amount-input-wrap .currency-tag {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-dim);
  font-size: 12px;
  pointer-events: none;
}

/* Master Submit Button */
.btn-primary-gradient {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #FF2B34 0%, #ED1C24 50%, #B8000A 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(237, 28, 36, 0.45);
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(237, 28, 36, 0.65);
}

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

.btn-arrow {
  font-size: 18px;
  transition: transform 0.2s;
}

.btn-primary-gradient:hover .btn-arrow {
  transform: translateX(4px);
}

/* Shake Animation on Error */
.shake {
  animation: shakeX 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeX {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* ================= SCREEN 4: WHEEL OF FORTUNE ================= */
.wheel-stage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.wheel-stage-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wheel-top-bar {
  margin-bottom: 12px;
  z-index: 5;
}

.badge-participant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 24, 38, 0.85);
  border: 1.5px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: var(--radius-round);
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.badge-participant strong {
  color: #FFFFFF;
  font-size: 14px;
}

.dot-live {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

/* Enlarged Wheel Canvas Wrapper */
.wheel-canvas-wrapper {
  position: relative;
  width: min(78vh, 88vw, 560px);
  height: min(78vh, 88vw, 560px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
}

#canvas-wheel {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================= CENTRAL SPIN BUTTON ================= */
.btn-spin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(88px, 18vw, 114px);
  height: clamp(88px, 18vw, 114px);
  border-radius: 50%;
  border: 3.5px solid #FFFFFF;
  background: radial-gradient(circle at 35% 30%, #FF3845 0%, #ED1C24 55%, #940008 100%);
  box-shadow: 
    0 0 0 4px rgba(237, 28, 36, 0.4),
    0 0 25px rgba(237, 28, 36, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.75),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.spin-center-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  pointer-events: none;
}

.btn-spin-center .spin-icon {
  font-size: clamp(20px, 4vw, 26px);
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  animation: boltBounce 1.8s ease-in-out infinite alternate;
}

@keyframes boltBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px) scale(1.1); }
}

.btn-spin-center .spin-text {
  font-family: var(--font-display);
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

/* Pulsing aura ring around the spin button */
.spin-center-pulse {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 254, 0.6);
  pointer-events: none;
  animation: pulseCenterRing 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes pulseCenterRing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
    border-color: rgba(0, 242, 254, 0.8);
  }
  50% {
    border-color: rgba(237, 28, 36, 0.6);
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
    border-color: rgba(0, 242, 254, 0);
  }
}

.btn-spin-center:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 
    0 0 0 6px rgba(0, 242, 254, 0.4),
    0 0 35px rgba(237, 28, 36, 0.9),
    0 12px 30px rgba(0, 0, 0, 0.8),
    inset 0 2px 6px rgba(255, 255, 255, 0.5);
}

.btn-spin-center:active:not(:disabled) {
  transform: translate(-50%, -50%) scale(0.95);
}

.btn-spin-center:disabled {
  filter: grayscale(0.5);
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-spin-center:disabled .spin-center-pulse {
  display: none;
}

/* ================= SCREEN 5: WIN / CELEBRATION ================= */
.win-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.win-confetti-badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 6px 18px;
  border-radius: var(--radius-round);
  margin-bottom: 14px;
  animation: pulseGold 1.5s infinite;
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.win-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}

.win-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.gift-spotlight-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: radial-gradient(circle at center, rgba(237, 28, 36, 0.25) 0%, rgba(13, 17, 26, 0.8) 80%);
  border: 2px solid rgba(237, 28, 36, 0.5);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(237, 28, 36, 0.35);
}

.spotlight-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
  animation: floatGift 3s ease-in-out infinite;
}

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

.spotlight-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.spotlight-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-cyan);
}

.win-info-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
}

.text-mono {
  font-family: monospace;
  color: var(--text-muted);
}

.status-saved {
  color: #10B981;
  font-weight: 600;
}

/* ================= MODALS & ADMIN ================= */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.app-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-card);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.btn-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.pin-box {
  text-align: center;
  font-size: 26px;
  letter-spacing: 8px;
  font-family: monospace;
  margin: 14px 0;
}

/* ================= ADMIN OVERLAY & DASHBOARD ================= */
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-deep);
  display: none;
  overflow-y: auto;
  padding: 24px;
}

.admin-overlay.active {
  display: block;
}

.admin-container {
  max-width: 1000px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.admin-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.badge-admin {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ooredoo-red);
  background: rgba(237, 28, 36, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.admin-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-excel {
  background: #107C41; /* Official Excel Green */
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 124, 65, 0.4);
  transition: all 0.2s;
}

.btn-excel:hover {
  background: #189851;
  transform: translateY(-1px);
}

.btn-close-admin-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
}

.admin-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-card-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.btn-save-primary {
  background: var(--ooredoo-red);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--ooredoo-red-glow);
  transition: all 0.2s;
}

.btn-save-primary:hover {
  background: var(--ooredoo-red-hover);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-max-h {
  max-height: 380px;
  overflow-y: auto;
}

.table-admin {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.table-admin th {
  background: rgba(10, 14, 24, 0.8);
  color: var(--text-muted);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-admin td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.cell-gift-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-gift-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
}

.input-admin-cell {
  width: 80px;
  height: 36px;
  background: rgba(10, 14, 24, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  color: #FFFFFF;
  padding: 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.input-unit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.unit-pct {
  color: var(--text-dim);
  font-weight: 700;
}

.badge-stock {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

.badge-ok { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.badge-low { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.badge-rupture { background: rgba(237, 28, 36, 0.2); color: #FF4D55; }

.effective-pct-display strong {
  font-size: 16px;
  font-family: var(--font-display);
}

.effective-pct-display.is-active strong {
  color: var(--neon-cyan);
}

.effective-pct-display.is-zero strong {
  color: #64748B;
  text-decoration: line-through;
}

.text-danger { color: #FF4D55; }
.text-cyan { color: var(--neon-cyan); }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 11px; }

.badge-type {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-gross { background: rgba(0, 242, 254, 0.2); color: var(--neon-cyan); }
.badge-recharge { background: rgba(255, 215, 0, 0.2); color: #FFD700; }
.badge-gift {
  background: rgba(237, 28, 36, 0.15);
  color: #FF7D83;
  padding: 3px 8px;
  border-radius: var(--radius-round);
  font-weight: 600;
}

.badge-wilaya {
  background: rgba(0, 242, 254, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-round);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-delete-row {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.btn-delete-row:hover {
  opacity: 1;
}

.btn-outline-sm {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.btn-danger-sm {
  background: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.4);
  color: #FF7D83;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.badge-count {
  font-size: 12px;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-round);
}

/* ================= FOOTER ================= */
.app-footer {
  height: 38px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(8, 10, 16, 0.7);
}

.footer-admin-link {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 11px;
}

.footer-admin-link:hover {
  color: var(--text-muted);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .app-screen {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn-hero-5g {
    width: 150px;
    height: 150px;
  }

  .btn-5g-label {
    font-size: 48px;
  }

  .wheel-canvas-wrapper {
    width: 320px;
    height: 320px;
  }

  .form-container-card {
    padding: 16px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .age-pills-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================= EXCLUSIVE LANDSCAPE MODE LAYOUTS ================= */
@media (min-width: 768px) {
  /* 1. Welcome Screen Landscape */
  .landscape-hero-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
    max-width: 960px;
    padding: 20px 0;
  }

  .hero-text-col {
    flex: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text-col .hero-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    text-align: left;
  }

  .hero-text-col .hero-subtitle {
    text-align: left;
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-btn-col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-btn-col .hero-btn-wrapper {
    margin: 0;
    width: 240px;
    height: 240px;
  }

  .hero-btn-col .btn-hero-5g {
    width: 185px;
    height: 185px;
  }

  .hero-btn-col .btn-5g-label {
    font-size: 76px;
  }

  /* 2. QR Code Screen Landscape */
  .landscape-qr-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 52px;
    max-width: 780px;
    padding: 36px 44px;
  }

  .qr-box-col {
    flex: 0 0 auto;
  }

  .qr-box-col .qr-frame-box {
    margin-bottom: 0;
  }

  .qr-info-col {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-info-col .qr-countdown-container {
    align-items: flex-start;
    margin-top: 16px;
  }

  /* 3. Form Screen Landscape (2 Equal Columns) */
  .landscape-form-container {
    max-width: 980px;
    padding: 24px 36px;
  }

  .form-landscape-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
  }

  .form-col-left, .form-col-right {
    display: flex;
    flex-direction: column;
  }

  .form-col-right {
    justify-content: space-between;
    height: 100%;
  }

  .form-col-right .btn-primary-gradient {
    margin-top: 24px;
  }

  /* 4. Wheel Screen Landscape (Centered & Giant Wheel) */
  .wheel-stage-center {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .wheel-stage-center .wheel-canvas-wrapper {
    width: min(78vh, 75vw, 600px);
    height: min(78vh, 75vw, 600px);
    margin: 0 auto;
  }

  /* 5. Win Screen Landscape */
  .landscape-win-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 860px;
    padding: 36px 44px;
  }

  .win-info-col {
    flex: 1.1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .win-info-col .win-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .win-info-col .win-desc {
    margin-bottom: 18px;
  }

  .win-info-col .btn-primary-gradient {
    max-width: 300px;
  }

  .win-gift-col {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .win-gift-col .gift-spotlight-box {
    margin-bottom: 0;
    width: 100%;
    max-width: 330px;
  }
}

/* ================= STAND HEADER & SYNC BADGE ================= */
.stand-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stand-badge-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.stand-zone-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sync-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sync-status-badge.has-pending {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #FBBF24;
  animation: pulseAmber 2s infinite;
}

@keyframes pulseAmber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.btn-install-pwa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0072FF, #00F2FE);
  color: #080A10;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
  transition: all 0.2s ease;
}

.btn-install-pwa:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

/* ================= STAND LOGIN SCREEN ================= */
.stand-login-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 30%, #171E30 0%, #080A10 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.stand-login-screen.hidden {
  display: none !important;
}

.stand-login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(237, 28, 36, 0.15);
  backdrop-filter: blur(20px);
  text-align: center;
  animation: fadeInScale 0.4s ease;
}

.stand-login-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 25px rgba(237, 28, 36, 0.3);
}

.stand-login-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.stand-login-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.stand-login-form .form-group {
  text-align: left;
  margin-bottom: 18px;
}

.stand-login-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stand-login-form input {
  width: 100%;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.stand-login-form input:focus {
  border-color: var(--ooredoo-red);
  box-shadow: 0 0 15px rgba(237, 28, 36, 0.3);
}

.stand-login-btn {
  width: 100%;
  background: linear-gradient(135deg, #ED1C24 0%, #B8000A 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 8px 25px rgba(237, 28, 36, 0.4);
  transition: all 0.2s ease;
}

.stand-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(237, 28, 36, 0.6);
}

.stand-login-help {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 20px;
}

/* ================= AUTO-ZONE BADGE IN FORM ================= */
.auto-zone-card {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.auto-zone-icon {
  font-size: 26px;
}

.auto-zone-details {
  flex: 1;
}

.auto-zone-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #00F2FE;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.auto-zone-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}

.auto-zone-lock {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
}

/* ================= SIMPLIFIED FIELD SUPERVISOR MODAL ================= */
.field-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.field-admin-stand-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field-admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.field-admin-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.field-admin-kpi .kpi-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.field-admin-kpi .kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-sync-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.btn-sync-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-logout-stand {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #EF4444;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

