/* =========================================================
   Kuesioner Studi Jemaat 2026 – Main Stylesheet
   ========================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@300;400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:        #1e3a5f;
  --primary-light:  #2d5986;
  --primary-dark:   #132740;
  --secondary:      #c8922a;
  --secondary-light:#e5b657;
  --accent:         #f7f3ec;
  --accent-dark:    #ece5d8;
  --success:        #2e7d32;
  --danger:         #c62828;
  --text-dark:      #1a1a2e;
  --text-medium:    #4a5568;
  --text-light:     #718096;
  --bg:             #f4f1eb;
  --white:          #ffffff;
  --border:         #ddd6c9;
  --shadow-sm:      0 1px 4px rgba(30,58,95,.08);
  --shadow:         0 4px 16px rgba(30,58,95,.12);
  --shadow-lg:      0 8px 32px rgba(30,58,95,.16);
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      16px;
  --transition:     .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Merriweather', serif; line-height: 1.3; }
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); }

/* ── Utility ── */
.container   { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }
.container-lg{ max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.hidden{ display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--accent); text-decoration: none; }
.btn-gold {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-gold:hover { background: #b07d22; border-color: #b07d22; text-decoration: none; }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* ── Navbar ── */
.navbar {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.navbar-brand .logo-circle {
  width: 40px; height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.navbar-brand:hover { text-decoration: none; color: var(--secondary-light); }
.navbar-subtitle { font-family: 'Lato', sans-serif; font-size: .75rem; font-weight: 400; opacity: .85; }

/* ── Hero / Landing ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: clamp(.95rem, 2.5vw, 1.15rem); opacity: .9; max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 60px;
}

/* ── Progress Bar ── */
.progress-wrap {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .88rem;
  color: var(--text-medium);
}
.progress-bar-track {
  height: 6px;
  background: var(--accent-dark);
  border-radius: 50px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 50px;
  transition: width .4s ease;
}
.step-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: .75rem;
}
.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-dark);
  transition: all .3s;
}
.step-dot.active  { background: var(--secondary); transform: scale(1.2); }
.step-dot.done    { background: var(--primary); }

/* ── Form Sections ── */
.form-section {
  padding: 2rem 0;
  animation: fadeSlide .35s ease;
}
.section-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}
.section-header .section-tag {
  font-size: .8rem;
  background: rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .2rem .8rem;
  display: inline-block;
  margin-bottom: .5rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.section-header h2 { font-size: 1.2rem; margin: 0; }
.section-header p  { opacity: .85; font-size: .9rem; margin-top: .3rem; }
.section-body      { padding: 1.5rem; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); }

/* ── Form Controls ── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .6rem;
  font-size: .95rem;
}
.form-label .q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  margin-right: .5rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.form-hint {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: .8rem;
  font-style: italic;
}
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45,89,134,.15);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e3a5f' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-error {
  font-size: .82rem;
  color: var(--danger);
  margin-top: .35rem;
  display: none;
}
.form-group.has-error .form-control,
.form-group.has-error .radio-card,
.form-group.has-error .check-card { border-color: var(--danger) !important; }
.form-group.has-error .form-error { display: block; }

/* ── Radio/Checkbox Cards ── */
.options-grid {
  display: grid;
  gap: .6rem;
}
.options-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.radio-card,
.check-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--white);
  user-select: none;
}
.radio-card:hover,
.check-card:hover { border-color: var(--primary-light); background: var(--accent); }
.radio-card input,
.check-card input { display: none; }
.radio-dot {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.check-box {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: .9rem;
  color: transparent;
}
.radio-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(30,58,95,.04), rgba(45,89,134,.06));
}
.radio-card.selected .radio-dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--white);
}
.check-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(30,58,95,.04), rgba(45,89,134,.06));
}
.check-card.selected .check-box {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.check-card.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* Inline "Lainnya" text field within card */
.other-input {
  margin-top: .5rem;
  width: 100%;
  padding: .5rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .9rem;
  font-family: 'Lato', sans-serif;
  display: none;
}
.other-input.show { display: block; }

/* ── Form Navigation ── */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 .5rem;
  gap: 1rem;
}
.form-nav .step-label {
  font-size: .85rem;
  color: var(--text-light);
}

/* ── Intro Card ── */
.intro-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.intro-card::after {
  content: '✝';
  position: absolute;
  right: 2rem; bottom: -1rem;
  font-size: 8rem;
  opacity: .04;
  font-family: serif;
}
.intro-card blockquote {
  font-style: italic;
  border-left: 3px solid var(--secondary);
  padding-left: 1rem;
  margin: 1rem 0;
  font-size: .95rem;
  opacity: .9;
}

