/* ═══════════════════════════════════════════════════════════
   FotoShow — Design System
   Dark theme · Lime-green neon · Glassmorphism
   ═══════════════════════════════════════════════════════════ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --fs-green:       #ADFF2F;
  --fs-green-dark:  #7CFC00;
  --fs-green-alt:   #00FF7F;
  --fs-green-rgb:   173, 255, 47;
  --fs-green-glow:  rgba(173, 255, 47, 0.22);
  --fs-orange:      #ff6a00;
  --fs-wa:          #25D366;
  --fs-mp:          #009ee3;

  --fs-bg:          #0a0a0a;
  --fs-bg-card:     #111111;
  --fs-bg-card-2:   #191919;
  --fs-bg-glass:    rgba(255, 255, 255, 0.04);
  --fs-border:      rgba(173, 255, 47, 0.14);
  --fs-border-subtle: rgba(255, 255, 255, 0.07);
  --fs-text:        #e2e8f0;
  --fs-text-muted:  rgba(226, 232, 240, 0.55);
}

/* ── Bootstrap Dark Theme Overrides ── */
[data-bs-theme="dark"] {
  --bs-body-bg:               #0a0a0a;
  --bs-body-bg-rgb:           10, 10, 10;
  --bs-secondary-bg:          #111111;
  --bs-tertiary-bg:           #191919;
  --bs-body-color:            #e2e8f0;
  --bs-secondary-color:       rgba(226, 232, 240, 0.55);
  --bs-border-color:          rgba(173, 255, 47, 0.1);
  --bs-border-color-translucent: rgba(173, 255, 47, 0.07);
  --bs-primary:               #ADFF2F;
  --bs-primary-rgb:           173, 255, 47;
  --bs-link-color:            #ADFF2F;
  --bs-link-hover-color:      #c8ff5a;
  --bs-card-bg:               #111111;
  --bs-card-border-color:     rgba(255, 255, 255, 0.07);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--fs-bg);
  color: var(--fs-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(173, 255, 47, 0.18); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(173, 255, 47, 0.38); }

