/* ============================================================
   Billing Dashboard — Design System
   Bahasa desain: iOS (Settings.app grouped list) — light & dark mode.
   Font: -apple-system (SF Pro di perangkat Apple, fallback system font
   di platform lain) + SF Mono untuk semua angka/identifier.
   ============================================================ */

:root {
  color-scheme: light;

  /* -- iOS system colors (Light) -- */
  --bg:        #F2F2F7;   /* grouped background */
  --surface:   #FFFFFF;   /* grouped cell */
  --surface-2: #FFFFFF;   /* cell sekunder / hover */
  --sidebar-bg: rgba(247,247,250,.92);
  --separator: rgba(60,60,67,.29);      /* hairline antar baris */
  --separator-opaque: #D1D1D6;

  --label:    #000000;
  --label-2:  rgba(60,60,67,.6);
  --label-3:  rgba(60,60,67,.3);

  --tint:    #007AFF;  /* iOS blue */
  --green:   #34C759;
  --red:     #FF3B30;
  --orange:  #FF9500;
  --yellow:  #FFCC00;
  --purple:  #AF52DE;
  --fill:    rgba(120,120,128,.12);

  --tint-dim:   #E8F1FF;
  --green-dim:  #E7F9EC;
  --red-dim:    #FFEBEA;
  --orange-dim: #FFF3E0;
  --purple-dim: #F5EAFC;

  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 1px 8px rgba(0,0,0,.04);

  /* alias supaya halaman lama (Pelanggan/Paket/dst) ikut konsisten */
  --primary: var(--tint);
  --primary-dark: #0062CC;
  --gray-bg: var(--bg);
  --border: var(--separator-opaque);
  --text: var(--label);
  --text-muted: var(--label-2);
  --text-dim: var(--label-3);
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg:        #000000;
  --surface:   #1C1C1E;
  --surface-2: #2C2C2E;
  --sidebar-bg: rgba(20,20,22,.92);
  --separator: rgba(84,84,88,.65);
  --separator-opaque: #38383A;

  --label:    #FFFFFF;
  --label-2:  rgba(235,235,245,.6);
  --label-3:  rgba(235,235,245,.3);

  --tint:    #0A84FF;
  --green:   #30D158;
  --red:     #FF453A;
  --orange:  #FF9F0A;
  --yellow:  #FFD60A;
  --purple:  #BF5AF2;
  --fill:    rgba(120,120,128,.24);

  --tint-dim:   #10243D;
  --green-dim:  #0F2B18;
  --red-dim:    #3A1210;
  --orange-dim: #3A2508;
  --purple-dim: #2B1836;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 10px rgba(0,0,0,.3);

  --primary-dark: #409CFF;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--label);
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}

.num, .mono,
.stat-value, .badge, .data-table td.num,
input[type="number"], input[type="date"],
.widget-meta, .pop-status-ip, .ops-clock {
  font-family: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;
  font-feature-settings: "tnum" 1;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--tint);
  outline-offset: 2px;
}

/* ============================================================
   Icons
   ============================================================ */
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.sidebar-brand .icon { width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; color: var(--tint); }
.sidebar nav a .icon { margin-right: 10px; opacity: .8; color: var(--label-2); }
.sidebar nav a:hover .icon, .sidebar nav a.active .icon { opacity: 1; color: var(--tint); }
.sidebar nav a.active .icon { color: var(--tint); }
.sidebar nav a.logout .icon { opacity: .9; color: var(--red); }
.stat-icon svg { width: 17px; height: 17px; }
.menu-toggle .icon { width: 22px; height: 22px; }
.pop-filter .icon { width: 15px; height: 15px; color: var(--label-2); }
.alert-icon { width: 16px; height: 16px; }

/* ============================================================
   Layout & Sidebar — ala sidebar iPadOS/macOS
   ============================================================ */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 240px;
  background: var(--sidebar-bg);
  backdrop-filter: blur(20px);
  color: var(--label);
  padding: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--separator);
}

.sidebar-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: 18px 18px 14px;
  display: flex;
  align-items: center;
  color: var(--label);
}

