/* ============================================================
   LSP UIN Mataram — Solarized Light Theme
   assets/css/style.css  (v2 – fixed layout)
   ============================================================ */

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

/* ── CSS Custom Properties (Solarized Light Palette) ────── */
:root {
  /* Solarized Light Base */
  --sol-base3:  #FDF6E3;
  --sol-base2:  #EEE8D5;
  --sol-base1:  #93A1A1;
  --sol-base0:  #839496;
  --sol-base00: #657B83;
  --sol-base01: #586E75;
  --sol-base02: #073642;
  --sol-base03: #002B36;

  /* Solarized Accents */
  --sol-yellow:  #B58900;
  --sol-orange:  #CB4B16;
  --sol-red:     #DC322F;
  --sol-magenta: #D33682;
  --sol-violet:  #6C71C4;
  --sol-blue:    #268BD2;
  --sol-cyan:    #2AA198;
  --sol-green:   #859900;

  /* Semantic Colors */
  --primary:     var(--sol-blue);
  --primary-dk:  #1a6fa8;
  --secondary:   var(--sol-cyan);
  --success:     var(--sol-green);
  --warning:     var(--sol-yellow);
  --danger:      var(--sol-red);
  --info:        var(--sol-violet);

  /* Layout */
  --sidebar-w:   260px;
  --topbar-h:    64px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(0,43,54,.08);
  --shadow-md:   0 4px 24px rgba(0,43,54,.12);
  --shadow-lg:   0 8px 40px rgba(0,43,54,.18);

  /* Typography */
  --font:        'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:   'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--sol-base00);
  background: var(--sol-base3);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dk); }

img { max-width: 100%; }

/* ── App Shell ────────────────────────────────────────── */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sol-base02);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 20px rgba(0,0,0,.15);
}

.sidebar-brand {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

.sidebar-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--sol-blue), var(--sol-cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.brand-text h2 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.brand-text span {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

.nav-section {
  padding: 0 12px;
  margin-bottom: 8px;
}

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 8px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  margin-bottom: 2px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(38,139,210,.2);
  color: #fff;
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(38,139,210,.35), rgba(42,161,152,.25));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--sol-blue);
}

.nav-item .nav-icon {
  font-size: 18px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sol-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  font-weight: 700;
}

.user-info  { flex: 1; min-width: 0; }
.user-name  { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role  { font-size: 11px; color: rgba(255,255,255,.45); text-transform: capitalize; }

/* ── Main Content ──────────────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* ── Topbar ────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid var(--sol-base2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,43,54,.05);
  flex-shrink: 0;
}

.topbar-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--sol-base01);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--sol-base2);
  border-radius: 8px;
  color: var(--sol-base01);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
}

.topbar-logout:hover {
  background: #fde0e0;
  color: var(--danger);
}

/* ── Page Content ──────────────────────────────────────── */
.page-content {
  padding: 28px 32px;
  flex: 1;
}

.page-header { margin-bottom: 24px; }

.page-header h1 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--sol-base01);
  margin-bottom: 4px;
}

.page-header p {
  color: var(--sol-base1);
  font-size: 14px;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--sol-base2);
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sol-base2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.card-header h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--sol-base01);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: 24px; }

/* ── Stat Cards ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--sol-base2);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon.blue    { background: #dff0fb; }
.stat-icon.green   { background: #e5edcc; }
.stat-icon.orange  { background: #fde5da; }
.stat-icon.cyan    { background: #d9f2ef; }
.stat-icon.yellow  { background: #fdf3d0; }
.stat-icon.violet  { background: #ece9f7; }

.stat-info { flex: 1; min-width: 0; }
.stat-value {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--sol-base01);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--sol-base1);
  margin-top: 4px;
  font-weight: 500;
}

/* ── Status Badges ────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-draft          { background: #e8e8e8; color: #666; }
.status-submitted      { background: #dff0fb; color: #268bd2; }
.status-invalid        { background: #fde5da; color: #cb4b16; }
.status-complete       { background: #e5edcc; color: #6b7a00; }
.status-approved       { background: #d9f2ef; color: #2aa198; }
.status-rejected       { background: #fde0e0; color: #dc322f; }

/* ── Table ─────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  background: var(--sol-base2);
  color: var(--sol-base01);
  font-weight: 700;
  padding: 13px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #f0ece0;
  transition: background .15s;
}

tbody tr:hover { background: #faf7ee; }

tbody td {
  padding: 12px 16px;
  color: var(--sol-base00);
  vertical-align: middle;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1;
}

.btn-primary  { background: var(--sol-blue); color: #fff; }
.btn-primary:hover  { background: var(--primary-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(38,139,210,.35); }

.btn-success  { background: var(--sol-green); color: #fff; }
.btn-success:hover  { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

.btn-danger   { background: var(--sol-red); color: #fff; }
.btn-danger:hover   { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

.btn-warning  { background: var(--sol-orange); color: #fff; }
.btn-warning:hover  { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

.btn-secondary { background: var(--sol-base2); color: var(--sol-base01); }
.btn-secondary:hover { background: #ddd8c8; color: var(--sol-base01); }

.btn-outline  { background: transparent; border: 2px solid var(--sol-blue); color: var(--sol-blue); }
.btn-outline:hover { background: var(--sol-blue); color: #fff; }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sol-base01);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--sol-red);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d5cdb8;
  border-radius: 8px;
  font-size: 14px;
  color: var(--sol-base00);
  background: #fff;
  font-family: var(--font);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--sol-blue);
  box-shadow: 0 0 0 3px rgba(38,139,210,.15);
}

.form-control:disabled {
  background: var(--sol-base2);
  color: var(--sol-base1);
  cursor: not-allowed;
}

select.form-control { cursor: pointer; }

textarea.form-control { resize: vertical; min-height: 90px; }

.form-hint {
  font-size: 11.5px;
  color: var(--sol-base1);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--sol-red);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; }

/* ── Upload Area ──────────────────────────────────────── */
.upload-area {
  border: 2px dashed #c4bba0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  background: #faf7ee;
  position: relative;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--sol-blue);
  background: #edf5fc;
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon    { font-size: 40px; margin-bottom: 10px; }
.upload-title   { font-size: 15px; font-weight: 600; color: var(--sol-base01); margin-bottom: 4px; }
.upload-subtitle{ font-size: 12px; color: var(--sol-base1); }

