/* ============================================================
   UNTERNEHMENSPORTAL – Design System
   ============================================================ */

:root {
  --primary:        #2563eb;
  --primary-dark:   #1d4ed8;
  --primary-light:  #dbeafe;
  --primary-muted:  #eff6ff;
  --accent:         #10b981;
  --accent-light:   #d1fae5;
  --danger:         #ef4444;
  --danger-light:   #fee2e2;
  --warning:        #f59e0b;
  --warning-light:  #fef3c7;
  --info:           #06b6d4;
  --info-light:     #cffafe;
  --bg:             #f1f5f9;
  --surface:        #ffffff;
  --surface-2:      #f8fafc;
  --text:           #0f172a;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --border:         #e2e8f0;
  --border-focus:   #2563eb;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow:         0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:      0 8px 24px rgba(0,0,0,.12);
  --radius:         10px;
  --radius-sm:      6px;
  --radius-lg:      14px;
  --sidebar-w:      280px;
  --sidebar-bg:     #0f172a;
  --sidebar-text:   #cbd5e1;
  --sidebar-muted:  #64748b;
  --sidebar-active: #2563eb;
  --topbar-h:       60px;
  --transition:     all .18s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.login-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: .75rem;
}

.login-logo h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

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

/* ============================================================
   LAYOUT: SIDEBAR + TOPBAR + MAIN
   ============================================================ */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform .25s ease;
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--topbar-h);
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sidebar-brand {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-section-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  padding: .75rem 1.5rem .25rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.5rem;
  color: var(--sidebar-text);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
  margin: 1px 0;
}

.nav-item:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
}

.nav-item.active {
  background: rgba(37,99,235,.15);
  color: #fff;
  border-left-color: var(--primary);
}

.nav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
  color: var(--sidebar-muted);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}

.sidebar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
}

