/* ===== Crediva Dual Theme Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@400;500&display=swap');

/* ---------- LIGHT THEME (DEFAULT) ---------- */
:root {
  --primary: #1A56DB;
  --secondary: #EEF2FF;
  --accent: #CBD5E1;

  --bg-main: #F8FAFF;
  --bg-gradient: linear-gradient(180deg, #F8FAFF, #EEF2FF);

  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);

  --text-main: #0F172A;
  --text-muted: #475569;
}

/* ---------- DARK THEME ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4F7DFF;
    --secondary: #0F172A;
    --accent: #1E293B;

    --bg-main: #020617;
    --bg-gradient: radial-gradient(
      circle at top,
      #0B1220 0%,
      #020617 60%
    );

    --glass-bg: rgba(15, 23, 42, 0.72);
    --glass-border: rgba(255, 255, 255, 0.06);

    --text-main: #E5E7EB;
    --text-muted: #94A3B8;
  }
}
/* Dashboard Mock Styling */
.dashboard-mock h2 {
  font-family: Outfit, sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Stats Cards */
.stats-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  flex: 1 1 200px;
  text-align: center;
}

.stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.stat-card p {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.quick-actions button {
  width: 160px;
  height: 44px;
  font-size: 0.95rem;
  border-radius: 999px;
}

/* Recent Campaigns Table */
.recent-campaigns table {
  width: 100%;
  border-collapse: collapse;
}

.recent-campaigns th,
.recent-campaigns td {
  padding: 12px 15px;
  text-align: left;
}

.recent-campaigns th {
  color: var(--text-main);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}

.recent-campaigns td {
  color: var(--text-muted);
  border-bottom: 1px solid var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .stats-cards {
    flex-direction: column;
    align-items: center;
  }
  .quick-actions {
    flex-direction: column;
    align-items: center;
  }
}
/* ---------- BASE ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
}

/* ---------- HERO ---------- */
.hero {
  padding: 130px 20px 90px;
  text-align: center;
}

.hero h1 {
  font-family: Outfit, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---------- GLASS CARD ---------- */
.glass-card {
  max-width: 720px;
  margin: 50px auto;
  padding: 36px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 26px;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---------- INPUTS ---------- */
label {
  display: block;
  margin-top: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input,
select {
  width: 100%;
  height: 54px;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
}

input::placeholder {
  color: #94A3B8;
}

/* ---------- BUTTON ---------- */
button {
  margin-top: 32px;
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.45);
}
/* Hero button override */
.hero button {
  width: 180px;
  height: 44px;
  font-size: 0.95rem;
  margin-top: 24px;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(59, 130, 246, 0.65);
}

/* ---------- SECTIONS ---------- */
.section {
  max-width: 1100px;
  margin: 110px auto;
  padding: 0 20px;
}

.section h2 {
  font-family: Outfit, sans-serif;
  font-size: 2.1rem;
  margin-bottom: 22px;
}

/* ---------- EXTRA DARK SECTION ---------- */
.dark-section {
  background: linear-gradient(
    180deg,
    #020617,
    #020617 60%,
    #000000
  );
  color: #E5E7EB;
  padding: 140px 20px;
}

.dark-section h2 {
  color: #FFFFFF;
}

.dark-section p {
  color: #9CA3AF;
}
