/* ============================================================
   دفتر — طراحی رابط کاربری (RTL، فونت وزیرمتن، تم زمردی)
   بدون Tailwind — CSS خالص سازگار با cPanel
   ============================================================ */

@font-face { font-family:"Vazirmatn"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/Vazirmatn-Regular.woff2") format("woff2"); }
@font-face { font-family:"Vazirmatn"; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/Vazirmatn-Medium.woff2") format("woff2"); }
@font-face { font-family:"Vazirmatn"; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/Vazirmatn-Bold.woff2") format("woff2"); }

:root {
  --bg: hsl(150 20% 98%);
  --fg: hsl(160 30% 12%);
  --card: hsl(0 0% 100%);
  --primary: hsl(160 84% 28%);
  --primary-fg: hsl(0 0% 100%);
  --secondary: hsl(150 30% 94%);
  --muted: hsl(150 20% 94%);
  --muted-fg: hsl(160 10% 40%);
  --accent: hsl(150 30% 92%);
  --destructive: hsl(0 75% 50%);
  --destructive-fg: hsl(0 0% 100%);
  --border: hsl(150 20% 88%);
  --warning: hsl(38 92% 50%);
  --warning-fg: hsl(38 50% 15%);
  --success: hsl(142 71% 40%);
  --success-fg: hsl(0 0% 100%);
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
.dark {
  --bg: hsl(160 25% 8%);
  --fg: hsl(150 15% 92%);
  --card: hsl(160 25% 11%);
  --primary: hsl(160 70% 45%);
  --primary-fg: hsl(160 30% 8%);
  --secondary: hsl(160 20% 18%);
  --muted: hsl(160 20% 16%);
  --muted-fg: hsl(150 10% 60%);
  --accent: hsl(160 20% 18%);
  --border: hsl(160 20% 20%);
  --warning: hsl(38 92% 55%);
  --shadow: 0 1px 3px rgba(0,0,0,.3);
}

* { box-sizing: border-box; border-color: var(--border); }
html { direction: rtl; font-size: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  line-height: 1.6; -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--primary); }
svg { display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-fg); }

/* ---------- چیدمان ---------- */
.app-layout { display: flex; min-height: 100vh; min-height: 100dvh; }
.sidebar {
  display: none; flex-direction: column; width: 240px; flex-shrink: 0;
  background: var(--card); border-left: 1px solid var(--border);
  padding: 12px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
}
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main-col > main { flex: 1; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; background: var(--card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40; padding-top: calc(10px + var(--safe-top));
}
.brand { font-weight: 700; font-size: 17px; padding: 4px 8px 14px; display:flex; align-items:center; gap:8px; }
.brand .logo { width: 28px; height: 28px; }

.nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 10px; border: 0; background: transparent;
  font-size: 13.5px; font-weight: 700; color: var(--fg); cursor: pointer;
  text-align: right; transition: background .15s;
}
.nav-item:hover { background: var(--muted); }
.nav-item.active { background: var(--primary); color: var(--primary-fg); }
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }

/* منوی موبایل */
.sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw;
  background: var(--card); z-index: 61; padding: 14px; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: slideIn .2s ease;
  padding-top: calc(14px + var(--safe-top)); padding-bottom: calc(14px + var(--safe-bottom));
}
@keyframes slideIn { from { transform: translateX(100%);} to { transform: translateX(0);} }

/* ناوبری پایین موبایل */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--card); border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-bottom: var(--safe-bottom);
}
.bottom-nav .bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 0 6px; background: none; border: 0; cursor: pointer;
  font-size: 10px; font-weight: 700; color: var(--muted-fg);
}
.bottom-nav .bn-item.active { color: var(--primary); }
.bottom-nav .bn-item svg { width: 18px; height: 18px; }
.bottom-nav .bn-item .bn-plus {
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--primary-fg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1px;
}
@media (min-width: 1024px) {
  .sidebar { display: flex; }
  .topbar { display: none; }
  .bottom-nav { display: none; }
  .page-pad { padding-bottom: 24px !important; }
}

