/* =====================================================
   FREESMM - Main Stylesheet
   Dark Glassmorphism Design
   ===================================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --secondary: #a855f7;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --bg: #0c0c1e;
  --bg2: #12122a;
  --bg3: #1a1a3e;
  --card: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.10);
  --text: #e2e8f0;
  --text-muted: rgba(226,232,240,0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --blur: blur(20px);
  --glow: 0 0 40px var(--primary-glow);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 20%, rgba(99,102,241,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(168,85,247,0.10) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* -------- Scrollbar -------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* -------- Navbar -------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(12,12,30,0.85);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--card-border);
  padding: 0 1.5rem;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  height: 64px;
}
.navbar-brand {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none; white-space: nowrap;
}
.navbar-nav {
  display: flex; list-style: none; gap: 0.25rem;
  align-items: center; flex: 1;
}
.navbar-nav a {
  color: var(--text-muted); text-decoration: none;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text); background: rgba(255,255,255,0.07);
}
.navbar-end { margin-left: auto; }
.hamburger {
  display: none; background: none; border: none;
  color: var(--text); cursor: pointer; font-size: 1.4rem; padding: 4px;
}

/* -------- Hero -------- */
.hero {
  text-align: center; padding: 5rem 1.5rem 3rem;
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 2rem;
}
.hero-stats {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .lbl { font-size: 0.8rem; color: var(--text-muted); }

/* -------- Container -------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.container-xs { max-width: 560px; margin: 0 auto; padding: 0 1.5rem; }

/* -------- Cards -------- */
.card {
  background: var(--card);
  backdrop-filter: var(--blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(255,255,255,0.18); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.card-glow::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* -------- Category Tabs -------- */
.category-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cat-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem; border-radius: 50px;
  background: var(--card); border: 1px solid var(--card-border);
  color: var(--text-muted); cursor: pointer; transition: var(--transition);
  font-size: 0.88rem; font-weight: 500; white-space: nowrap;
}
.cat-tab i { font-size: 1rem; }
.cat-tab:hover, .cat-tab.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff; box-shadow: 0 4px 16px var(--primary-glow);
}
.cat-tab.active { font-weight: 700; }

/* -------- Service Grid -------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-glow), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--primary); transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--primary-glow);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.service-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-desc { font-size: 0.83rem; color: var(--text-muted); }
.service-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  margin-top: 0.75rem;
}

/* -------- Form -------- */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.03em;
}
.input, input[type="text"], input[type="url"], input[type="email"],
input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.95rem;
  transition: var(--transition); font-family: inherit;
  appearance: none;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  background: rgba(99,102,241,0.08);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