.sidebar-identity {
  padding: 0 18px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--separator);
}
.sidebar-identity-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 20px;
}
.role-badge.role-super { background: var(--purple-dim); color: var(--purple); }
.role-badge.role-pop { background: var(--tint-dim); color: var(--tint); }

.sidebar nav { display: flex; flex-direction: column; padding: 4px 10px; flex: 1; }

.sidebar nav a {
  display: flex;
  align-items: center;
  color: var(--label-2);
  text-decoration: none;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 2px;
}

.sidebar nav a:hover { background: var(--fill); color: var(--label); }
.sidebar nav a.active {
  background: var(--tint);
  color: #fff;
}
.sidebar nav a.active .icon { color: #fff; opacity: 1; }
.sidebar nav a.logout { margin-top: auto; color: var(--red); }
.sidebar nav a.logout:hover { background: var(--red-dim); }

/* Toggle terang/gelap — baris terakhir sidebar, ala Settings.app */
.theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--separator);
  font-size: 13px;
  font-weight: 500;
  color: var(--label);
}
.theme-row-label { display: flex; align-items: center; gap: 8px; }
.theme-row-label .icon { color: var(--label-2); }

/* iOS-style switch */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.ios-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.ios-switch-track {
  position: absolute;
  inset: 0;
  background: var(--separator-opaque);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}
.ios-switch-track::before {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.ios-switch input:checked + .ios-switch-track { background: var(--green); }
.ios-switch input:checked + .ios-switch-track::before { transform: translateX(18px); }

.content {
  flex: 1;
  min-width: 0;
  padding: clamp(16px, 3vw, 26px) clamp(16px, 4vw, 32px) clamp(24px, 5vw, 40px);
  max-width: 1280px;
  margin: 0 auto; /* center konten di layar sangat lebar, tidak nempel kiri */
}

h1 { margin: 0 0 4px; font-size: clamp(21px, 4.5vw, 28px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 13px; margin: 0 0 10px; color: var(--label-2); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.subtitle { color: var(--label-2); margin: 0 0 18px; font-size: 14px; }
.note { color: var(--label-3); font-size: 12.5px; margin-top: 20px; }

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

/* ============================================================
   Status bar operasional — jam + status DB, mengikuti tema
   ============================================================ */
.ops-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--separator);
  color: var(--label-2);
  padding: 8px 32px;
  font-size: 12px;
}
.ops-bar-left { display: flex; align-items: center; gap: 16px; }
.ops-bar-item { display: flex; align-items: center; gap: 7px; }
.ops-bar-sep { color: var(--separator-opaque); }

/* Pulse dot — indikator status hidup */
.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  display: inline-block;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: pulse-ring 2.2s cubic-bezier(.3,.6,.4,1) infinite;
}
.pulse-dot.dot-danger { background: var(--red); }
.pulse-dot.dot-danger::after { border-color: var(--red); }
.pulse-dot.dot-amber { background: var(--orange); }
.pulse-dot.dot-amber::after { border-color: var(--orange); }
@keyframes pulse-ring {
  0% { transform: scale(.5); opacity: .7; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; opacity: .3; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--label-3);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--label-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--tint); }
.breadcrumb span:last-child { color: var(--label); font-weight: 600; }
.breadcrumb-sep { color: var(--separator-opaque); }

/* ============================================================
   Stat grid — kartu widget ala iOS (grid responsif, BUKAN list
   yang ditumpuk ke bawah), supaya ringkas di layar sekecil apapun:
   2 kolom di HP, 3 kolom di tablet, 6 kolom (1 baris) di desktop.
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: clamp(14px, 3vw, 20px) 0;
}
@media (min-width: 560px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }   /* 3 kartu per baris (tablet) */
}
@media (min-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }  /* 6 kartu, 1 baris (desktop) */
}

.stat-card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  transition: background .12s ease, transform .12s ease;
  text-decoration: none;
  color: inherit;
}
.stat-card:hover { background: var(--fill); }
.stat-card-link { cursor: pointer; }
.stat-card-link:hover { transform: translateY(-1px); }