/* ── Neon Text ── */
.neon-text {
  background: linear-gradient(90deg, #ADFF2F 0%, #00FF7F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ── */
.fs-navbar {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fs-border-subtle);
}
.navbar-brand .brand-accent { color: var(--fs-green); }

/* ── Glass Card ── */
.glass-card {
  background: var(--fs-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fs-border);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(173, 255, 47, 0.08);
  border-color: rgba(173, 255, 47, 0.28);
}

/* ── Dark Card ── */
.dark-card {
  background: var(--fs-bg-card);
  border: 1px solid var(--fs-border-subtle);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dark-card:hover {
  border-color: var(--fs-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ── Buttons ── */
.btn-neon {
  background: linear-gradient(90deg, #ADFF2F, #32CD32);
  color: #0a0a0a !important;
  border: none;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: 0 0 18px rgba(173, 255, 47, 0.28);
}
.btn-neon:hover {
  background: linear-gradient(90deg, #c8ff5a, #44e044);
  color: #0a0a0a !important;
  box-shadow: 0 0 30px rgba(173, 255, 47, 0.48);
  transform: translateY(-1px);
}
.btn-neon:active { transform: translateY(0); }

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fs-text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ── Google / Auth Button ── */
.btn-google {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fs-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.btn-google:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ── Hero / Section backgrounds ── */
.hero-dark {
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(173,255,47,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(50,205,50,0.05) 0%, transparent 60%),
    #0a0a0a;
}
.section-dark {
  background:
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(173,255,47,0.04) 0%, transparent 60%),
    #0f0f0f;
}

/* ── Hero badge ── */
.hero-badge {
  display: inline-block;
  background: rgba(173, 255, 47, 0.08);
  color: var(--fs-green);
  border: 1px solid rgba(173, 255, 47, 0.22);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Step numbers ── */
.step-num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #ADFF2F, #32CD32);
  color: #0a0a0a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(173,255,47,0.3);
}

/* ── Feature icons ── */
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(173, 255, 47, 0.08);
  border: 1px solid rgba(173, 255, 47, 0.18);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--fs-green);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.feature-icon:hover,
.card:hover .feature-icon {
  background: rgba(173, 255, 47, 0.14);
  box-shadow: 0 0 18px rgba(173,255,47,0.18);
}

/* ── Stat Cards (Dashboard) ── */
.stat-card {
  background: var(--fs-bg-card);
  border: 1px solid var(--fs-border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--fs-border); }
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #6b7280;
}
.stat-value {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 0.2rem;
  background: linear-gradient(90deg, #ADFF2F, #00FF7F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Sidebar (Dashboard) ── */
.sidebar {
  background: #080808;
  border-right: 1px solid var(--fs-border-subtle);
}
.sidebar-logo .brand-accent { color: var(--fs-green) !important; }
.sidebar-nav a { color: rgba(226,232,240,0.6); }
.sidebar-nav a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.sidebar-nav a.active {
  background: rgba(173, 255, 47, 0.08) !important;
  color: var(--fs-green) !important;
  border-left-color: var(--fs-green) !important;
}

/* ── Badge Status ── */
.badge-active    { background: rgba(173,255,47,0.12) !important; color: #ADFF2F !important; }
.badge-draft     { background: rgba(148,163,184,0.1) !important; color: #94a3b8 !important; }
.badge-inactive  { background: rgba(239,68,68,0.12) !important; color: #f87171 !important; }
.badge-pending   { background: rgba(250,204,21,0.1) !important; color: #fbbf24 !important; }
.badge-paid      { background: rgba(173,255,47,0.1) !important; color: #ADFF2F !important; }
.badge-paid_pending_id { background: rgba(99,179,237,0.1) !important; color: #63b3ed !important; }
.badge-delivered { background: rgba(99,102,241,0.12) !important; color: #a5b4fc !important; }
.badge-failed    { background: rgba(239,68,68,0.12) !important; color: #f87171 !important; }
.badge-refunded  { background: rgba(167,139,250,0.1) !important; color: #c4b5fd !important; }

/* ── Form Controls ── */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
  background: #191919;
  border-color: rgba(173, 255, 47, 0.12);
  color: var(--fs-text);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  background: #1f1f1f;
  border-color: rgba(173, 255, 47, 0.38);
  box-shadow: 0 0 0 0.2rem rgba(173, 255, 47, 0.1);
  color: #fff;
}
[data-bs-theme="dark"] .form-control::placeholder { color: #4b5563; }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed rgba(173,255,47,0.18);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--fs-green);
  background: rgba(173,255,47,0.04);
}

/* ── Tables ── */
[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,0.02);
  --bs-table-hover-bg: rgba(173,255,47,0.04);
  --bs-table-border-color: rgba(255,255,255,0.06);
  color: var(--fs-text);
}
[data-bs-theme="dark"] .table th {
  color: #6b7280;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

/* ── Modal ── */
[data-bs-theme="dark"] .modal-content {
  background: #111111;
  border: 1px solid rgba(173,255,47,0.12);
  border-radius: 16px;
}
[data-bs-theme="dark"] .modal-header {
  border-bottom-color: rgba(255,255,255,0.07);
}

/* ── Skeleton Loader ── */
.skeleton {
  background: linear-gradient(90deg, #111 25%, #1c1c1c 50%, #111 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Neon Pulse ── */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(173,255,47,0.25); }
  50%       { box-shadow: 0 0 24px rgba(173,255,47,0.55); }
}
.neon-pulse { animation: neon-pulse 2.2s ease-in-out infinite; }

/* ── Price pill ── */
.price-pill {
  background: rgba(173,255,47,0.1);
  color: var(--fs-green);
  border: 1px solid rgba(173,255,47,0.25);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ── Photo card (gallery/search pages) ── */
.photo-card.selected { border-color: var(--fs-green) !important; }
.photo-add-btn {
  background: rgba(173,255,47,0.88) !important;
  color: #0a0a0a !important;
}

/* ── Gallery hero strip ── */
.gallery-hero {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(15,30,10,0.85) 100%),
    linear-gradient(135deg, #0a0a0a 0%, #0d200d 100%);
}

/* ── Event header accent ── */
.event-header { border-left-color: var(--fs-green) !important; }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: var(--fs-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none; z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ── Footer ── */
footer {
  background: #080808 !important;
  border-top: 1px solid var(--fs-border-subtle) !important;
}
footer a { color: #6b7280 !important; transition: color 0.15s; }
footer a:hover { color: var(--fs-green) !important; }

/* ── Topbar (Dashboard) ── */
.topbar {
  background: rgba(10,10,10,0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom-color: var(--fs-border-subtle) !important;
}

/* ── Bootstrap primary button override ── */
[data-bs-theme="dark"] .btn-primary {
  background: linear-gradient(90deg, #ADFF2F, #32CD32);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(173,255,47,0.22);
}
[data-bs-theme="dark"] .btn-primary:hover {
  background: linear-gradient(90deg, #c8ff5a, #44e044);
  border-color: transparent;
  color: #0a0a0a;
  box-shadow: 0 0 26px rgba(173,255,47,0.42);
}
[data-bs-theme="dark"] .btn-outline-primary {
  color: var(--fs-green);
  border-color: rgba(173,255,47,0.4);
}
[data-bs-theme="dark"] .btn-outline-primary:hover {
  background: rgba(173,255,47,0.12);
  color: var(--fs-green);
  border-color: var(--fs-green);
}
[data-bs-theme="dark"] .btn-outline-light {
  color: rgba(226,232,240,0.8);
  border-color: rgba(226,232,240,0.18);
}
[data-bs-theme="dark"] .btn-outline-light:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(226,232,240,0.35);
}
[data-bs-theme="dark"] .btn-success {
  background: linear-gradient(90deg, #ADFF2F, #32CD32);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
}
[data-bs-theme="dark"] .btn-success:hover {
  background: linear-gradient(90deg, #c8ff5a, #44e044);
  border-color: transparent;
  color: #0a0a0a;
}

/* ── Progress / Spinner tint ── */
[data-bs-theme="dark"] .spinner-border.text-success { color: var(--fs-green) !important; }
[data-bs-theme="dark"] .progress-bar { background: linear-gradient(90deg, #ADFF2F, #32CD32); }

/* ── Alert override ── */
[data-bs-theme="dark"] .alert-success {
  background: rgba(173,255,47,0.08);
  border-color: rgba(173,255,47,0.22);
  color: #ADFF2F;
}
[data-bs-theme="dark"] .alert-danger {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.22);
  color: #f87171;
}
[data-bs-theme="dark"] .alert-warning {
  background: rgba(250,204,21,0.08);
  border-color: rgba(250,204,21,0.22);
  color: #fbbf24;
}
[data-bs-theme="dark"] .alert-info {
  background: rgba(99,179,237,0.08);
  border-color: rgba(99,179,237,0.22);
  color: #63b3ed;
}

/* ── Dropdown ── */
[data-bs-theme="dark"] .dropdown-menu {
  background: #141414;
  border: 1px solid rgba(173,255,47,0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
[data-bs-theme="dark"] .dropdown-item { color: var(--fs-text); border-radius: 8px; }
[data-bs-theme="dark"] .dropdown-item:hover { background: rgba(173,255,47,0.07); color: #fff; }
[data-bs-theme="dark"] .dropdown-divider { border-color: rgba(255,255,255,0.07); }

/* ── Pagination ── */
[data-bs-theme="dark"] .page-link {
  background: #111;
  border-color: rgba(255,255,255,0.07);
  color: var(--fs-text);
}
[data-bs-theme="dark"] .page-link:hover {
  background: rgba(173,255,47,0.08);
  border-color: var(--fs-border);
  color: var(--fs-green);
}
[data-bs-theme="dark"] .page-item.active .page-link {
  background: var(--fs-green);
  border-color: var(--fs-green);
  color: #0a0a0a;
}

/* ── Input group addon ── */
[data-bs-theme="dark"] .input-group-text {
  background: #191919;
  border-color: rgba(173,255,47,0.12);
  color: #6b7280;
}

/* ── Range slider ── */
[data-bs-theme="dark"] .form-range::-webkit-slider-thumb { background: var(--fs-green); }
[data-bs-theme="dark"] .form-range::-webkit-slider-runnable-track { background: #2a2a2a; }

/* ── Discount pulse ── */
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(173,255,47,0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(173,255,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(173,255,47,0); }
}
.discount-pulse { animation: pulse-green 1.6s infinite; border-radius: 8px; }
