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

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-active-bg: rgba(14,165,233,.15);
  --sidebar-active: #38bdf8;
  --sidebar-text: #94a3b8;
  --sidebar-dim: #475569;
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #8b5cf6;
  --info-light: #ede9fe;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
.overlay.show { display: block; }

.sidebar {
  position: fixed; left: 0; top: 0; width: var(--sidebar-w); height: 100vh;
  background: var(--sidebar-bg); display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden; z-index: 200;
  transition: transform .25s ease;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--sidebar-dim); border-radius: 2px; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); background: var(--card); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 24px; gap: 14px;
  position: sticky; top: 0; z-index: 100;
}
.content { padding: 24px; flex: 1; }

/* ── Sidebar Sections ───────────────────────────────────────────────────────── */
.sidebar-brand {
  padding: 20px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sidebar-brand img { width: 34px; height: 34px; border-radius: 8px; }
.sidebar-brand-name {
  font-family: 'Space Grotesk', sans-serif; color: #f1f5f9;
  font-size: .95rem; font-weight: 700; letter-spacing: -.2px;
}
.sidebar-brand-sub { font-size: .68rem; color: var(--sidebar-dim); }

.sidebar-user {
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sidebar-user-info .u-name {
  color: #f1f5f9; font-weight: 600; font-size: .82rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 158px;
}

.sidebar-nav { flex: 1; padding: 10px 0; }
.nav-section-label {
  font-size: .63rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--sidebar-dim);
  padding: 10px 16px 4px;
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px; color: var(--sidebar-text); font-size: .83rem;
  font-weight: 500; transition: background .15s, color .15s;
  position: relative; white-space: nowrap; cursor: pointer;
}
.nav-item:hover { background: var(--sidebar-hover); color: #e2e8f0; }
.nav-item.active {
  background: var(--sidebar-active-bg); color: var(--sidebar-active);
  font-weight: 600;
}
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--sidebar-active); border-radius: 0 2px 2px 0;
}
.nav-item i { width: 17px; text-align: center; font-size: .9rem; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--danger); color: #fff;
  font-size: .63rem; font-weight: 700; padding: 1px 6px;
  border-radius: 99px; min-width: 18px; text-align: center;
}
.sidebar-bottom { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); }

/* ── Avatar ────────────────────────────────────────────────────────────────── */
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .78rem; flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif; user-select: none;
}
.avatar.sm { width: 28px; height: 28px; font-size: .7rem; }
.avatar.lg { width: 48px; height: 48px; font-size: .95rem; }
.avatar.green { background: var(--success); }
.avatar.orange { background: var(--warning); }
.avatar.purple { background: var(--info); }

