/* ============================================================
   Aura Bank — Design System
============================================================ */
:root {
  --primary: #6c2bd9;
  --primary-2: #9d4edd;
  --primary-3: #c77dff;
  --bg: #0c0a1a;
  --bg-2: #14102a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.55);
  --success: #28c76f;
  --warning: #ff9f43;
  --danger: #ea5455;
  --info: #00cfe8;
  --secondary: #82868b;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(108, 43, 217, 0.35);
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-3); text-decoration: none; }
a:hover { color: #fff; }

img { max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 10, 26, 0.85);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px; color: #fff;
}
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 6px 20px rgba(108,43,217,.45);
}
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  padding: 10px 14px; border-radius: 10px; color: var(--text-muted); font-weight: 500;
  font-size: 14px;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(108,43,217,.45);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover { background: rgba(255,255,255,.07); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.05); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(12, 10, 26, 0.78), rgba(20, 16, 42, 0.78)),
    url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1600&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(157,78,221,.45), transparent 60%);
  filter: blur(60px); z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-badge {
  display: inline-flex; padding: 8px 16px; border-radius: 999px;
  background: rgba(157,78,221,.15); border: 1px solid rgba(157,78,221,.4);
  color: var(--primary-3); font-size: 13px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 18px 0 14px;
  font-weight: 800; letter-spacing: -1px;
}
.hero h1 span { background: linear-gradient(135deg, var(--primary-2), var(--primary-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-muted); font-size: 17px; line-height: 1.6; max-width: 560px; }
.limit-box {
  background: linear-gradient(135deg, rgba(108,43,217,.18), rgba(157,78,221,.10));
  border: 1px solid rgba(157,78,221,.35);
  border-radius: 18px; padding: 22px 26px; margin: 24px 0;
}
.limit-box small { color: var(--text-dim); display: block; font-size: 13px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .8px; }
.limit-box strong { font-size: 30px; font-weight: 800; color: #fff; }
.limit-box p { margin: 8px 0 0; color: var(--text-muted); font-size: 14px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 22px; }
.hero .metrics { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 0 6px rgba(40,199,111,.18); display: inline-block; margin-right: 8px; }

.hero-benefits {
  list-style: none;
  margin: 18px 0 12px;
  padding: 0;
  max-width: 560px;
}
.hero-benefits li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}
.hero-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  box-shadow: 0 0 0 4px rgba(157, 78, 221, 0.2);
}