.stat-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--fill);
  color: var(--label-2);
  flex-shrink: 0;
}
.stat-card.stat-green .stat-icon { color: var(--green); background: var(--green-dim); }
.stat-card.stat-red .stat-icon { color: var(--red); background: var(--red-dim); }
.stat-card.stat-blue .stat-icon { color: var(--tint); background: var(--tint-dim); }
.stat-card.stat-orange .stat-icon { color: var(--orange); background: var(--orange-dim); }
.stat-card.stat-purple .stat-icon { color: var(--purple); background: var(--purple-dim); }

.stat-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.stat-label { font-size: 11.5px; color: var(--label-2); font-weight: 600; order: 1; }
.stat-value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--label);
  order: 2;
  white-space: normal;
  word-break: break-word;
}
.stat-card-highlight .stat-value { color: var(--tint); font-size: 17px; }

.delta { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 20px; margin-left: 6px; }
.delta-up { background: var(--green-dim); color: var(--green); }
.delta-down { background: var(--red-dim); color: var(--red); }

/* ============================================================
   Tabel — grouped inset list ala iOS (bukan tabel full-bleed)
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table th, .data-table td {
  padding: 11px 18px;
  text-align: left;
  border-bottom: 1px solid var(--separator);
  font-size: 13.5px;
}

.data-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--label-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--separator-opaque);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .empty { text-align: center; color: var(--label-3); padding: 30px; }

.data-table tbody tr:hover { background: var(--fill); }

.pop-status-name { font-weight: 600; color: var(--label); }
.pop-status-ip { color: var(--label-2); font-size: 12.5px; }
.pop-status-cell { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   Badges — capsule pill ala iOS
   ============================================================ */
.badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-aktif { background: var(--green-dim); color: var(--green); }
.badge-suspend { background: var(--red-dim); color: var(--red); }
.badge-nonaktif { background: var(--fill); color: var(--label-2); }
.badge-lunas { background: var(--green-dim); color: var(--green); }
.badge-belum_bayar { background: var(--orange-dim); color: var(--orange); }
.badge-batal { background: var(--fill); color: var(--label-2); }

/* ============================================================
   Forms
   ============================================================ */
.form-box {
  background: var(--surface);
  padding: 22px 24px;
  border-radius: 14px;
  max-width: 500px;
  box-shadow: var(--shadow);
}

.form-box label { display: block; font-size: 12.5px; font-weight: 600; margin: 14px 0 6px; color: var(--label); }
.form-box label:first-child { margin-top: 0; }

.form-box input, .form-box select, .form-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--separator-opaque);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--fill);
  color: var(--label);
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus {
  border-color: var(--tint);
  outline: none;
  box-shadow: 0 0 0 3px var(--tint-dim);
  background: var(--surface);
}

.form-box small { display: block; color: var(--label-3); font-size: 11.5px; margin-top: 4px; }
.form-box textarea { min-height: 70px; resize: vertical; }
.form-actions { margin-top: 20px; display: flex; gap: 10px; }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }

/* ============================================================
   Buttons — pill ala iOS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--tint); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--fill); color: var(--label); }
.btn-secondary:hover { background: var(--separator-opaque); }

.btn-loading {
  color: transparent !important;
  position: relative;
  pointer-events: none;
  opacity: .8;
}
.btn-loading::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
.btn-secondary.btn-loading::after { border-color: rgba(0,0,0,0.25); border-top-color: var(--label); }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-loading::after { animation: none; }
}

.text-danger { color: var(--red); }

.quick-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }

.pop-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--separator-opaque);
  border-radius: 980px;
  padding: 0 12px;
  box-shadow: var(--shadow);
}
.pop-filter select {
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 13px;
  font-family: inherit;
  color: var(--label);
  cursor: pointer;
}
.pop-filter select:focus { outline: none; }

/* ============================================================
   Dashboard: grafik + widget
   ============================================================ */
.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 4px;
  min-width: 0;
}
.dash-grid > .dash-card, .dash-grid > .dash-widgets { min-width: 0; }

.dash-card, .widget {
  background: var(--surface);
  border-radius: 14px;
  padding: clamp(14px, 2.5vw, 18px) clamp(14px, 2.5vw, 20px);
  box-shadow: var(--shadow);
  overflow-x: auto; /* pengaman: tabel tetap bisa digeser tanpa merusak layout kartu di HP kecil */
}

