/* ============================================================
   SISTEMA DE DELIVERY — Global Styles
   Estética: Industrial / Utilitarian com acentos laranja
   ============================================================ */

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

:root {
  --bg:        #0f1117;
  --bg-card:   #181c27;
  --bg-input:  #1e2333;
  --border:    #2a3045;
  --accent:    #f97316;
  --accent-dim:#7c3a0e;
  --success:   #22c55e;
  --warning:   #eab308;
  --info:      #3b82f6;
  --danger:    #ef4444;
  --text:      #e2e8f0;
  --text-muted:#64748b;
  --radius:    10px;
  --font-mono: 'DM Mono', monospace;
  --font-sans: 'Inter', sans-serif;
  --sidebar-w: 240px;
  --topbar-h:  60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ──────────────────────────────────────────
   LAYOUT
────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform .25s ease;
}

.sidebar-logo {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 18px;
}

.sidebar-logo .logo-text {
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sidebar-logo .logo-text span { color: var(--accent); }

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.nav-section {
  padding: 8px 16px 4px;
  font-size: .68rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-top: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all .15s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(249,115,22,.06);
}

.nav-item.active {
  color: var(--accent);
  background: rgba(249,115,22,.1);
  border-left-color: var(--accent);
}

.nav-item .nav-icon { font-size: 1rem; width: 20px; text-align: center; }

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-muted);
}

.sidebar-footer .user-email {
  display: block;
  font-family: var(--font-mono);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height: var(--topbar-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex: 1;
}

.page-body {
  padding: 28px;
  flex: 1;
}

/* ──────────────────────────────────────────
   CARDS
────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.card-title {
  font-family: var(--font-mono);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

/* ──────────────────────────────────────────
   STAT CARDS (dashboard)
────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stat-color, var(--accent));
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--stat-color, var(--text));
}

.stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 6px;
}

/* ──────────────────────────────────────────
   TABLE
────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

thead th {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(42,48,69,.6);
  transition: background .1s;
}

tbody tr:hover { background: rgba(249,115,22,.04); }

tbody td {
  padding: 11px 14px;
  vertical-align: middle;
}

tbody tr:last-child { border-bottom: none; }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary   { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled)   { background: #ea6a0a; }
.btn-secondary { background: var(--bg-input); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn-success   { background: var(--success); color: #fff; }
.btn-danger    { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled)    { background: #dc2626; }
.btn-sm { padding: 4px 10px; font-size: .78rem; }
.btn-icon { padding: 6px; border-radius: 6px; }

/* ──────────────────────────────────────────
   FORMS
────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: .875rem;
  transition: border-color .15s;
  outline: none;
}

.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }

select.form-control option { background: var(--bg-card); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────
   BADGES
────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-warning  { background: rgba(234,179,8,.15);  color: var(--warning); }
.badge-info     { background: rgba(59,130,246,.15); color: var(--info); }
.badge-success  { background: rgba(34,197,94,.15);  color: var(--success); }
.badge-danger   { background: rgba(239,68,68,.15);  color: var(--danger); }
.badge-secondary{ background: var(--bg-input);      color: var(--text-muted); }

/* ──────────────────────────────────────────
   MODAL
────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .2s ease;
}

@keyframes modalIn {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-mono);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ──────────────────────────────────────────
   TOAST NOTIFICATIONS
────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(16px);
  opacity: 0;
  transition: all .3s ease;
  max-width: 360px;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: var(--success); color: #fff; }
.toast-error   { background: var(--danger);  color: #fff; }
.toast-info    { background: var(--info);    color: #fff; }

/* ──────────────────────────────────────────
   EMPTY STATE
────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: .9rem; }

/* ──────────────────────────────────────────
   LOADING SPINNER
────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.loading-overlay.show { display: flex; }

/* ──────────────────────────────────────────
   BARCODE SCANNER
────────────────────────────────────────── */
.scanner-container {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}

#scanner-video {
  width: 100%;
  display: block;
}

.scanner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-frame {
  width: 240px; height: 120px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.4);
}