/* ── Badges ────────────────────────────────────────────────────────────────── */
.badge-paid { display:inline-block;padding:1px 8px;border-radius:99px;font-size:.68rem;font-weight:700;background:rgba(34,197,94,.2);color:#4ade80; }
.badge-pending { display:inline-block;padding:1px 8px;border-radius:99px;font-size:.68rem;font-weight:700;background:rgba(245,158,11,.2);color:#fbbf24; }

/* ── Topbar ────────────────────────────────────────────────────────────────── */
.topbar-toggle { display: none; padding: 8px; border-radius: 7px; color: var(--muted); transition: background .15s; }
.topbar-toggle:hover { background: var(--bg); }
.topbar-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-avatar { width: 32px; height: 32px; font-size: .72rem; }

/* ── Page Header ───────────────────────────────────────────────────────────── */
.page-header { margin-bottom: 24px; }
.page-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; }
.page-header p { color: var(--muted); font-size: .85rem; margin-top: 3px; }

/* ── Stat Cards ────────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.green { background: var(--success-light); color: #16a34a; }
.stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-icon.purple { background: var(--info-light); color: #7c3aed; }
.stat-label { font-size: .77rem; color: var(--muted); margin-bottom: 2px; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 700; }
.card-body { padding: 20px; }

/* ── Grid ──────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Task Items ────────────────────────────────────────────────────────────── */
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-item {
  background: var(--card); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 14px;
  border-left: 4px solid var(--border);
}
.task-item.p-high { border-left-color: var(--danger); }
.task-item.p-medium { border-left-color: var(--warning); }
.task-item.p-low { border-left-color: var(--success); }
.task-body { flex: 1; min-width: 0; }
.task-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.task-desc { font-size: .8rem; color: var(--muted); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.task-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* Status / Priority badges */
.tbadge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: .71rem; font-weight: 700; }
.tb-pending  { background:#f1f5f9; color:#475569; }
.tb-progress { background:#dbeafe; color:#1d4ed8; }
.tb-review   { background:#ffedd5; color:#c2410c; }
.tb-done     { background:var(--success-light); color:#15803d; }
.tb-high     { background:var(--danger-light); color:#dc2626; }
.tb-medium   { background:var(--warning-light); color:#b45309; }
.tb-low      { background:var(--success-light); color:#15803d; }
.tb-overdue  { background:var(--danger-light); color:#dc2626; }

/* ── Deadline List ─────────────────────────────────────────────────────────── */
.deadline-list { display: flex; flex-direction: column; }
.deadline-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.deadline-row:last-child { border-bottom: none; }
.dl-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dl-dot.red { background: var(--danger); }
.dl-dot.amber { background: var(--warning); }
.dl-dot.green { background: var(--success); }
.dl-info { flex: 1; min-width: 0; }
.dl-title { font-size: .83rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-project { font-size: .74rem; color: var(--muted); }
.dl-days { font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.dl-days.red { color: var(--danger); }
.dl-days.amber { color: var(--warning); }
.dl-days.green { color: var(--success); }

/* ── Rectifications ────────────────────────────────────────────────────────── */
.rect-item { background: var(--card); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--warning); margin-bottom: 10px; }
.rect-item.resolved { border-left-color: var(--success); }
.rect-project { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.rect-task-title { font-family: 'Space Grotesk', sans-serif; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.rect-comment { font-size: .85rem; color: var(--text); background: var(--bg); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.rect-foot { display: flex; align-items: center; justify-content: space-between; }
.rect-date { font-size: .74rem; color: var(--muted); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 600; }
.form-control {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text); background: var(--card);
  transition: border-color .15s, box-shadow .15s; outline: none; font-size: .88rem;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,.13); }
.form-hint { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: .85rem;
  transition: all .15s; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.btn-sm { padding: 5px 12px; font-size: .78rem; border-radius: 6px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.alert { padding: 11px 15px; border-radius: 8px; display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; margin-bottom: 16px; }
.alert i { flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-light); color: #15803d; }
.alert-error   { background: var(--danger-light);  color: #dc2626; }
.alert-warning { background: var(--warning-light); color: #92400e; }
.alert-info    { background: var(--info-light);    color: #5b21b6; }

/* ── Auth pages ────────────────────────────────────────────────────────────── */
.auth-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c2d4e 0%, #0284c7 55%, #0ea5e9 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.auth-card { background: var(--card); border-radius: 16px; width: 100%; max-width: 430px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.auth-head { text-align: center; padding: 32px 32px 20px; border-bottom: 1px solid var(--border); }
.auth-head img { width: 52px; margin: 0 auto 12px; }
.auth-head h1 { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; }
.auth-head p { color: var(--muted); font-size: .84rem; margin-top: 4px; }
.auth-body { padding: 26px 32px; }
.auth-foot { padding: 14px 32px; text-align: center; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }

/* ── Chat ──────────────────────────────────────────────────────────────────── */
.chat-shell {
  display: flex; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  height: calc(100vh - var(--topbar-h) - 48px);
}
.chat-sidebar {
  width: 265px; flex-shrink: 0; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-sidebar-head { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.chat-sidebar-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: .88rem; font-weight: 700; }
.conv-list { overflow-y: auto; flex: 1; }
.conv-group-label { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); padding: 10px 14px 4px; }
.conv-item {
  padding: 10px 14px; cursor: pointer; display: flex; align-items: center;
  gap: 10px; transition: background .15s;
}
.conv-item:hover { background: var(--bg); }
.conv-item.active { background: var(--primary-light); }
.conv-name { font-weight: 600; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-preview { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.conv-unread { background: var(--primary); color: #fff; font-size: .63rem; font-weight: 700; padding: 1px 6px; border-radius: 99px; margin-left: auto; flex-shrink: 0; }

.chat-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.chat-main-head {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.chat-main-head .ch-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .9rem; }
.chat-main-head .ch-sub { font-size: .75rem; color: var(--muted); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--muted); }
.chat-empty i { font-size: 2.5rem; opacity: .25; }
.chat-empty p { font-size: .84rem; }

.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg.mine { flex-direction: row-reverse; }
.msg .avatar { width: 28px; height: 28px; font-size: .68rem; flex-shrink: 0; }
.msg-wrap { max-width: 68%; }
.msg-sender { font-size: .7rem; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.msg-bubble {
  padding: 9px 13px; border-radius: 14px; font-size: .84rem;
  line-height: 1.5; word-break: break-word;
  background: var(--bg); border-bottom-left-radius: 4px;
}
.msg.mine .msg-bubble { background: var(--primary); color: #fff; border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.msg-time { font-size: .67rem; color: var(--muted); margin-top: 3px; }
.msg.mine .msg-time { text-align: right; color: rgba(255,255,255,.65); }

.chat-input-wrap { padding: 12px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-end; }
.chat-input {
  flex: 1; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 22px;
  outline: none; resize: none; max-height: 110px; min-height: 40px;
  font-size: .85rem; line-height: 1.4; transition: border-color .15s;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .15s;
}
.chat-send-btn:hover { background: var(--primary-dark); }

/* ── Uploads ───────────────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 36px 24px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--primary); background: var(--primary-light); }
.upload-zone i { font-size: 2rem; color: var(--muted); display: block; margin-bottom: 8px; }
.upload-zone input[type=file] { display: none; }
.upload-zone p { font-size: .84rem; color: var(--muted); }
.upload-zone strong { color: var(--primary); }
.file-cards { display: flex; flex-direction: column; gap: 10px; }
.file-card {
  background: var(--card); border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.file-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.file-icon.zip { background: var(--warning-light); color: #b45309; }
.file-icon.img { background: #dbeafe; color: #2563eb; }
.file-icon.pdf { background: var(--danger-light); color: #dc2626; }
.file-icon.doc { background: var(--info-light); color: #5b21b6; }
.file-icon.other { background: var(--bg); color: var(--muted); }
.file-info { flex: 1; min-width: 0; }
.file-name { font-weight: 600; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { font-size: .74rem; color: var(--muted); }
.file-actions { flex-shrink: 0; }

/* ── Settings ──────────────────────────────────────────────────────────────── */
.settings-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
.settings-card-head { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.settings-card-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 700; }
.settings-card-body { padding: 20px; }
.profile-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.profile-hero .avatar { width: 56px; height: 56px; font-size: 1.1rem; }

/* ── Empty state ───────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty-state i { font-size: 2.5rem; opacity: .3; display: block; margin-bottom: 12px; }
.empty-state p { font-size: .88rem; }

/* ── Spinner ───────────────────────────────────────────────────────────────── */
.spin { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Progress bar ──────────────────────────────────────────────────────────── */
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--primary); transition: width .4s; }

/* ── Toast ─────────────────────────────────────────────────────────────────── */
#toast-area { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 16px; border-radius: 8px; color: #fff; font-size: .84rem; font-weight: 500; box-shadow: var(--shadow-md); animation: slideIn .3s ease; min-width: 240px; display: flex; align-items: center; gap: 8px; }
.toast.success { background: #15803d; }
.toast.error   { background: #dc2626; }
.toast.info    { background: var(--primary-dark); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Misc ──────────────────────────────────────────────────────────────────── */
.divider { text-align: center; position: relative; margin: 16px 0; color: var(--muted); font-size: .78rem; }
.divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.divider span { background: var(--card); padding: 0 10px; position: relative; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .8rem; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .chat-sidebar { position: absolute; height: 100%; z-index: 10; background: var(--card); transform: translateX(-100%); transition: transform .25s; }
  .chat-sidebar.open { transform: translateX(0); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .auth-body, .auth-head { padding-left: 20px; padding-right: 20px; }
}