.dash-card h2, .widget h2 { margin-bottom: 14px; }

.revenue-chart { width: 100%; height: auto; overflow: visible; }
.revenue-chart .bar { fill: var(--tint-dim); transition: fill .15s ease; }
.revenue-chart .bar:hover { fill: var(--tint); opacity: .5; }
.revenue-chart .bar-current { fill: var(--tint); }
.revenue-chart .bar-current:hover { opacity: .85; }
.revenue-chart .bar-label { font-size: 10px; fill: var(--label-3); font-family: ui-monospace, monospace; }
.revenue-chart .bar-value { font-size: 10px; font-weight: 600; fill: var(--label-2); font-family: ui-monospace, monospace; }
.revenue-chart .chart-gridline { stroke: var(--separator); stroke-width: 1; stroke-dasharray: 3 3; }

.dash-widgets { display: flex; flex-direction: column; gap: 18px; }

.widget-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.widget-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--separator);
  font-size: 13px;
}
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-title { font-weight: 500; }
.widget-meta { color: var(--label-2); font-size: 11.5px; white-space: nowrap; }
.widget-empty { color: var(--label-3); font-size: 12.5px; margin: 0; }
.widget-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--tint); text-decoration: none; font-weight: 600; }
.widget-link:hover { text-decoration: underline; }

/* ============================================================
   Sidebar mobile toggle
   ============================================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--label);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}
.sidebar-overlay { display: none; }
.topbar { display: none; }

@media (max-width: 860px) {
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .ops-bar { padding: 8px 16px; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 720px) {
  .layout { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--sidebar-bg); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--separator);
    padding: 12px 16px;
  }
  .topbar .sidebar-brand { padding: 0; }
  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    transform: translateX(-100%);
    transition: transform .2s ease;
    z-index: 40;
    width: 260px;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 30;
  }
  .content { padding: 20px 16px; }
}

@media (max-width: 460px) {
  .quick-actions { width: 100%; flex-wrap: wrap; }
  .quick-actions .btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  /* Kolom IP Tunnel disembunyikan di HP kecil — info teknis, tidak krusial
     dilihat di layar sempit; tabel jadi lebih ringkas & tidak perlu digeser */
  .data-table th:nth-child(2), .data-table td:nth-child(2) { display: none; }
  .data-table th, .data-table td { padding: 9px 12px; font-size: 12.5px; }
}

/* Search box */
.search-box { display: flex; gap: 8px; margin-bottom: 16px; max-width: 400px; }
.search-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--separator-opaque);
  border-radius: 10px;
  background: var(--fill);
  font-family: inherit;
  color: var(--label);
}
.search-box select {
  padding: 10px 12px;
  border: 1px solid var(--separator-opaque);
  border-radius: 10px;
  font-family: inherit;
  background: var(--fill);
  color: var(--label);
}
.search-box button {
  padding: 10px 18px;
  border: none;
  border-radius: 980px;
  background: var(--tint);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-error { background: var(--red-dim); color: var(--red); }
.alert-success { background: var(--green-dim); color: var(--green); }

/* ============================================================
   Login page — mengikuti prefers-color-scheme sistem (belum ada toggle)
   ============================================================ */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-box {
  background: var(--surface);
  padding: 34px 32px;
  border-radius: 20px;
  width: 320px;
  box-shadow: var(--shadow);
}

.login-box h1 {
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--label);
}
.login-box .login-sub {
  font-size: 13px;
  color: var(--label-2);
  margin: 0 0 22px;
}
.login-box label { display: block; font-size: 12.5px; font-weight: 600; margin: 12px 0 6px; color: var(--label); }
.login-box input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--separator-opaque);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--fill);
  color: var(--label);
}
.login-box input:focus {
  border-color: var(--tint);
  outline: none;
  box-shadow: 0 0 0 3px var(--tint-dim);
  background: var(--surface);
}
.login-box button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--tint);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.login-box button:hover { background: var(--primary-dark); }