/* Card cartão */
.card-mock {
  background: linear-gradient(135deg, #2b1259, #6c2bd9 60%, #c77dff);
  border-radius: 24px; padding: 28px; aspect-ratio: 1.6 / 1;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-mock::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.card-mock .brand-line { font-size: 13px; opacity: .9; letter-spacing: 1.5px; }
.card-mock .label { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: 1.5px; }
.card-mock .number { font-size: 22px; letter-spacing: 3px; font-weight: 600; margin-top: 8px; }
.card-mock .footer { display: flex; justify-content: space-between; align-items: end; }
.card-mock .chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #ffd166, #f59e0b); }

/* ===== Stats ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px 0 64px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.stat strong { display: block; font-size: 28px; font-weight: 800; }
.stat span { color: var(--text-muted); font-size: 13px; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-title { text-align: center; margin: 0 0 8px; font-size: 36px; font-weight: 800; }
.section-subtitle { text-align: center; color: var(--text-muted); margin: 0 0 40px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: rgba(157,78,221,.4); }
.benefit .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 28px; margin-bottom: 18px;
}
.benefit .icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.benefit h3 { margin: 0 0 8px; font-size: 20px; }
.benefit p { color: var(--text-muted); margin: 0; line-height: 1.6; }
.section-photo-block {
  position: relative;
  overflow: hidden;
}
.section-photo-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(12, 10, 26, 0.86), rgba(20, 16, 42, 0.86)),
    url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?auto=format&fit=crop&w=1600&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  pointer-events: none;
}
.section-photo-block .container {
  position: relative;
  z-index: 1;
}

/* FAQ */
.faqs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .faqs { grid-template-columns: 1fr; } }
.faq {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.faq h4 { margin: 0 0 8px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.faq h4::before {
  content: '?'; display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(157,78,221,.2); color: var(--primary-3); font-weight: 700; font-size: 14px;
}
.faq p { margin: 0; color: var(--text-muted); line-height: 1.6; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.t-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.stars { color: #ffd166; letter-spacing: 4px; margin-bottom: 12px; }
.t-card blockquote { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 0 16px; font-style: italic; }
.t-card .who strong { display: block; }
.t-card .who span { color: var(--text-muted); font-size: 13px; }

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 28px; padding: 56px; text-align: center; margin: 32px 0;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: 36px; margin: 0 0 12px; }
.cta-banner p { max-width: 640px; margin: 0 auto 24px; color: rgba(255,255,255,.9); }
.cta-banner .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.5); }

/* Modal — pré-aprovação (home) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 4, 18, 0.72);
  backdrop-filter: blur(8px);
}
.modal-overlay[hidden] { display: none !important; }
.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-lg);
}
.modal-card h2 { margin: 0 0 8px; font-size: 22px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,.12); }
.modal-spinner {
  width: 40px;
  height: 40px;
  margin: 12px auto 0;
  border-radius: 50%;
  border: 3px solid rgba(157, 78, 221, 0.25);
  border-top-color: var(--primary-2);
  animation: modal-spin 0.85s linear infinite;
}
@keyframes modal-spin { to { transform: rotate(360deg); } }
.approval-burst {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 8px 0 16px;
  background: linear-gradient(135deg, #fff, var(--primary-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: approval-pop 0.55s ease-out both;
}
@keyframes approval-pop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.approval-limit {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-muted);
}
.approval-limit strong { color: #fff; font-size: 18px; }

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.btn.is-loading { pointer-events: none; opacity: 0.75; }

.field-error {
  color: #ff9a9c;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.35;
}
.field-error[hidden] { display: none !important; }

.wizard-nav.flex { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wizard-steps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.wizard-step-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.wizard-step-dot .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.wizard-step-dot.active {
  color: #fff;
  border-color: var(--primary-2);
  background: rgba(157, 78, 221, 0.12);
}

.wizard-step-dot.active .num {
  background: var(--primary-2);
}

.invoice-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}

.invoice-radio input {
  margin-top: 3px;
}

.due-day-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.due-day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.due-day-tile {
  min-width: 52px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.due-day-tile:hover {
  border-color: rgba(157, 78, 221, 0.45);
  color: #fff;
  background: rgba(157, 78, 221, 0.1);
}

.due-day-tile.is-selected {
  border-color: var(--primary-2);
  background: rgba(157, 78, 221, 0.22);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.25);
}

.due-day-tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.45);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 32px 0;
  text-align: center; color: var(--text-muted); font-size: 14px;
}

/* ===== Forms ===== */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; max-width: 540px; margin: 60px auto;
  box-shadow: var(--shadow);
}
.form-card.wide { max-width: 920px; }
.form-card h1 { margin: 0 0 8px; font-size: 26px; }
.form-card .lead { color: var(--text-muted); margin: 0 0 24px; }
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row.two, .form-row.three { grid-template-columns: 1fr; } }
.form-row label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-family: inherit; outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary-2); background: rgba(157,78,221,.06);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-help { color: var(--text-dim); font-size: 12px; margin-top: 4px; }

.form-submit { display: flex; gap: 10px; margin-top: 12px; }