/* ---------- متن و اسپیسینگ ---------- */
.p4 { padding: 16px; } .p3 { padding: 12px; }
.px4 { padding-inline: 16px; } .py3 { padding-block: 12px; }
.mb2 { margin-bottom: 8px; } .mb3 { margin-bottom: 12px; } .mb4 { margin-bottom: 16px; }
.mt2 { margin-top: 8px; } .mt3 { margin-top: 12px; } .mt4 { margin-top: 16px; }
.space-y > * + * { margin-top: 10px; }
.page-pad { padding: 16px; padding-bottom: 90px; max-width: 768px; margin-inline: auto; }
@media (min-width: 1024px) { .page-pad { padding-bottom: 24px; } }
.section-title { font-size: 12px; font-weight: 700; color: var(--muted-fg); margin: 0 0 8px; }
.page-header { margin-bottom: 16px; }
.page-header h1 { font-size: 20px; font-weight: 700; margin: 0; }
.page-header .sub { font-size: 13px; color: var(--muted-fg); margin-top: 2px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted-fg); }
.t-xs { font-size: 11px; } .t-sm { font-size: 13px; } .t-lg { font-size: 17px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.num { font-feature-settings: "tnum"; }
.ltr { direction: ltr; text-align: left; }

/* ---------- گرید ---------- */
.grid { display: grid; gap: 8px; }
.grid2 { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.grid3 { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.grid4 { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
@media (min-width: 640px) { .grid2 { gap: 10px; } .grid3 { gap: 10px; } }
@media (min-width: 1024px) { .grid2 { gap: 12px; } .grid3 { gap: 12px; } .grid4 { grid-template-columns: repeat(4,1fr); } }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; } .justify-center { justify-content:center; }
.flex-1 { flex: 1; min-width: 0; } .shrink-0 { flex-shrink: 0; }
.gap1 { gap: 4px; } .gap2 { gap: 8px; } .gap3 { gap: 12px; }
.wrap { flex-wrap: wrap; }

/* ---------- کارت ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 14px; }
.clickable { cursor: pointer; transition: box-shadow .15s, transform .1s; }
.clickable:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.clickable:active { transform: scale(.985); }

/* کارت آماری */
.stat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; text-align: center; cursor: pointer; transition: box-shadow .15s;
  position: relative; overflow: hidden;
}
.stat-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.stat-card .stat-title { font-size: 11px; font-weight: 700; color: var(--muted-fg); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card .stat-num { font-size: 19px; font-weight: 700; line-height: 1.3; }
.stat-card .stat-unit { font-size: 10px; color: var(--muted-fg); margin-top: 2px; }
.stat-card .stat-hint { position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.stat-card.tone-primary .stat-num { color: var(--primary); }
.stat-card.tone-success .stat-num { color: var(--success); }
.stat-card.tone-warning .stat-num { color: var(--warning); }
.stat-card.tone-destructive .stat-num { color: var(--destructive); }
.stat-card.tone-primary::after, .stat-card.tone-success::after, .stat-card.tone-warning::after, .stat-card.tone-destructive::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
}
.stat-card.tone-primary::after { background: var(--primary); }
.stat-card.tone-success::after { background: var(--success); }
.stat-card.tone-warning::after { background: var(--warning); }
.stat-card.tone-destructive::after { background: var(--destructive); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 700; cursor: pointer; background: var(--muted); color: var(--fg);
  transition: filter .15s, background .15s; user-select: none; text-decoration: none;
  min-height: 40px;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { filter: brightness(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-destructive { background: var(--destructive); color: var(--destructive-fg); }
.btn-success { background: var(--success); color: var(--success-fg); }
.btn-warning { background: var(--warning); color: var(--warning-fg); }
.btn-outline { background: var(--card); border-color: var(--border); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--muted); }
.btn-sm { padding: 5px 10px; min-height: 32px; font-size: 12.5px; border-radius: 8px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { padding: 12px 22px; font-size: 15px; min-height: 48px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 36px; height: 36px; min-height: 36px; border-radius: 10px; }

/* ---------- فرم ---------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: var(--muted-fg); }
.input, .select, .textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s;
  min-height: 42px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.textarea { min-height: 80px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 10px center; padding-left: 32px; }
.input-sm { min-height: 36px; padding: 6px 10px; font-size: 13px; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; }
.check-row input[type=checkbox], .check-row input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 480px) { .form-grid2 { grid-template-columns: 1fr; } }

/* ---------- نشان‌ها ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  font-size: 11px; font-weight: 700; border-radius: 99px; white-space: nowrap;
  background: var(--muted); color: var(--muted-fg);
}
.badge-primary { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.badge-success { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.badge-warning { background: color-mix(in srgb, var(--warning) 18%, transparent); color: var(--warning-fg); }
.badge-destructive { background: color-mix(in srgb, var(--destructive) 12%, transparent); color: var(--destructive); }
.badge-outline { background: transparent; border: 1px solid var(--border); }

/* ---------- جدول / لیست ---------- */
.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: box-shadow .15s; width: 100%;
  text-align: right; cursor: pointer;
}
.list-item:hover { box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: right; font-size: 11.5px; color: var(--muted-fg); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--muted); }

/* ---------- دیالوگ ---------- */
.dialog-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .15s ease;
}
@media (min-width: 640px) { .dialog-overlay { align-items: center; } }
.dialog {
  background: var(--card); border-radius: 18px 18px 0 0; width: 100%; max-width: 560px;
  max-height: 92dvh; overflow-y: auto; padding: 18px; z-index: 81;
  animation: sheetUp .2s ease; padding-bottom: calc(18px + var(--safe-bottom));
  overscroll-behavior: contain;
}
@media (min-width: 640px) { .dialog { border-radius: 18px; margin: 24px; padding-bottom: 18px; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.dialog-title { font-size: 16px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; justify-content: space-between; }
.dialog-sub { font-size: 12px; color: var(--muted-fg); margin-bottom: 12px; }
.dialog-actions { display: flex; gap: 8px; margin-top: 16px; }
.dialog-actions .btn { flex: 1; }

/* ---------- توست ---------- */
.toasts { position: fixed; top: calc(12px + var(--safe-top)); left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 380px); pointer-events: none; }
.toast {
  background: var(--fg); color: var(--bg); padding: 11px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg);
  animation: toastIn .2s ease; display: flex; align-items: center; gap: 8px;
}
.toast-success { background: var(--success); color: var(--success-fg); }
.toast-error { background: var(--destructive); color: var(--destructive-fg); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes toastIn { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- اسکلت و حالت خالی ---------- */
.skeleton { background: var(--muted); border-radius: var(--radius); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.spinner { width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; margin-inline: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted-fg); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 10px; opacity: .5; }
.empty-state .es-title { font-weight: 700; font-size: 14px; color: var(--fg); }
.empty-state .es-sub { font-size: 12.5px; margin-top: 3px; }

/* ---------- نمودار میله‌ای ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 96px; }
.bar-chart .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bar-chart .bar { width: 100%; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--primary) 70%, transparent); min-height: 3px; transition: height .3s; }
.bar-chart .bar-label { font-size: 9px; color: var(--muted-fg); white-space: nowrap; }

/* ---------- اسکن بارکد ---------- */
.scan-video { width: 100%; max-width: 420px; aspect-ratio: 4/3; background: #000; border-radius: 12px; object-fit: cover; margin-inline: auto; display: block; }

/* ---------- ضبط صدا ---------- */
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--destructive); animation: pulse 1s infinite; }

/* ---------- چاپ فاکتور ---------- */
@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { position: absolute; inset: 0; width: 100%; background: #fff; color: #000; }
}
#print-area { display: none; }
@media print { #print-area { display: block; } }
.inv-print { direction: rtl; font-size: 13px; color: #000; }
.inv-print table { width: 100%; border-collapse: collapse; font-size: 12px; }
.inv-print th, .inv-print td { border: 1px solid #999; padding: 6px 8px; text-align: right; }
.inv-print .inv-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 12px; }
.inv-print .inv-totals { margin-top: 12px; width: 260px; margin-inline-start: auto; }
.inv-print .inv-totals div { display: flex; justify-content: space-between; padding: 3px 0; }

/* ---------- تاریخ شمسی (انتخابگر) ---------- */
.date-field { display: flex; gap: 8px; align-items: center; }
.date-field .input { flex: 1; cursor: pointer; }
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-weight: 700; font-size: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-dow { font-size: 10px; color: var(--muted-fg); padding: 4px 0; font-weight: 700; }
.cal-day { padding: 8px 0; font-size: 12.5px; border-radius: 8px; cursor: pointer; border: 0; background: transparent; }
.cal-day:hover { background: var(--muted); }
.cal-day.today { border: 1px solid var(--primary); color: var(--primary); font-weight: 700; }
.cal-day.selected { background: var(--primary); color: var(--primary-fg); font-weight: 700; }
.cal-day.empty { visibility: hidden; }

/* ---------- تب‌ها ---------- */
.tabs { display: flex; gap: 4px; background: var(--muted); padding: 4px; border-radius: 12px; overflow-x: auto; }
.tab { flex: 1; padding: 8px 14px; border-radius: 9px; border: 0; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; color: var(--muted-fg); }
.tab.active { background: var(--card); color: var(--fg); box-shadow: var(--shadow); }

/* ---------- جستجو و فیلتر ---------- */
.search-row { display: flex; gap: 8px; margin-bottom: 12px; }
.search-row .input { flex: 1; }
.filter-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.chip { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--card); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ---------- آواتار / آیکون باکس ---------- */
.icon-box { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box svg { width: 18px; height: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }

/* ---------- دسترسی‌ها (ماتریس) ---------- */
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
@media (max-width: 480px) { .perm-grid { grid-template-columns: 1fr; } }
.perm-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; }
.perm-item:hover { background: var(--muted); }
.perm-item input { width: 17px; height: 17px; accent-color: var(--primary); }

/* ---------- گام‌های پرداخت چندگانه ---------- */
.inst-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 6px; align-items: center; padding: 8px; border: 1px dashed var(--border); border-radius: 10px; margin-bottom: 8px; }
@media (max-width: 480px) { .inst-row { grid-template-columns: 1fr 1fr; } }

/* ---------- پیش‌نمایش تصویر ---------- */
.img-preview { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); }
.upload-box { border: 2px dashed var(--border); border-radius: 12px; padding: 18px; text-align: center; cursor: pointer; color: var(--muted-fg); font-size: 13px; }
.upload-box:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- hr / جداکننده ---------- */
.sep { border: 0; border-top: 1px solid var(--border); margin: 14px 0; }
.v-sep { width: 1px; align-self: stretch; background: var(--border); }

/* ---------- رنگ‌های متنی ---------- */
.text-success { color: var(--success); }
.text-destructive { color: var(--destructive); }
.text-warning { color: var(--warning-fg); }
.text-primary { color: var(--primary); }

/* ---------- حالت فقط صفحه لاگین ---------- */
.login-wrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(160deg, hsl(160 84% 22%), hsl(160 70% 32%)); }
.login-card { width: 100%; max-width: 380px; background: var(--card); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow-lg); }
.login-logo { width: 64px; height: 64px; margin: 0 auto 14px; }
