/* ============================================
   Smart CSV Pro – Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --clr-bg:         #050816;
  --clr-bg-2:       #0a0f24;
  --clr-bg-card:    #0d1530;
  --clr-border:     rgba(99,102,241,0.18);
  --clr-primary:    #6366f1;
  --clr-primary-l:  #818cf8;
  --clr-accent:     #06b6d4;
  --clr-accent-l:   #22d3ee;
  --clr-green:      #10b981;
  --clr-text:       #e2e8f0;
  --clr-muted:      #94a3b8;
  --clr-white:      #ffffff;
  --grad-hero:      linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-btn:       linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-card:      linear-gradient(145deg, rgba(99,102,241,0.08) 0%, rgba(6,182,212,0.04) 100%);
  --shadow-glow:    0 0 40px rgba(99,102,241,0.25);
  --shadow-card:    0 4px 32px rgba(0,0,0,0.4);
  --radius:         16px;
  --radius-sm:      10px;
  --radius-lg:      24px;
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--clr-muted); }
a  { text-decoration: none; color: inherit; }

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none; transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.6);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text);
}
.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(99,102,241,0.05);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(5,8,22,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.3rem;
}
.navbar-brand .logo-icon {
  width: 36px; height: 36px;
  background: var(--grad-btn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.navbar-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar-nav a { color: var(--clr-muted); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--clr-white); }
.navbar-cta { display: flex; gap: 12px; align-items: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--clr-text); border-radius: 2px; transition: var(--transition); }

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--clr-bg-2);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--clr-border);
  }
  .navbar-cta.open { display: flex; padding: 0 24px 24px; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99,102,241,0.25) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 60%, rgba(6,182,212,0.15) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3);
  color: var(--clr-primary-l); padding: 8px 18px; border-radius: 50px;
  font-size: 0.875rem; font-weight: 600; margin-bottom: 28px;
  animation: fadeInDown 0.6s ease;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--clr-green); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 24px; animation: fadeInUp 0.7s 0.1s ease both; }
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--clr-muted);
  max-width: 640px; margin: 0 auto 40px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.7s 0.3s ease both; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 64px;
  flex-wrap: wrap; animation: fadeInUp 0.7s 0.4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat .value { font-size: 2rem; font-weight: 800; color: var(--clr-white); font-family: 'Plus Jakarta Sans', sans-serif; }
.hero-stat .label { font-size: 0.8rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ── Section Common ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.section-tag {
  display: inline-block; background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.3);
  color: var(--clr-accent); padding: 4px 14px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-hero); opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.4); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { color: var(--clr-white); margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--clr-bg-2); border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border);
  padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-item .value { font-size: 2.4rem; font-weight: 800; color: var(--clr-white); font-family: 'Plus Jakarta Sans', sans-serif; }
.stat-item .value span { background: var(--grad-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .label { color: var(--clr-muted); margin-top: 6px; font-size: 0.9rem; }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; position: relative; }
.step-card {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  position: relative;
}
.step-number {
  width: 48px; height: 48px;
  background: var(--grad-btn); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 auto 20px;
}
.step-card h3 { color: var(--clr-white); margin-bottom: 10px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 64px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.cta-banner h2 { color: var(--clr-white); margin-bottom: 16px; }
.cta-banner p { max-width: 480px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ── Footer ── */
.footer {
  background: var(--clr-bg-2); border-top: 1px solid var(--clr-border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; margin-top: 12px; }
.footer-col h4 { color: var(--clr-white); font-size: 0.95rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--clr-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--clr-primary-l); }
.footer-bottom { border-top: 1px solid var(--clr-border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.85rem; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Download Page ── */
.download-card {
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 48px;
  max-width: 680px; margin: 0 auto; text-align: center;
}
.version-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: var(--clr-green); padding: 6px 16px; border-radius: 50px;
  font-size: 0.875rem; font-weight: 600; margin-bottom: 24px;
}
.download-meta { display: flex; gap: 32px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.download-meta-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.download-meta-item .meta-value { color: var(--clr-white); font-weight: 700; font-size: 1.1rem; }
.download-meta-item .meta-label { color: var(--clr-muted); font-size: 0.8rem; }
.security-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--clr-border);
  border-radius: 50px; padding: 6px 14px; font-size: 0.8rem; color: var(--clr-muted);
}

/* ── Pricing Coming Soon ── */
.coming-soon-card {
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 80px 48px; text-align: center;
  max-width: 600px; margin: 0 auto;
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 24px; }

