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

:root {
  --bg:           #0d0d1a;
  --bg2:          #12122b;
  --bg3:          #1a1a3a;
  --card:         rgba(255,255,255,0.04);
  --card-border:  rgba(255,255,255,0.08);
  --purple:       #6C63FF;
  --purple-light: #8B84FF;
  --purple-dark:  #4A43CC;
  --green:        #22c55e;
  --green-bg:     rgba(34,197,94,0.12);
  --red:          #ef4444;
  --red-bg:       rgba(239,68,68,0.12);
  --blue:         #3b82f6;
  --blue-bg:      rgba(59,130,246,0.12);
  --orange:       #f97316;
  --orange-bg:    rgba(249,115,22,0.12);
  --cyan:         #06b6d4;
  --cyan-bg:      rgba(6,182,212,0.12);
  --pink:         #ec4899;
  --pink-bg:      rgba(236,72,153,0.12);
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-dim:     #64748b;
  --sidebar-w:    260px;
  --topbar-h:     72px;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 8px 32px rgba(0,0,0,0.4);
  --transition:   0.22s cubic-bezier(.4,0,.2,1);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ─── SIDEBAR ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.5rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}
.logo-icon { font-size: 2rem; }
.logo-text  { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--purple-light), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.sidebar-nav { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-item:hover  { color: var(--text); transform: translateX(3px); }
.nav-item:hover::before { opacity: 0.08; }
.nav-item.active { color: #fff; }
.nav-item.active::before { opacity: 1; }
.nav-item.active .nav-icon,
.nav-item.active span { position: relative; z-index: 1; }
.nav-icon { font-size: 1.2rem; }

.sidebar-footer { padding-top: 1rem; border-top: 1px solid var(--card-border); text-align: center; }
.sidebar-time { font-size: 1.4rem; font-weight: 700; color: var(--purple-light); }
.sidebar-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ─── MAIN CONTENT ──────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
}
.topbar-title { flex: 1; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.4rem; }

/* ─── PAGES ─────────────────────────────────────────────────── */
.page { display: none; padding: 2rem; flex: 1; animation: fadeIn 0.3s ease; }
.page.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(108,99,255,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-outline:hover { background: rgba(108,99,255,0.1); transform: translateY(-2px); }

.btn-link { background: none; border: none; color: var(--purple-light); font-size: 0.9rem; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

.icon-btn { background: var(--card); border: 1px solid var(--card-border); color: var(--text); width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; font-size: 1.1rem; transition: all var(--transition); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--purple); color: #fff; }

/* ─── SUMMARY CARDS ─────────────────────────────────────────── */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.summary-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.06;
}
.summary-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,255,255,0.15); }

.summary-card.green::after  { background: var(--green); }
.summary-card.red::after    { background: var(--red); }
.summary-card.blue::after   { background: var(--blue); }
.summary-card.orange::after { background: var(--orange); }
.summary-card.purple::after { background: var(--purple); }
.summary-card.cyan::after   { background: var(--cyan); }
.summary-card.pink::after   { background: var(--pink); }