/* Alerts */
.alert {
  padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14px;
  border: 1px solid transparent;
}
.alert-success { background: rgba(40,199,111,.1); border-color: rgba(40,199,111,.3); color: #66e2a0; }
.alert-error { background: rgba(234,84,85,.1); border-color: rgba(234,84,85,.3); color: #ff8a8b; }
.alert-info { background: rgba(0,207,232,.1); border-color: rgba(0,207,232,.3); color: #5cd8ec; }

/* ===== Steps (form de solicitação) ===== */
.steps { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; flex-wrap: wrap; }
.steps .step {
  display: flex; align-items: center; gap: 10px; color: var(--text-dim);
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px;
}
.steps .step.active { color: #fff; border-color: var(--primary-2); background: rgba(157,78,221,.12); }
.steps .step .num {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700;
}
.steps .step.active .num { background: var(--primary-2); }

/* ===== Tables ===== */
.table {
  width: 100%; border-collapse: collapse; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.table th, .table td {
  padding: 14px 16px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.table th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; background: rgba(255,255,255,.02); }
.table tbody tr:hover { background: rgba(255,255,255,.02); }
.table .actions { display: flex; gap: 6px; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.06); color: var(--text);
}
.badge-success { background: rgba(40,199,111,.15); color: #66e2a0; }
.badge-warning { background: rgba(255,159,67,.15); color: #ffba6e; }
.badge-danger { background: rgba(234,84,85,.15); color: #ff8a8b; }
.badge-info { background: rgba(0,207,232,.15); color: #5cd8ec; }
.badge-secondary { background: rgba(130,134,139,.15); color: #b3b6ba; }

/* ===== Painel admin layout ===== */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }
.sidebar {
  background: rgba(0,0,0,.35); border-right: 1px solid var(--border);
  padding: 28px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { margin-bottom: 28px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px; color: var(--text-muted); font-size: 14px;
  margin-bottom: 4px;
}
.sidebar nav a:hover, .sidebar nav a.active { background: rgba(157,78,221,.14); color: #fff; }
.admin-content { padding: 28px; max-width: 100%; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-topbar h1 { margin: 0; font-size: 26px; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px;
}
.kpi small { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.kpi strong { display: block; font-size: 28px; margin-top: 6px; font-weight: 800; }

/* ===== Client area ===== */
.client-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .client-shell { grid-template-columns: 1fr; } }

.section-title-left { font-size: 22px; margin: 0 0 16px; }
.panel {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.panel + .panel { margin-top: 16px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative; padding: 0 0 18px 24px; border-left: 2px solid rgba(255,255,255,.1);
}
.timeline li::before {
  content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  background: var(--primary-2); border-radius: 50%;
}
.timeline strong { display: block; font-size: 14px; }
.timeline span { color: var(--text-dim); font-size: 12px; }
.timeline p { margin: 4px 0 0; color: var(--text-muted); font-size: 14px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select {
  padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.05); color: #fff;
  border: 1px solid var(--border); font-size: 14px;
}

.pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager a, .pager span {
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.05);
  color: var(--text-muted); font-size: 13px;
}
.pager a.active, .pager a:hover { background: var(--primary); color: #fff; }

/* utilities */
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 20px !important; }
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 20px !important; }
.flex { display: flex; }
.gap-2 { gap: 12px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== Client App Style ===== */
.client-shell {
  background: linear-gradient(180deg, #f4f6fb 0%, #eef2f7 100%);
  color: #1f2937;
}
.client-shell .admin-content {
  color: #1f2937;
  padding: 18px 16px 92px;
}
.client-sidebar {
  background: linear-gradient(180deg, #1a1235 0%, #140f2a 100%);
}
.client-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: -18px -16px 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #8A05BE, #B12BFF);
  color: #fff;
  box-shadow: 0 8px 24px rgba(138, 5, 190, 0.35);
}
.client-topbar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.client-topbar p {
  margin: 6px 0 0;
  opacity: 0.92;
  font-size: 12px;
}
.client-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.client-summary .item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}
.client-summary small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}
.client-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: #111827;
}
.client-shell .panel,
.client-shell .table {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.client-shell .form-row label {
  color: #4b5563;
}
.client-shell .form-row input,
.client-shell .form-row select,
.client-shell .form-row textarea {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #111827;
}
.client-shell .form-row input:focus,
.client-shell .form-row select:focus,
.client-shell .form-row textarea:focus {
  border-color: #8A05BE;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(138, 5, 190, 0.10);
}
.client-shell .form-row input[disabled] {
  background: #f3f4f6;
  color: #374151;
}
.client-shell .table th {
  color: #6b7280;
  background: #f8fafc;
  border-bottom-color: #e5e7eb;
}
.client-shell .table td { border-bottom-color: #f1f5f9; }
.client-shell .timeline li {
  border-left-color: #e5e7eb;
}
.client-shell .timeline span,
.client-shell .muted,
.client-shell .dim {
  color: #6b7280;
}
.client-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.client-hero-card {
  margin: 0 0 14px;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, #8A05BE, #B12BFF);
  box-shadow: 0 12px 28px rgba(138,5,190,.35);
}
.client-hero-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.05;
}
.client-hero-card p {
  margin: 0;
  font-size: 13px;
  opacity: .95;
}
.client-info-list p {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.client-info-list p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.client-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.client-form-card .form-row label {
  color: #6b7280;
}
.client-form-card .form-row input,
.client-form-card .form-row select,
.client-form-card .form-row textarea {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.client-form-card .form-row input:focus,
.client-form-card .form-row select:focus,
.client-form-card .form-row textarea:focus {
  border-color: #8A05BE;
  background: #fff;
}
.client-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e5e7eb;
  backdrop-filter: blur(8px);
}
.client-bottom-nav a {
  text-align: center;
  padding: 12px 6px 13px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
}
.client-bottom-nav a.active {
  color: #8A05BE;
}

/* ===== About timeline ===== */
.about-timeline {
  position: relative;
  margin-top: 10px;
  padding-left: 36px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(199, 125, 255, 0.28);
}
.about-timeline-progress {
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-2), var(--primary-3));
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.25s linear;
}
.about-timeline-item {
  position: relative;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.about-timeline-item:last-child { margin-bottom: 0; }
.about-timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-timeline-dot {
  position: absolute;
  left: -36px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 4px rgba(157, 78, 221, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-timeline-dot svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
}
.about-timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.about-timeline-card small {
  color: var(--primary-3);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.about-timeline-card h4 {
  margin: 6px 0 8px;
  font-size: 18px;
}
.about-timeline-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .site-header .container {
    position: relative;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(20, 16, 42, 0.97);
    box-shadow: var(--shadow);
  }
  .nav a,
  .nav .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  body.nav-open .nav {
    display: flex;
  }
  .client-sidebar { display: none; }
  .client-bottom-nav { display: grid; }
  .client-shell .admin-content { padding-bottom: 82px; }
  .client-summary { grid-template-columns: 1fr; }
}