.scanner-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  top: 50%;
  animation: scanLine 2s linear infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes scanLine {
  0%   { top: 10%; }
  100% { top: 90%; }
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────
   SEARCH / FILTER BAR
────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-bar .form-control { width: auto; flex: 1; min-width: 160px; }

/* ──────────────────────────────────────────
   MOBILE-FIRST IMPROVEMENTS
────────────────────────────────────────── */

/* Utilitários */
.mobile-hidden { display: initial; }
.mobile-only   { display: none; }

/* Botão Ver Perfil destacado */
.btn-perfil {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-perfil:hover:not(:disabled) { background: #ea6a0a; }

/* Carga list (perfil entregador) */
.carga-list { display: flex; flex-direction: column; gap: 10px; }
.carga-item {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-decoration: none;
  color: var(--text);
}
.carga-item:hover { border-color: var(--accent); background: rgba(249,115,22,.04); }
.carga-num {
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  min-width: 64px;
}
.carga-date {
  font-size: .82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.carga-meta {
  flex: 1;
  font-size: .82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.carga-pill {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-family: var(--font-mono);
}
.carga-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}
.carga-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: .88rem;
}
.carga-empty .icon { font-size: 3rem; margin-bottom: 12px; }

/* Detalhe header */
.detalhe-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.detalhe-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
}
.detalhe-subtitle { font-size: .82rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .mobile-hidden { display: none !important; }
  .mobile-only   { display: initial !important; }

  /* Tap targets */
  .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: .88rem;
  }
  .btn-sm {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .82rem;
  }
  .btn-icon { min-height: 40px; min-width: 40px; padding: 8px; }

  /* Inputs acessíveis (previne zoom no iOS) */
  .form-control {
    padding: 12px 14px;
    font-size: 16px;
  }
  select.form-control { font-size: 16px; }

  /* Espaçamento da página */
  .page-body { padding: 14px; }

  /* Stats em 2 colunas compactas */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat-value { font-size: 1.6rem; }

  /* Cards */
  .card { padding: 16px; }
  .card-header { flex-wrap: wrap; gap: 10px; }

  /* Modal full-screen no celular */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 14px 14px 0 0;
    margin: 0;
  }

  /* Formulário em coluna única */
  .form-grid { grid-template-columns: 1fr; gap: 0; }

  /* Tabela com scroll */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  table { min-width: 560px; }
  thead th, tbody td { padding: 9px 10px; }

  /* Carga item no mobile */
  .carga-item { flex-wrap: wrap; gap: 8px; padding: 14px; }
  .carga-num  { min-width: auto; font-size: .9rem; }

  /* Topbar */
  .topbar { padding: 0 16px; }
  .topbar-title { font-size: .8rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-body  { padding: 10px; }
  .card       { padding: 12px; }
}

/* ──────────────────────────────────────────
   HAMBURGER (CSS-controlled)
────────────────────────────────────────── */
.menu-toggle { display: none; }

/* ──────────────────────────────────────────
   SIDEBAR BACKDROP
────────────────────────────────────────── */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 99;
}
.sidebar-backdrop.open { display: block; }

/* ──────────────────────────────────────────
   BOTTOM NAVIGATION (mobile)
────────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 90;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  justify-content: space-around;
  align-items: center;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  flex: 1;
  padding: 6px 2px;
  min-height: 44px;
  border-radius: 8px;
  transition: color .15s;
}
.bottom-nav-item.active { color: var(--accent); }
.bottom-nav-item:hover  { color: var(--text); }
.bottom-nav-icon  { font-size: 1.2rem; line-height: 1; }
.bottom-nav-label {
  font-size: .58rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* ──────────────────────────────────────────
   STAT CARD — ícone
────────────────────────────────────────── */
.stat-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }

/* ──────────────────────────────────────────
   QUICK ACTION CARDS (dashboard)
────────────────────────────────────────── */
.quick-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.quick-action-card:hover { border-color: var(--accent); background: rgba(249,115,22,.04); }
.quick-action-icon { font-size: 2rem; flex-shrink: 0; }
.quick-action-title {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.quick-action-desc { font-size: .75rem; color: var(--text-muted); }

/* ──────────────────────────────────────────
   RECENT ORDER CARDS (dashboard mobile)
────────────────────────────────────────── */
.recent-orders-cards { display: none; flex-direction: column; gap: 8px; }
.recent-order-card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
}
.recent-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.recent-order-code { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; }
.recent-order-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 4px;
}

/* ──────────────────────────────────────────
   RESPONSIVE — novos componentes
────────────────────────────────────────── */
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .bottom-nav  { display: flex; }
  .page-body   { padding-bottom: 76px; }

  .recent-orders-table-wrap { display: none !important; }
  .recent-orders-cards      { display: flex; }

  .quick-action-grid { gap: 10px; margin-bottom: 20px; }
  .stat-icon { font-size: 1.3rem; margin-bottom: 6px; }
}

@media (max-width: 480px) {
  .quick-action-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────
   DESIGN REFINEMENTS
────────────────────────────────────────── */

/* Badges: pill limpo, sem o ponto */
.badge {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0;
  padding: 3px 10px;
}
.badge::before { display: none; }

/* Card title: sans-serif, sem uppercase agressivo */
.card-title {
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* Modal title */
.modal-title {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* Form labels */
.form-label {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .01em;
  color: var(--text-muted);
}

/* Table headers */
thead th {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Nav items: bordas arredondadas, sem indicador lateral */
.nav-item {
  margin: 2px 8px;
  border-radius: 7px;
  padding: 9px 14px;
  border-left: none;
}
.nav-item.active  { border-left: none; }

/* Topbar title */
.topbar-title {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* Stat label */
.stat-label {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: .8rem;
  font-weight: 500;
}

/* Alinhamento de ícones SVG inline */
.btn svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.nav-item svg, .bottom-nav-icon svg { display: block; }

/* ──────────────────────────────────────────
   LOGIN PAGE
────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(249,115,22,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,.05) 0%, transparent 50%);
  padding: 20px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 12px;
}

.login-logo h1 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.login-logo h1 span { color: var(--accent); }

.login-logo p { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
