/* ═══════════════════════════════════════════
   PHONE & VAPE GALAXY — Shared Customer Theme
   Deep space purple/violet — Gen Z luxury
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg:        #ffffff;
  --bg2:       #f5f8ff;
  --bg3:       #e8f0fa;
  --accent:    #0a1f44;
  --accent2:   #1a3a6e;
  --glow:      rgba(10,31,68,0.1);
  --border:    rgba(10,31,68,0.12);
  --text:      #0a1f44;
  --muted:     #4a6080;
  --card:      rgba(255,255,255,0.95);
  --gold:      #d4a843;
  --gold2:     #f0c040;
}

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

body {
  background: #ffffff;
  font-family: 'Outfit', sans-serif;
  color: #0a1f44;
  min-height: 100vh;
}

/* Subtle starfield bg */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(10,48,96,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(120,180,220,0.08) 0%, transparent 60%);
}

/* Auth container shared */
.auth-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px 16px;
}

.auth-card {
  width: 100%; max-width: 400px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 0 60px rgba(10,48,96,0.15), 0 0 0 1px var(--border);
  animation: cardIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes cardIn {
  from { opacity:0; transform: translateY(32px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

.auth-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; letter-spacing: 1px;
  color: #4a6080; text-align: center;
  margin-bottom: 6px; font-style: italic;
}

.auth-title {
  font-size: 1.9rem; font-weight: 700; text-align: center;
  color: #0a1f44; margin-bottom: 28px;
  color: #0a1f44;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.auth-card input {
  width: 100%; padding: 14px 16px; margin-bottom: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 12px;
  color: #0a1f44; font-family: 'Outfit', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-card input:focus {
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(120,180,220,0.15);
}
.auth-card input::placeholder { color: #4a6080; }

.auth-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #0a1f44, #0d2550);
  border: none; border-radius: 12px;
  color: white; font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 4px 24px rgba(10,48,96,0.4);
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(120,180,220,0.5); }

.auth-link { margin-top: 20px; text-align: center; font-size: 0.88rem; color: #4a6080; }
.auth-link a { color: #d4a843; text-decoration: none; font-weight: 500; }
.auth-link a:hover { text-decoration: underline; }

/* ═══════════════════════════════
   DARK / LIGHT MODE
═══════════════════════════════ */
:root {
  --bg:        #ffffff;
  --bg2:       #f5f8ff;
  --bg3:       #e8f0fa;
  --accent:    #0a1f44;
  --accent2:   #1a3a6e;
  --glow:      rgba(10,31,68,0.1);
  --border:    rgba(10,31,68,0.12);
  --text:      #0a1f44;
  --muted:     #4a6080;
  --card:      rgba(255,255,255,0.95);
  --gold:      #d4a843;
  --gold2:     #f0c040;
}

body.light-mode {
  --bg:        #f8f5ff;
  --bg2:       #ede8ff;
  --bg3:       #e4dcff;
  --accent:    #1a3a6e;
  --accent2:   #6d28d9;
  --border:    rgba(10,48,96,0.2);
  --text:      #1a0a2e;
  --muted:     #6b5f85;
  --card:      rgba(0,0,0,0.04);
}

/* theme toggle btn */
.theme-toggle {
  position: fixed; bottom: 90px; right: 22px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  color: #0a1f44; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3); transition: all 0.3s;
}
.theme-toggle:hover { transform: scale(1.1); border-color: #d4a843; }

/* PWA install banner */
.pwa-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg3); border-top: 1px solid var(--border);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%); transition: transform 0.4s;
  font-size: 0.82rem; gap: 12px;
}
.pwa-banner.show { transform: translateY(0); }
.pwa-banner-text { flex: 1; color: #0a1f44; }
.pwa-banner-text strong { color: #d4a843; display: block; }
.pwa-install-btn {
  padding: 8px 18px; background: var(--accent); border: none;
  color: white; font-family: 'Outfit', sans-serif; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; border-radius: 8px; white-space: nowrap;
}
.pwa-dismiss { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
