/* ==========================================================
   Ki Mania Admin — Design System v2
   Bricolage Grotesque + Hanken Grotesk
   #520B23 wine  /  #F7E10D yellow
   ========================================================== */

:root {
  --wine:      #520B23;
  --wine-d:    #3a0617;
  --wine-dd:   #2a0410;
  --yellow:    #F7E10D;
  --yellow-d:  #d4be00;

  --bg:        #F5F2EE;
  --surface:   #FFFFFF;
  --border:    #E4DDD6;
  --border-s:  #CFC5BB;

  --tx:        #1C0A0F;
  --tx2:       #6B5660;
  --tx3:       #A89098;

  --blue:      #2563EB;  --blue-bg:  #EFF6FF;  --blue-bd:  #BFDBFE;
  --green:     #16A34A;  --green-bg: #F0FDF4;  --green-bd: #BBF7D0;
  --amber:     #B45309;  --amber-bg: #FFFBEB;  --amber-bd: #FDE68A;
  --red:       #DC2626;  --red-bg:   #FEF2F2;  --red-bd:   #FECACA;

  --sh1: 0 1px 3px rgba(82,11,35,.07), 0 1px 2px rgba(82,11,35,.04);
  --sh2: 0 4px 16px rgba(82,11,35,.10), 0 2px 4px rgba(82,11,35,.05);
  --sh3: 0 16px 48px rgba(82,11,35,.16), 0 6px 12px rgba(82,11,35,.07);

  --r:    10px;
  --r2:    6px;
  --sw:  248px;
  --th:   60px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4 {
  font-family: 'Bricolage Grotesque', 'Hanken Grotesk', sans-serif;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar {
  width: var(--sw);
  background: linear-gradient(160deg, #520B23 0%, #3a0617 100%);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
  border-right: 1px solid rgba(0,0,0,.15);
}

.sidebar-brand {
  padding: 20px 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.sidebar-brand-icon {
  width: 38px; height: 38px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(247,225,13,.35);
}
.sidebar-brand-icon i { color: var(--wine); font-size: 16px; }
.sidebar-brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.sidebar-brand-name small {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
  margin-top: 1px;
}

.sidebar nav { flex: 1; padding: 12px 10px; }

.nav-section {
  font-size: 9.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  padding: 10px 10px 5px;
}
.sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  border-radius: var(--r2);
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  transition: background .14s, color .14s;
  margin-bottom: 1px;
  position: relative;
}
.sidebar nav a .ni { width: 18px; text-align: center; font-size: 13px; flex-shrink: 0; }
.sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar nav a.active {
  background: rgba(247,225,13,.12);
  color: var(--yellow);
  font-weight: 600;
}
.sidebar nav a.active .ni { color: var(--yellow); }
.sidebar nav a.active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 56%;
  background: var(--yellow);
  border-radius: 0 3px 3px 0;
}

.sidebar-footer { padding: 10px 10px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.sidebar-footer a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: var(--r2);
  color: rgba(255,255,255,.32); text-decoration: none;
  font-size: 13px; transition: background .14s, color .14s;
}
.sidebar-footer a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); }
.sidebar-footer a i { width: 18px; text-align: center; font-size: 13px; }

/* ── TOPBAR ──────────────────────────────────────────────── */
.main { margin-left: var(--sw); flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: var(--th);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  position: sticky; top: 0; z-index: 40;
  gap: 16px;
}
.topbar-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px; font-weight: 800;
  color: var(--tx); letter-spacing: -.025em;
}
.topbar-date {
  font-size: 12px; color: var(--tx3);
  background: var(--bg);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.content { padding: 28px; flex: 1; }

/* ── STAT CARDS ──────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--sh1);
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover { box-shadow: var(--sh2); transform: translateY(-1px); }

.card-header { display: flex; align-items: center; justify-content: space-between; }
.card-label {
  font-size: 11px; font-weight: 700;
  color: var(--tx3); text-transform: uppercase; letter-spacing: .07em;
}
.card-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.ci-a { background: rgba(82,11,35,.09); color: var(--wine); }
.ci-b { background: rgba(247,225,13,.22); color: #8A6300; }
.ci-c { background: var(--blue-bg); color: var(--blue); }
.ci-d { background: var(--green-bg); color: var(--green); }

.card-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px; font-weight: 800;
  color: var(--tx); line-height: 1; letter-spacing: -.04em;
}
.card-value.c-blue  { color: var(--blue); }
.card-value.c-green { color: var(--green); }

.card-sub { font-size: 11.5px; color: var(--tx3); }

/* ── CHARTS ──────────────────────────────────────────────── */
.charts-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.chart-box {
  background: var(--surface);
  border-radius: var(--r);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--sh1);
}
.cbox-head { margin-bottom: 18px; }
.cbox-head h3 { font-size: 14px; font-weight: 700; color: var(--tx); }
.cbox-head p  { font-size: 11.5px; color: var(--tx3); margin-top: 2px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 400; }

.device-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.device-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; color: var(--tx2);
}
.device-pill i { font-size: 12px; }
.device-pill strong { color: var(--tx); font-weight: 700; }