.upload-preview {
  margin-top: 12px;
  padding: 12px 16px;
  background: #e5edcc;
  border-radius: 8px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4a5500;
  font-weight: 600;
}

.upload-preview.show { display: flex; }
.upload-preview .remove-file { margin-left: auto; cursor: pointer; color: var(--sol-red); font-size: 18px; }

.upload-uploading { display: none; margin-top: 8px; }
.upload-uploading.show { display: block; }

/* ── Progress Bar (Multi-step) ────────────────────────── */
.step-progress {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  padding: 0 8px;
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-item:last-child { flex: 0; }

.step-circle-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s;
  border: 2.5px solid #c4bba0;
  background: #fff;
  color: var(--sol-base1);
  position: relative;
  z-index: 1;
}

.step-circle.active {
  border-color: var(--sol-blue);
  background: var(--sol-blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(38,139,210,.2);
}

.step-circle.done {
  border-color: var(--sol-green);
  background: var(--sol-green);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 3px;
  background: #c4bba0;
  margin: 0 -2px;
  transition: background .3s;
  position: relative;
  z-index: 0;
}

.step-line.done { background: var(--sol-green); }

.step-label {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--sol-base1);
  white-space: nowrap;
}

.step-label.active { color: var(--sol-blue); }
.step-label.done   { color: var(--sol-green); }

/* ── Step Panels ──────────────────────────────────────── */
.step-panel { display: none; animation: fadeSlide .3s ease; }
.step-panel.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 13px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  animation: alertIn .25s ease;
}