select option { background: var(--bg2); }
textarea { resize: vertical; min-height: 100px; }
.input-icon { position: relative; }
.input-icon i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.input-icon input { padding-left: 2.8rem; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm); border: none;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }
.btn-secondary {
  background: rgba(255,255,255,0.08); border: 1px solid var(--card-border); color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger  { background: var(--danger);  color: #fff; }
.btn-warning { background: var(--warning); color: #000; }
.btn-info    { background: var(--info);    color: #fff; }
.btn-sm  { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-outline {
  background: transparent; border: 1px solid var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* -------- Alerts -------- */
.alert {
  padding: 0.9rem 1.2rem; border-radius: var(--radius-sm);
  margin-bottom: 1rem; font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.alert-success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); color: #86efac; }
.alert-danger  { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.25);  color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); color: #fcd34d; }
.alert-info    { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); color: #93c5fd; }

/* -------- Badges -------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.badge-success { background: rgba(34,197,94,0.18);  color: #86efac; }
.badge-danger  { background: rgba(239,68,68,0.18);  color: #fca5a5; }
.badge-warning { background: rgba(245,158,11,0.18); color: #fcd34d; }
.badge-info    { background: rgba(59,130,246,0.18); color: #93c5fd; }
.badge-secondary{ background: rgba(255,255,255,0.1);color: var(--text-muted); }
.badge-primary { background: var(--primary-glow);   color: #c7d2fe; }

/* -------- Tables -------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; }
th {
  background: rgba(255,255,255,0.04); padding: 0.85rem 1rem;
  text-align: left; font-size: 0.8rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}
td {
  padding: 0.85rem 1rem; font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
tr:hover td { background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: none; }

/* -------- Modal -------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 2rem;
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.2rem; padding: 4px; line-height: 1;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); }

/* -------- Order Status Page -------- */
.status-card {
  text-align: center; padding: 2.5rem;
}
.status-icon {
  font-size: 3.5rem; margin-bottom: 1rem; display: block;
}
.status-id {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.progress-bar-wrap {
  background: rgba(255,255,255,0.08); border-radius: 50px;
  height: 8px; overflow: hidden; margin: 1rem 0;
}
.progress-bar {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.8s ease;
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.info-item {
  background: rgba(255,255,255,0.04); border-radius: var(--radius-sm);
  padding: 1rem; text-align: center;
}
.info-item .val { font-size: 1.3rem; font-weight: 800; }
.info-item .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* -------- Success Page -------- */
.success-wrap {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.success-box {
  text-align: center; max-width: 480px; width: 100%;
}
.success-box .checkmark {
  width: 90px; height: 90px; margin: 0 auto 1.5rem;
  background: rgba(34,197,94,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; animation: pop 0.5s ease;
}
@keyframes pop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.order-id-display {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* -------- Footer -------- */
footer {
  margin-top: 5rem; border-top: 1px solid var(--card-border);
  padding: 2rem 1.5rem; text-align: center;
  color: var(--text-muted); font-size: 0.85rem; position: relative; z-index: 1;
}
footer a { color: var(--primary); text-decoration: none; }

/* -------- Utility -------- */
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.p-0 { padding: 0; }
.fw-bold { font-weight: 700; }
.fs-sm { font-size: 0.85rem; }
.section { padding: 2.5rem 0; position: relative; z-index: 1; }

/* -------- Loading Spinner -------- */
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------- Pagination -------- */
.pagination { display: flex; list-style: none; gap: 0.4rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.page-item .page-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--card-border);
  color: var(--text-muted); text-decoration: none; transition: var(--transition);
}
.page-item.active .page-link,
.page-item .page-link:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* -------- Step Indicator -------- */
.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 1.5rem 0; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1;
  max-width: 140px;
}
.step-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; transition: var(--transition); z-index: 1;
}
.step.active .step-circle { background: var(--primary); border-color: var(--primary); }
.step.done .step-circle { background: var(--success); border-color: var(--success); }
.step-label { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.step.active .step-label, .step.done .step-label { color: var(--text); }
.step-line { flex: 1; max-width: 80px; height: 2px; background: var(--card-border); margin-top: -20px; }
.step-line.done { background: var(--primary); }

/* -------- Copy button -------- */
.copy-btn {
  background: rgba(255,255,255,0.08); border: 1px solid var(--card-border);
  color: var(--text-muted); padding: 6px 12px; border-radius: 8px;
  cursor: pointer; font-size: 0.8rem; transition: var(--transition);
}
.copy-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* -------- Admin Layout -------- */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; background: rgba(12,12,30,0.95);
  border-right: 1px solid var(--card-border);
  display: flex; flex-direction: column;
  position: fixed; height: 100vh; overflow-y: auto;
  transition: transform 0.3s; z-index: 100;
}
.sidebar-logo {
  padding: 1.5rem; font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  border-bottom: 1px solid var(--card-border);
}
.sidebar-nav { flex: 1; padding: 1rem 0.75rem; }
.nav-section { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.75rem 0.75rem 0.4rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.9rem; border-radius: var(--radius-sm);
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(99,102,241,0.12); color: var(--text); border-left: 3px solid var(--primary);
  padding-left: calc(0.9rem - 3px);
}
.sidebar-nav a.active { color: var(--primary); font-weight: 700; }
.admin-main { flex: 1; margin-left: 260px; padding: 2rem; min-height: 100vh; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.page-title { font-size: 1.5rem; font-weight: 800; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.stat-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-card-val { font-size: 1.6rem; font-weight: 800; }
.stat-card-lbl { font-size: 0.8rem; color: var(--text-muted); }

/* -------- Toggle Switch -------- */
.toggle { position: relative; display: inline-flex; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: rgba(255,255,255,0.15);
  border-radius: 50px; cursor: pointer; transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.3s;
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg2); padding: 1rem; border-bottom: 1px solid var(--card-border); z-index: 999; }
  .hamburger { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1rem 2rem; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .admin-main { margin-left: 0; padding: 1rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .steps { gap: 0; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .order-id-display { font-size: 2.5rem; }
}

/* ========= POPUP ========= */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn .3s;
}
.popup-overlay.open { display: flex; }
.popup-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  padding: 2rem 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
  animation: slideUp .35s cubic-bezier(.34,1.56,.64,1);
  color: #fff;
}
@keyframes slideUp {
  from { transform: translateY(40px) scale(.96); opacity: 0; }
  to   { transform: translateY(0)     scale(1);   opacity: 1; }
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: .2s;
}
.popup-close:hover { background: rgba(255,255,255,.2); }
.popup-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-right: 2rem;
  background: linear-gradient(135deg, #a5b4fc, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.popup-content {
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.popup-content a { color: #a5b4fc; }
.popup-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