/* ── TABLE BOX ───────────────────────────────────────────── */
.table-box {
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--sh1);
  overflow: hidden;
}
.tbox-head {
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.tbox-head-l h3 { font-size: 14px; font-weight: 700; }
.tbox-head-l p  { font-size: 11.5px; color: var(--tx3); margin-top: 2px; }

table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--bg);
  padding: 9px 16px; text-align: left;
  font-size: 10px; font-weight: 800; color: var(--tx3);
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 12px 16px; font-size: 13px; }
.td-n  { font-weight: 600; color: var(--tx); }
.td-s  { color: var(--tx2); font-size: 12px; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  border-width: 1px; border-style: solid;
}
.badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .65; flex-shrink: 0;
}
.badge-new       { background: var(--blue-bg);  color: var(--blue);  border-color: var(--blue-bd); }
.badge-contacted { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-bd); }
.badge-qualified { background: var(--green-bg); color: var(--green); border-color: var(--green-bd); }
.badge-lost      { background: var(--red-bg);   color: var(--red);   border-color: var(--red-bd); }

/* ── DEVICE TAG ──────────────────────────────────────────── */
.device-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--tx2);
  background: var(--bg); padding: 3px 9px;
  border-radius: 999px; border: 1px solid var(--border);
}
.device-tag i { font-size: 11px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: var(--r2);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: background .14s, box-shadow .14s, transform .1s;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 11.5px; opacity: .85; }

.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 1px 4px rgba(82,11,35,.28); }
.btn-primary:hover { background: var(--wine-d); }

.btn-ghost {
  background: transparent; color: var(--tx2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); border-color: var(--border-s); color: var(--tx); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 5px 11px; font-size: 12px; }
.btn-sm i { font-size: 11px; }

/* ── FILTERS ─────────────────────────────────────────────── */
.filters {
  background: var(--surface);
  border-radius: var(--r); padding: 14px 18px;
  border: 1px solid var(--border); box-shadow: var(--sh1);
  display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-group label {
  font-size: 10px; font-weight: 800;
  color: var(--tx3); text-transform: uppercase; letter-spacing: .08em;
}

/* ── FORM CONTROLS ───────────────────────────────────────── */
input[type=text], input[type=email], input[type=password], select {
  display: block;
  padding: 8px 12px;
  border: 1px solid var(--border); border-radius: var(--r2);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px; color: var(--tx); background: var(--surface);
  outline: none; transition: border-color .14s, box-shadow .14s; width: 100%;
}
input:focus, select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(82,11,35,.1);
}
input::placeholder { color: var(--tx3); }

select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A89098' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 30px; cursor: pointer;
}

/* Status select */
.status-select {
  width: auto; font-size: 12px; font-weight: 600;
  padding: 5px 26px 5px 10px; border-radius: 999px; cursor: pointer;
}
.status-select.s-new       { border-color: var(--blue-bd);  background: var(--blue-bg);  color: var(--blue);  }
.status-select.s-contacted { border-color: var(--amber-bd); background: var(--amber-bg); color: var(--amber); }
.status-select.s-qualified { border-color: var(--green-bd); background: var(--green-bg); color: var(--green); }
.status-select.s-lost      { border-color: var(--red-bd);   background: var(--red-bg);   color: var(--red);   }