.card-label  { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.card-value  { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.25rem; }
.card-sub    { font-size: 0.8rem; color: var(--text-muted); }
.card-icon-wrap { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 1.8rem; opacity: 0.7; }

.card-value.green  { color: var(--green); }
.card-value.red    { color: var(--red); }
.card-value.blue   { color: var(--blue); }
.card-value.purple { color: var(--purple-light); }
.card-value.orange { color: var(--orange); }
.card-value.cyan   { color: var(--cyan); }
.card-value.pink   { color: var(--pink); }

/* ─── CHART ─────────────────────────────────────────────────── */
.chart-section {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.chart-container { height: 280px; position: relative; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.section-title { font-size: 1.1rem; font-weight: 700; }
.year-controls { display: flex; gap: 0.5rem; align-items: center; }

/* ─── TABLE ─────────────────────────────────────────────────── */
.recent-section,
.tx-table-section { margin-bottom: 2rem; }

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.card-desc  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.table-wrapper { overflow-x: auto; border-radius: var(--radius-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th {
  background: var(--bg3);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.9rem 1rem;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.data-table tr { transition: background var(--transition); }
.data-table tr:hover td { background: rgba(255,255,255,0.03); }
.data-table tr:last-child td { border-bottom: none; }

/* Month group header row */
.month-group-row td {
  background: rgba(108,99,255,0.15) !important;
  color: var(--purple-light);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-top: 2px solid rgba(108,99,255,0.3);
  letter-spacing: 0.05em;
}

/* ─── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-masuk   { background: var(--green-bg);  color: var(--green); }
.badge-keluar  { background: var(--red-bg);    color: var(--red); }
.badge-kantor  { background: var(--blue-bg);   color: var(--blue); }
.badge-rumah   { background: var(--orange-bg); color: var(--orange); }
.badge-projek  { background: var(--cyan-bg);   color: var(--cyan); }
.badge-investasi { background: var(--pink-bg); color: var(--pink); }

.amount-masuk  { color: var(--green);  font-weight: 700; }
.amount-keluar { color: var(--red);    font-weight: 700; }

/* ─── FILTER BAR ────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.filter-bar select,
.filter-bar input { background: var(--bg3); border: 1px solid var(--card-border); color: var(--text); border-radius: var(--radius-sm); padding: 0.55rem 0.85rem; font-size: 0.88rem; font-family: inherit; flex: 1; min-width: 140px; }
.filter-bar select:focus,
.filter-bar input:focus { outline: none; border-color: var(--purple); }
.filter-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }

/* ─── MINI SUMMARY (per page) ──────────────────────────────── */
.tx-summary-mini {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.mini-card {
  flex: 1;
  min-width: 160px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all var(--transition);
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.mini-value { font-size: 1.35rem; font-weight: 800; }

/* ─── MODAL ─────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  display: none;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  animation: slideUp 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 1.5rem;
}
.modal-header h2 { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; width: 2rem; height: 2rem; border-radius: 50%; transition: all var(--transition); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--red-bg); color: var(--red); }

/* ─── FORM ───────────────────────────────────────────────────── */
form { padding: 0 1.5rem 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-input {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.req { color: var(--red); }

.radio-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; padding: 0.55rem 1rem; border: 1px solid var(--card-border); border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; transition: all var(--transition); }
.radio-label:hover { border-color: var(--purple); }
.radio-label input[type="radio"] { accent-color: var(--purple); }
.radio-label input[type="radio"]:checked + span { color: var(--purple-light); }

/* ─── UPLOAD AREA ───────────────────────────────────────────── */
.upload-area {
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-sm);
  min-height: 120px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.upload-area.dragover { border-color: var(--purple); background: rgba(108,99,255,0.06); }

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  cursor: pointer;
  gap: 0.4rem;
  transition: all var(--transition);
}
.upload-placeholder:hover { background: rgba(255,255,255,0.02); }
.upload-icon { font-size: 2rem; }
.upload-placeholder p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.upload-sub { font-size: 0.78rem !important; color: var(--text-dim) !important; }

.upload-preview { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.upload-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--card-border); }
.preview-info { display: flex; flex-direction: column; gap: 0.5rem; }
.preview-info span { font-size: 0.85rem; color: var(--text); word-break: break-all; }
.remove-file { background: var(--red-bg); border: none; color: var(--red); border-radius: var(--radius-sm); padding: 0.3rem 0.7rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all var(--transition); }
.remove-file:hover { background: var(--red); color: #fff; }

.modal-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1rem; border-top: 1px solid var(--card-border); padding-top: 1.25rem; }

/* ─── LAPORAN PAGE ──────────────────────────────────────────── */
.laporan-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; }
.filter-card { height: fit-content; position: sticky; top: calc(var(--topbar-h) + 1rem); }
.export-card { height: fit-content; }
.preview-card { grid-column: 1 / -1; }

.export-buttons { display: flex; gap: 1rem; flex-direction: column; }
.export-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--bg3);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  text-align: left;
}
.export-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.csv-btn:hover { border-color: var(--green); background: var(--green-bg); }
.pdf-btn:hover { border-color: var(--red); background: var(--red-bg); }
.zip-btn:hover { border-color: var(--orange); background: var(--orange-bg); }
.export-icon { font-size: 2rem; }
.export-label { font-size: 0.95rem; font-weight: 700; }
.export-sub { font-size: 0.8rem; color: var(--text-muted); }

.preview-summary {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ─── IMAGE MODAL ───────────────────────────────────────────── */
.img-modal {
  position: relative;
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}
.img-modal img { max-width: 80vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); display: block; }
.img-modal .modal-close { position: absolute; top: 0.5rem; right: 0.5rem; background: rgba(0,0,0,0.5); color: #fff; }

/* Invoice thumbnail in table */
.invoice-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--card-border);
  transition: transform var(--transition);
}
.invoice-thumb:hover { transform: scale(1.2); }
.no-invoice { color: var(--text-dim); font-size: 0.8rem; }

/* Action buttons in table */
.action-btns { display: flex; gap: 0.4rem; }
.btn-edit, .btn-del {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.btn-edit { color: var(--blue); }
.btn-edit:hover { background: var(--blue-bg); }
.btn-del { color: var(--red); }
.btn-del:hover { background: var(--red-bg); }

/* ─── TOAST ──────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 0.75rem; z-index: 999; }
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: slideInRight 0.3s ease;
}
.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }
.toast.info    { border-color: var(--purple); }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ─── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-muted);
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.empty-icon { font-size: 3rem; }
.empty-text { font-size: 1rem; font-weight: 600; }
.empty-sub  { font-size: 0.85rem; color: var(--text-dim); }

/* ─── LOADING ─────────────────────────────────────────────────── */
.loader { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(108,99,255,0.3); border-top-color: var(--purple); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── MONTH SECTION HEADER ──────────────────────────────────── */
.month-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(108,99,255,0.05));
  border-radius: var(--radius-sm);
  margin: 1.25rem 0 0.5rem;
  border-left: 4px solid var(--purple);
}
.month-header-row h3 { font-size: 0.95rem; font-weight: 700; color: var(--purple-light); }
.month-totals { display: flex; gap: 1.5rem; font-size: 0.82rem; }
.month-in  { color: var(--green); font-weight: 600; }
.month-out { color: var(--red);   font-weight: 600; }
.month-bal { color: var(--text-muted); font-weight: 600; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-260px); width: 260px; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-btn { display: flex; }
  .laporan-grid { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .preview-card { grid-column: 1; }
}
@media (max-width: 600px) {
  .topbar { padding: 0 1rem; }
  .page { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── LOGIN OVERLAY ───────────────────────────────────────────── */
.login-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, var(--bg2) 0%, var(--bg) 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.login-header {
  margin-bottom: 2rem;
}

.login-logo-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.login-logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-light), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.login-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}

/* ─── PROFILE PAGE ──────────────────────────────────────────── */
.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}
.profile-card {
  width: 100%;
  max-width: 500px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.profile-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.profile-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.profile-actions {
  margin-top: 2rem;
}
.profile-actions button {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
}