/* ── Thank You Page ── */
.thankyou-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.thankyou-card {
  text-align: center;
  max-width: 520px;
  width: 100%;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.thankyou-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--success), #43a047);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(46,125,50,.3);
}

/* ── Admin Login ── */
.login-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo .cross {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: .75rem;
}
.login-logo h1 { font-size: 1.2rem; color: var(--primary); }
.login-logo p  { font-size: .85rem; color: var(--text-light); }

/* ── Admin Layout ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 200;
  transition: transform .3s ease;
}
.sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.sidebar-brand .brand-icon {
  width: 40px; height: 40px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sidebar-brand .brand-text { font-size: .85rem; line-height: 1.3; }
.sidebar-brand .brand-text strong { font-family: 'Merriweather', serif; font-size: .95rem; }
.sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; }
.nav-section-label {
  padding: .75rem 1.5rem .3rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  font-weight: 700;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); text-decoration: none; }
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
  border-left-color: var(--secondary);
}
.nav-link .nav-icon { width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.sidebar-footer a { color: #ef9a9a; }
.sidebar-footer a:hover { color: #ffcdd2; }

.admin-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.topbar-title { font-family: 'Merriweather', serif; font-size: 1.05rem; color: var(--primary); }
.topbar-right { display: flex; align-items: center; gap: 1rem; font-size: .88rem; color: var(--text-medium); }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--primary);
}
.admin-content { flex: 1; padding: 1.5rem; }

/* ── Stat Cards ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-icon.blue   { background: #e3f0fb; color: var(--primary); }
.stat-icon.gold   { background: #fdf3dc; color: var(--secondary); }
.stat-icon.green  { background: #e8f5e9; color: var(--success); }
.stat-icon.purple { background: #f3e5f5; color: #7b1fa2; }
.stat-info .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-info .stat-label { font-size: .82rem; color: var(--text-light); margin-top: .25rem; }

/* ── Charts ── */
.charts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.25rem; }
.chart-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.chart-card.full-width { grid-column: 1 / -1; }
.chart-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--accent-dark);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.chart-header .chart-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--primary);
}
.chart-header h3 { font-size: .95rem; color: var(--primary); margin: 0; font-family: 'Lato', sans-serif; font-weight: 700; }
.chart-body { padding: 1.25rem; }
.chart-wrap { position: relative; height: 260px; }
.chart-wrap.tall   { height: 340px; }
.chart-wrap.short  { height: 200px; }

/* ── Data Table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.data-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--accent-dark);
  vertical-align: top;
}
.data-table tr:hover td { background: var(--accent); }
.data-table tr:nth-child(even) td { background: #fdfbf8; }
.data-table tr:nth-child(even):hover td { background: var(--accent); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-primary  { background: rgba(30,58,95,.1);  color: var(--primary); }
.badge-gold     { background: rgba(200,146,42,.15); color: #8a6000; }
.badge-success  { background: rgba(46,125,50,.1);  color: var(--success); }
.badge-danger   { background: rgba(198,40,40,.1);  color: var(--danger); }
.badge-gray     { background: #eee; color: #555; }

/* ── Infografis ── */
.infografis-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.infografis-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}
.infografis-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.infografis-body { padding: 2rem; }
.infografis-section { margin-bottom: 2.5rem; }
.infografis-section h3 {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.info-highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.info-highlight .big-num { font-size: 3rem; font-weight: 700; line-height: 1; }
.info-highlight .big-label { font-size: .9rem; opacity: .85; margin-top: .25rem; }

/* ── Alerts ── */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: .93rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.alert-danger  { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-info    { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

/* ── Footer ── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
  margin-top: auto;
}
.site-footer a { color: var(--secondary-light); }

/* ── Animations ── */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.animate-pulse { animation: pulse 2s infinite; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--accent-dark);
  margin: 1.5rem 0;
}

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem;
  background: var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.filter-bar label { font-size: .88rem; font-weight: 600; color: var(--text-medium); }
.filter-bar select, .filter-bar input {
  padding: .45rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .88rem;
  background: var(--white);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hamburger { display: block; }
  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 199;
  }
  .sidebar-overlay.show { display: block; }
  .charts-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .form-nav { flex-direction: column; }
  .form-nav .btn { width: 100%; justify-content: center; }
  .hero { padding: 3rem 0 2.5rem; }
  .options-grid.cols-2 { grid-template-columns: 1fr; }
  .admin-content { padding: 1rem; }
  .intro-card { padding: 1.5rem; }
  .admin-topbar { padding: .75rem 1rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Print styles for infografis ── */
@media print {
  .admin-sidebar, .admin-topbar, .btn, .filter-bar { display: none !important; }
  .admin-main { margin-left: 0; }
  .infografis-wrap { box-shadow: none; }
}