.sidebar-username {
  color: #fff;
  font-weight: 500;
  font-size: .85rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  background: rgba(239,68,68,.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--radius-sm);
  font-size: .78rem;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

.btn-logout:hover {
  background: rgba(239,68,68,.25);
  color: #fecaca;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 90;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
}

.topbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.topbar-subtitle {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .05rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
  width: calc(100% - var(--sidebar-w));
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 99;
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Alerts */
.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.alert-error   { background: var(--danger-light);  color: #b91c1c; border: 1px solid #fca5a5; }
.alert-success { background: var(--accent-light);  color: #065f46; border: 1px solid #6ee7b7; }
.alert-warning { background: var(--warning-light); color: #92400e; border: 1px solid #fcd34d; }
.alert-info    { background: var(--info-light);    color: #164e63; border: 1px solid #67e8f9; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary   { background: var(--primary);  color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-success   { background: var(--accent);   color: #fff; border-color: var(--accent); }
.btn-success:hover { background: #059669; border-color: #059669; color: #fff; }

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

.btn-warning   { background: var(--warning);  color: #fff; border-color: var(--warning); }
.btn-warning:hover { background: #d97706; border-color: #d97706; color: #fff; }

.btn-secondary { background: var(--surface);  color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }

.btn-sm { padding: .35rem .7rem; font-size: .8rem; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-icon { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: var(--radius-sm); }
.btn-icon.btn-sm { width: 28px; height: 28px; }

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-muted);
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .25rem;
}

.kpi-sub {
  font-size: .78rem;
  color: var(--text-muted);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.kpi-icon.blue   { background: var(--primary-light); }
.kpi-icon.green  { background: var(--accent-light); }
.kpi-icon.red    { background: var(--danger-light); }
.kpi-icon.orange { background: var(--warning-light); }

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.page-subtitle {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

.page-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}

label .required { color: var(--danger); margin-left: .2rem; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: .55rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
  font-family: inherit;
  line-height: 1.5;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

textarea { min-height: 80px; resize: vertical; }

.form-hint {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-prefix, .input-suffix {
  background: var(--bg);
  border: 1.5px solid var(--border);
  padding: .55rem .75rem;
  font-size: .875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.input-prefix {
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-suffix {
  border-left: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.input-group input, .input-group select {
  border-radius: 0;
  flex: 1;
}

.input-group .input-prefix + input,
.input-group .input-prefix + select {
  border-radius: 0;
}

.input-group input:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .875rem;
}

thead th {
  background: var(--surface-2);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  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(--primary-muted); }

tbody td {
  padding: .75rem 1rem;
  color: var(--text);
  vertical-align: middle;
}

.table-actions {
  display: flex;
  gap: .3rem;
  align-items: center;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge-blue    { background: var(--primary-light); color: #1e40af; }
.badge-green   { background: var(--accent-light);  color: #065f46; }
.badge-red     { background: var(--danger-light);  color: #b91c1c; }
.badge-orange  { background: var(--warning-light); color: #92400e; }
.badge-gray    { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.badge-cyan    { background: var(--info-light); color: #164e63; }

/* Status badge shortcuts */
.status-draft     { background: var(--bg);           color: var(--text-muted); border: 1px solid var(--border); }
.status-sent      { background: var(--primary-light); color: #1e40af; }
.status-paid      { background: var(--accent-light);  color: #065f46; }
.status-cancelled { background: var(--danger-light);  color: #b91c1c; }

/* Filters bar */
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.filter-bar .form-group { margin-bottom: 0; }

.filter-bar select,
.filter-bar input {
  min-width: 140px;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.grid-sidebar { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; }

/* Section headers */
.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: .75rem;
  opacity: .5;
}

.empty-state h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.empty-state p {
  font-size: .875rem;
}

/* Detail info list */
.info-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  font-size: .875rem;
  align-items: flex-start;
}

.info-label {
  min-width: 130px;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.info-value {
  color: var(--text);
  font-weight: 500;
}

/* Amount display */
.amount-positive { color: var(--accent); font-weight: 600; }
.amount-negative { color: var(--danger); font-weight: 600; }
.amount-neutral  { color: var(--text-muted); }

/* Timer display */
.timer-display {
  font-size: 2.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
  color: var(--primary);
  text-align: center;
  padding: 1rem;
}

.timer-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.timer-card .timer-display { color: #fff; }
.timer-card .timer-label { font-size: .85rem; opacity: .8; margin-bottom: .5rem; }

/* Invoice items table */
.invoice-table { border-collapse: collapse; width: 100%; }
.invoice-table th {
  background: var(--surface-2);
  padding: .6rem .8rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.invoice-table td {
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  vertical-align: middle;
}
.invoice-table .text-right { text-align: right; }
.invoice-table tfoot td {
  padding: .6rem .8rem;
  font-weight: 600;
  border-top: 2px solid var(--border);
}

/* EÜR table */
.eur-table thead th { background: var(--primary); color: #fff; }
.eur-total { font-weight: 700; background: var(--surface-2) !important; }

/* Stat summary row */
.summary-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.summary-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.summary-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}

.modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-muted);
  padding: .2rem;
  line-height: 1;
  border-radius: var(--radius-sm);
}

.modal-close:hover { background: var(--bg); color: var(--text); }

.modal-body { padding: 1.5rem; }

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  background: var(--surface);
  position: sticky;
  bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large screens (1600px+) */
@media (min-width: 1600px) {
  :root { --sidebar-w: 300px; }
  .main-content { padding: 1.75rem 2.5rem; }
  .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .grid-sidebar { grid-template-columns: 1fr 420px; }
  thead th { font-size: .8rem; }
  tbody td { font-size: .9rem; }
}

/* Extra large screens (2000px+) */
@media (min-width: 2000px) {
  :root { --sidebar-w: 320px; }
  .main-content { padding: 2rem 3rem; }
  .grid-sidebar { grid-template-columns: 1fr 460px; }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }

  .topbar {
    left: 0;
  }

  .main-content {
    margin-left: 0;
    padding: 1.25rem;
  }

  .hamburger { display: flex; }

  .grid-2, .grid-3, .grid-sidebar { grid-template-columns: 1fr; }
  .form-row.cols-2,
  .form-row.cols-3,
  .form-row.cols-4 { grid-template-columns: 1fr; }

  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .main-content { padding: 1rem; }
  .kpi-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); font-size: .875rem; }
.text-small  { font-size: .8rem; }
.text-bold   { font-weight: 700; }
.d-flex { display: flex; align-items: center; gap: .5rem; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.hidden { display: none; }