/* ── CUSTOM DATEPICKER ───────────────────────────────────── */
.dp-wrap { position: relative; display: inline-block; width: 100%; }
.dp-input {
  cursor: pointer; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A89098' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
  background-color: var(--surface) !important;
}
.dp-popup {
  display: none; position: absolute;
  top: calc(100% + 6px); left: 0; z-index: 300;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--sh3); padding: 16px; min-width: 264px;
}
.dp-popup.open { display: block; }
.dp-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dp-nav-btn {
  width: 28px; height: 28px; border: 1px solid var(--border);
  border-radius: var(--r2); background: var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--tx2); transition: background .13s;
}
.dp-nav-btn:hover { background: var(--bg); }
.dp-month-label { font-size: 13px; font-weight: 700; color: var(--tx); }
.dp-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.dp-dow {
  font-size: 9.5px; font-weight: 800; color: var(--tx3);
  text-align: center; padding: 4px 0 7px;
  letter-spacing: .05em; text-transform: uppercase;
}
.dp-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12px; border-radius: var(--r2); cursor: pointer; color: var(--tx);
  transition: background .1s, color .1s; user-select: none;
}
.dp-day:hover:not(.dp-empty) { background: var(--bg); }
.dp-day.other   { color: var(--tx3); }
.dp-day.today   { font-weight: 800; color: var(--wine); }
.dp-day.selected{ background: var(--wine); color: #fff; font-weight: 700; }
.dp-day.selected:hover { background: var(--wine-d); }
.dp-day.dp-empty{ pointer-events: none; }
.dp-clear { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); text-align: center; }
.dp-clear-btn {
  font-size: 12px; color: var(--tx3); background: none; border: none;
  cursor: pointer; font-family: 'Hanken Grotesk', sans-serif; transition: color .13s;
}
.dp-clear-btn:hover { color: var(--red); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(28,10,15,.52); backdrop-filter: blur(3px);
  z-index: 100; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--r);
  padding: 28px; width: 100%; max-width: 460px;
  box-shadow: var(--sh3);
  animation: min .22s ease;
}
@keyframes min {
  from { opacity:0; transform: translateY(-12px) scale(.96); }
  to   { opacity:1; transform: translateY(0)     scale(1);   }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.modal-header h2 { font-size: 16px; font-weight: 700; }
.modal-close {
  width: 28px; height: 28px; border: 1px solid var(--border);
  background: var(--bg); border-radius: var(--r2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--tx2); transition: background .13s; flex-shrink: 0;
}
.modal-close:hover { background: var(--border); color: var(--tx); }

.form-group { margin-bottom: 15px; }
.form-group label {
  display: block; font-size: 10.5px; font-weight: 800;
  color: var(--tx3); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .07em;
}
.modal-actions {
  display: flex; gap: 8px; justify-content: flex-end;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination { display: flex; gap: 3px; margin-top: 18px; align-items: center; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: var(--r2);
  font-size: 13px; color: var(--tx2); text-decoration: none; transition: background .13s;
}
.pagination a:hover { background: var(--bg); color: var(--tx); }
.pagination a.current { background: var(--wine); color: #fff; border-color: var(--wine); font-weight: 700; }

/* ── FLASH ───────────────────────────────────────────────── */
.flash {
  padding: 12px 16px; border-radius: var(--r2); font-size: 13px; font-weight: 600;
  margin-bottom: 18px; display: flex; align-items: center; gap: 9px; border-width: 1px; border-style: solid;
}
.flash-success { background: var(--green-bg); color: var(--green); border-color: var(--green-bd); }
.flash i { font-size: 14px; flex-shrink: 0; }

/* ── PIXEL DOTS ──────────────────────────────────────────── */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.dot-ok    { background: var(--green); }
.dot-empty { background: var(--border-s); }

/* ── SNIPPET ─────────────────────────────────────────────── */
.snippet {
  background: var(--wine-dd); color: #a5f3fc;
  font-family: 'Courier New', monospace; font-size: 12px;
  padding: 13px 15px; border-radius: var(--r2);
  word-break: break-all; margin: 10px 0;
  border: 1px solid rgba(255,255,255,.06); line-height: 1.6;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 24px; color: var(--tx3); }
.empty-state i { font-size: 28px; margin-bottom: 11px; display: block; opacity: .35; }
.empty-state p { font-size: 13.5px; }

/* ── LOGIN ───────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: var(--wine);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
}
.login-page::before {
  content: ''; position: absolute;
  top: -30%; right: -10%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(247,225,13,.08) 0%, transparent 70%);
  pointer-events: none;
}
.login-page::after {
  content: ''; position: absolute;
  bottom: -20%; left: -10%; width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(247,225,13,.05) 0%, transparent 70%);
  pointer-events: none;
}
.login-card {
  background: var(--surface); border-radius: 16px;
  padding: 48px 40px; width: 100%; max-width: 400px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35); position: relative; z-index: 1;
}
.login-brand { text-align: center; margin-bottom: 34px; }
.login-brand-icon {
  width: 62px; height: 62px; background: var(--wine); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(82,11,35,.4);
}
.login-brand-icon i { color: var(--yellow); font-size: 26px; }
.login-brand h1 { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 5px; letter-spacing: -.02em; }
.login-brand p  { font-size: 13px; color: var(--tx3); }
.login-fg { margin-bottom: 18px; }
.login-fg label {
  display: block; font-size: 10.5px; font-weight: 800;
  color: var(--tx3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.login-iw { position: relative; }
.login-iw i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); color: var(--tx3); font-size: 14px; pointer-events: none;
}
.login-iw input {
  width: 100%; padding: 12px 42px 12px 40px;
  border: 1px solid var(--border); border-radius: var(--r2);
  font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; color: var(--tx);
  background: var(--surface); outline: none; transition: border-color .14s, box-shadow .14s;
}
.login-iw input:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(82,11,35,.1); }
.login-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: transparent;
  color: var(--tx3); cursor: pointer; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: color .14s, background .14s;
}
.login-toggle:hover { color: var(--wine); background: var(--bg); }
.login-foot {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border);
  text-align: center; font-size: 11.5px; font-weight: 600; color: var(--tx3);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.login-foot i { font-size: 11px; opacity: .7; }
.login-btn {
  width: 100%; padding: 13px; margin-top: 8px;
  background: var(--wine); color: #fff; border: none;
  border-radius: var(--r2);
  font-family: 'Bricolage Grotesque', 'Hanken Grotesk', sans-serif;
  font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background .14s, transform .1s;
  box-shadow: 0 3px 10px rgba(82,11,35,.3); letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.login-btn:hover { background: var(--wine-d); }
.login-btn:active { transform: translateY(1px); }
.login-error {
  background: var(--red-bg); color: var(--red);
  border: 1px solid var(--red-bd); padding: 11px 14px; border-radius: var(--r2);
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
  display: flex; align-items: center; gap: 9px;
}
.login-error i { flex-shrink: 0; }