/* ── Docs Page ── */
.docs-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.docs-sidebar {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 24px; position: sticky; top: 100px;
}
.docs-sidebar h4 { color: var(--clr-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.docs-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.docs-sidebar ul li a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--clr-muted);
  font-size: 0.9rem; transition: var(--transition);
}
.docs-sidebar ul li a:hover, .docs-sidebar ul li a.active {
  background: rgba(99,102,241,0.1); color: var(--clr-primary-l);
}
.docs-content h2 { color: var(--clr-white); margin: 48px 0 16px; border-bottom: 1px solid var(--clr-border); padding-bottom: 12px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { color: var(--clr-text); margin: 28px 0 12px; }
.docs-content p { margin-bottom: 16px; }
.docs-content ul, .docs-content ol { color: var(--clr-muted); padding-left: 24px; margin-bottom: 16px; }
.docs-content li { margin-bottom: 8px; }
.docs-content code {
  background: rgba(99,102,241,0.12); color: var(--clr-primary-l);
  padding: 2px 8px; border-radius: 6px; font-family: 'Courier New', monospace; font-size: 0.875rem;
}
.docs-content pre {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm); padding: 20px; overflow-x: auto; margin-bottom: 20px;
}
.docs-content pre code { background: none; padding: 0; color: var(--clr-accent); }
.tip-box {
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0;
}
.tip-box strong { color: var(--clr-green); }

@media (max-width: 768px) {
  .docs-grid { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Loader ── */
.download-btn-loading .btn-text { display: none; }
.download-btn-loading::after {
  content: '';
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}

/* ── Alert/Toast ── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm); padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-card); animation: fadeInUp 0.4s ease;
  max-width: 360px;
}
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error   { border-color: rgba(239,68,68,0.4); }
.toast-icon { font-size: 1.2rem; }

/* ── Misc utilities ── */
.text-white  { color: var(--clr-white) !important; }
.text-muted  { color: var(--clr-muted) !important; }
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ── ADMIN PANEL ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--clr-bg-2); border-right: 1px solid var(--clr-border);
  padding: 0; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; z-index: 100;
}
.admin-sidebar-brand {
  padding: 24px 20px; border-bottom: 1px solid var(--clr-border);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; gap: 10px;
}
.admin-sidebar-brand .logo-icon {
  width: 32px; height: 32px; background: var(--grad-btn);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.admin-nav { padding: 16px 12px; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-section-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--clr-muted); padding: 0 8px; margin-bottom: 8px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--clr-muted); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); text-decoration: none; margin-bottom: 2px;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(99,102,241,0.12); color: var(--clr-primary-l);
}
.admin-nav-item .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-main { margin-left: 260px; flex: 1; min-height: 100vh; background: var(--clr-bg); }
.admin-topbar {
  background: var(--clr-bg-2); border-bottom: 1px solid var(--clr-border);
  padding: 16px 32px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar h1 { font-size: 1.3rem; color: var(--clr-white); }
.admin-content { padding: 32px; }

.stat-card {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden;
}
.stat-card .stat-value { font-size: 2.2rem; font-weight: 800; color: var(--clr-white); font-family: 'Plus Jakarta Sans', sans-serif; }
.stat-card .stat-label { color: var(--clr-muted); font-size: 0.875rem; margin-top: 4px; }
.stat-card .stat-icon {
  position: absolute; right: 20px; top: 20px;
  font-size: 2rem; opacity: 0.15;
}
.stat-card .stat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(16,185,129,0.12); color: var(--clr-green);
  padding: 2px 8px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-top: 8px;
}
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.chart-card {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 24px;
}
.chart-card h3 { color: var(--clr-white); font-size: 1rem; margin-bottom: 20px; }
.charts-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 28px; }
.charts-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 900px) { .charts-row { grid-template-columns: 1fr; } .charts-row-3 { grid-template-columns: 1fr; } }

.table-card {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
}
.table-card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: space-between;
}
.table-card-header h3 { color: var(--clr-white); font-size: 1rem; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 20px; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-muted); border-bottom: 1px solid var(--clr-border); font-weight: 600; }
td { padding: 14px 20px; font-size: 0.875rem; border-bottom: 1px solid rgba(99,102,241,0.07); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(99,102,241,0.04); }

.device-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.device-badge.mobile  { background: rgba(99,102,241,0.15); color: var(--clr-primary-l); }
.device-badge.desktop { background: rgba(6,182,212,0.15);  color: var(--clr-accent); }
.device-badge.tablet  { background: rgba(245,158,11,0.15); color: #fbbf24; }

.admin-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--clr-text); margin-bottom: 8px; }
.form-control {
  width: 100%; background: var(--clr-bg); border: 1px solid var(--clr-border);
  color: var(--clr-text); padding: 12px 16px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-control::placeholder { color: var(--clr-muted); }

.alert {
  padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
  font-size: 0.9rem; font-weight: 500;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.alert-error   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.3);   color: #f87171; }
.alert-info    { background: rgba(99,102,241,0.1);  border: 1px solid rgba(99,102,241,0.3);  color: var(--clr-primary-l); }

.pagination { display: flex; gap: 8px; justify-content: center; padding: 20px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: 8px; font-size: 0.875rem;
  border: 1px solid var(--clr-border); color: var(--clr-muted); transition: var(--transition);
}
.pagination a:hover { border-color: var(--clr-primary); color: var(--clr-primary-l); }
.pagination .active span, .pagination span[aria-current="page"] { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }

.country-flag { font-size: 1.2rem; margin-right: 6px; }

/* Admin login */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--clr-bg); }
.admin-login-card {
  background: var(--clr-bg-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-glow);
}
.admin-login-card h1 { font-size: 1.8rem; color: var(--clr-white); margin-bottom: 8px; text-align: center; }
.admin-login-card p { text-align: center; margin-bottom: 32px; }