@keyframes alertIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alert-success { background: #e5edcc; color: #4a5a00; border-left: 4px solid var(--sol-green); }
.alert-error   { background: #fde0e0; color: #9c0000; border-left: 4px solid var(--sol-red); }
.alert-warning { background: #fdf3d0; color: #7a5a00; border-left: 4px solid var(--sol-yellow); }
.alert-info    { background: #dff0fb; color: #0e4f7a; border-left: 4px solid var(--sol-blue); }

/* ── Modal ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,43,54,.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open { display: flex; animation: fadeIn .2s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--sol-base3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sol-base2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--sol-base01);
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--sol-base2);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--sol-base01);
  transition: all .2s;
}

.modal-close:hover { background: #fde0e0; color: var(--danger); }
.modal-body        { padding: 24px; }
.modal-footer      { padding: 16px 24px; border-top: 1px solid var(--sol-base2); display: flex; gap: 10px; justify-content: flex-end; }

/* ── Document Review (Admin) ─────────────────────────── */
.doc-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.doc-review-item {
  border: 1.5px solid var(--sol-base2);
  border-radius: var(--radius);
  overflow: hidden;
}

.doc-review-header {
  padding: 12px 16px;
  background: var(--sol-base2);
  font-size: 13px;
  font-weight: 600;
  color: var(--sol-base01);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-review-body { padding: 14px; }

.doc-check {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.doc-check label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1.5px solid #d0c8af;
  transition: all .2s;
  flex: 1;
  justify-content: center;
}

.doc-check input[type="radio"]:checked + label.ok  { background: #e5edcc; border-color: var(--sol-green); color: #4a5500; }
.doc-check input[type="radio"]:checked + label.bad { background: #fde5da; border-color: var(--sol-orange); color: #7a2000; }
.doc-check input[type="radio"] { display: none; }

/* ═══════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════ */
.landing {
  min-height: 100vh;
  background: var(--sol-base3);
  display: flex;
  flex-direction: column;
}

/* ── Landing Navbar ────────────────────────────────────── */
.landing-nav {
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--sol-base2);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav-brand .brand-icon-sm {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--sol-blue), var(--sol-cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Landing Hero ──────────────────────────────────────── */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 48px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dff0fb;
  color: var(--sol-blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--sol-base02);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title span { color: var(--sol-blue); }

.hero-desc {
  font-size: 16px;
  color: var(--sol-base1);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--sol-base2);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.feature-icon  { font-size: 28px; margin-bottom: 10px; }
.feature-title { font-weight: 700; font-size: 14px; color: var(--sol-base01); margin-bottom: 4px; }
.feature-desc  { font-size: 12.5px; color: var(--sol-base1); line-height: 1.5; }

/* ── Hero Right Box ────────────────────────────────────── */
.hero-image-box {
  background: linear-gradient(135deg, var(--sol-base02) 0%, #0d4f63 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.hero-image-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(38,139,210,.15);
}

.hero-image-box::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(42,161,152,.12);
}

.hero-image-box > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #002B36 0%, #073642 50%, #0a4a5c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 28px;
  border-radius: 16px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.login-logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sol-blue), var(--sol-cyan));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

.login-logo-text h1 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.login-logo-text p {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.login-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  overflow: hidden;
}

.login-header {
  background: linear-gradient(135deg, var(--sol-base02), #0d4f63);
  padding: 28px 32px;
  text-align: center;
}

.login-header h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.login-header p { color: rgba(255,255,255,.6); font-size: 13px; }

.login-body { padding: 32px; }

/* ── Login Tabs ────────────────────────────────────────── */
.login-tabs {
  display: flex;
  border-radius: 10px;
  background: var(--sol-base2);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.login-tab {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--sol-base1);
  border-radius: 8px;
  transition: all .2s;
  user-select: none;
}

.login-tab.active {
  background: #fff;
  color: var(--sol-blue);
  box-shadow: var(--shadow);
}

.login-tab-content { display: none; }
.login-tab-content.active { display: block; animation: fadeSlide .25s ease; }

/* ── Google Button ─────────────────────────────────────── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 2px solid #e0d9c8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sol-base01);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
  text-decoration: none;
}

.btn-google:hover {
  border-color: var(--sol-blue);
  background: #f0f7fd;
  box-shadow: 0 4px 14px rgba(38,139,210,.18);
  color: var(--sol-base01);
  transform: translateY(-1px);
}

.google-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ── Review Summary ───────────────────────────────────── */
.review-section {
  background: var(--sol-base2);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.review-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--sol-base01);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #d5cdb8;
  font-size: 13.5px;
}

.review-row:last-child { border-bottom: none; }
.review-lbl { color: var(--sol-base1); min-width: 160px; font-weight: 500; flex-shrink: 0; }
.review-val { color: var(--sol-base00); font-weight: 600; }

.doc-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #d5cdb8;
  font-size: 13px;
}

.doc-status-row:last-child { border-bottom: none; }
.doc-check-icon { font-size: 18px; flex-shrink: 0; }
.doc-check-name { flex: 1; color: var(--sol-base00); }
.doc-check-size { color: var(--sol-base1); font-size: 12px; }

/* ── Loading Spinner ──────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast notification ───────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--sol-base02);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn .3s ease;
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  border-left: 4px solid var(--sol-blue);
}

.toast.success { border-left-color: var(--sol-green); }
.toast.error   { border-left-color: var(--sol-red); }

@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ── Empty State ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--sol-base1);
}

.empty-state .empty-icon { font-size: 60px; margin-bottom: 16px; opacity: .5; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--sol-base0); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0 auto 20px; }

/* ── Misc Utilities ───────────────────────────────────── */
.text-muted  { color: var(--sol-base1); }
.text-sm     { font-size: 12px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-2       { gap: 8px; }
.gap-3       { gap: 16px; }
.flex-1      { flex: 1; }
.grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3      { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.divider     { border: none; border-top: 1px solid var(--sol-base2); margin: 20px 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 40px;
  }
  .hero-image-box { display: none; }
  .hero-title { font-size: 36px; }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .doc-review-grid { grid-template-columns: 1fr; }
  .page-content { padding: 20px 16px; }
}

@media (max-width: 768px) {
  .landing-nav { padding: 0 20px; }
  .landing-hero { padding: 40px 20px; }
  .hero-title { font-size: 30px; }
  .hero-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .review-lbl { min-width: 120px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .login-box { border-radius: var(--radius); }
  .login-body { padding: 24px 20px; }
  .login-header { padding: 22px 20px; }
}
