/* ═══════════════════════════════════════════════════
   MZ Tech Repair System – Admin-Panel CSS
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #0057B8;
  --blue-dark: #00429A;
  --blue-light:#E8F0FC;
  --green:     #16A34A;
  --green-bg:  #DCFCE7;
  --yellow:    #CA8A04;
  --yellow-bg: #FEF9C3;
  --orange:    #EA580C;
  --orange-bg: #FFEDD5;
  --red:       #DC2626;
  --red-bg:    #FEE2E2;
  --gray:      #6B7280;
  --gray-bg:   #F3F4F6;
  --white:     #FFFFFF;
  --border:    #E5E7EB;
  --text:      #111827;
  --text-muted:#6B7280;
  --shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius:    8px;
  --radius-lg: 12px;
  --sidebar-w: 240px;
  --header-h:  60px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:  #F9FAFB;
  color:       var(--text);
  line-height: 1.5;
  min-height:  100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Login-Seite ──────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0047A0 0%, #0057B8 50%, #1E6FD9 100%);
  padding: 24px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  padding: 40px 36px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo img { height: 56px; margin: 0 auto 12px; }
.login-logo h1 { font-size: 1.4rem; font-weight: 700; color: var(--blue); }
.login-logo p  { font-size: .85rem; color: var(--text-muted); }

/* ── Layout (App-Shell) ───────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width:      var(--sidebar-w);
  min-height: 100vh;
  background: #0E1A2D;
  color:      #CBD5E1;
  display:    flex;
  flex-direction: column;
  flex-shrink: 0;
  position:   fixed;
  top: 0; left: 0; bottom: 0;
  z-index:    200;
  transition: transform .25s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo img { height: 36px; border-radius: 6px; }
.sidebar-logo span { font-size: 1.05rem; font-weight: 700; color: #fff; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }

.nav-group-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  padding: 16px 20px 6px;
}

.nav-item {
  display:     flex;
  align-items: center;
  gap:         10px;
  padding:     10px 20px;
  color:       #94A3B8;
  border-radius: 0;
  transition:  background .15s, color .15s;
  cursor:      pointer;
  font-size:   .88rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-item:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
}

.nav-item.active {
  background:  rgba(0,87,184,.25);
  color:       #60A5FA;
  border-left-color: #60A5FA;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* Main Content Area */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height:      var(--header-h);
  background:  var(--white);
  border-bottom: 1px solid var(--border);
  display:     flex;
  align-items: center;
  justify-content: space-between;
  padding:     0 28px;
  position:    sticky;
  top:         0;
  z-index:     100;
  box-shadow:  var(--shadow);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text);
}

.page-title { font-size: 1.1rem; font-weight: 600; color: var(--text); }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.user-badge {
  display:     flex;
  align-items: center;
  gap:         10px;
  font-size:   .85rem;
}

.user-avatar {
  width:  36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.main-content {
  flex: 1;
  padding: 28px;
  max-width: 1400px;
  width: 100%;
}

/* ── Karten / Cards ───────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: 24px; }

/* ── Stat-Kacheln ─────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.blue   { background: var(--blue-light); color: var(--blue); }
.stat-icon.green  { background: var(--green-bg);   color: var(--green); }
.stat-icon.yellow { background: var(--yellow-bg);  color: var(--yellow); }
.stat-icon.orange { background: var(--orange-bg);  color: var(--orange); }
.stat-icon.red    { background: var(--red-bg);     color: var(--red); }

.stat-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.stat-sub   { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

/* ── Tabellen ─────────────────────────────────────── */
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: .88rem; }

thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #F9FAFB;
  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: #F9FAFB; }

tbody td { padding: 12px 16px; vertical-align: middle; }

/* ── Formulare ────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid.cols-1 { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

label .req { color: var(--red); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,.12);
}

textarea { resize: vertical; min-height: 100px; }

.form-hint { font-size: .78rem; color: var(--text-muted); }

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  padding:     9px 18px;
  border-radius: var(--radius);
  font-size:   .88rem;
  font-weight: 600;
  font-family: var(--font);
  border:      2px solid transparent;
  cursor:      pointer;
  transition:  background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--blue);  color: #fff; }
.btn-primary:hover  { background: var(--blue-dark); }

.btn-success  { background: var(--green); color: #fff; }
.btn-danger   { background: var(--red);   color: #fff; }

.btn-outline  { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.btn-sm { padding: 5px 12px; font-size: .8rem; gap: 5px; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

.btn svg { width: 16px; height: 16px; }
.btn-sm svg { width: 14px; height: 14px; }

.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Badges ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-green  { background: var(--green-bg);   color: var(--green); }
.badge-yellow { background: var(--yellow-bg);  color: var(--yellow); }
.badge-orange { background: var(--orange-bg);  color: var(--orange); }
.badge-red    { background: var(--red-bg);     color: var(--red); }
.badge-gray   { background: var(--gray-bg);    color: var(--gray); }

/* ── Alerts ───────────────────────────────────────── */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-bottom: 16px;
  border-left: 4px solid;
}

.alert-success { background: var(--green-bg);   border-color: var(--green); color: #14532D; }
.alert-danger  { background: var(--red-bg);     border-color: var(--red);   color: #7F1D1D; }
.alert-warning { background: var(--yellow-bg);  border-color: var(--yellow);color: #713F12; }
.alert-info    { background: var(--blue-light);  border-color: var(--blue);  color: #1E3A5F; }

/* ── Suche & Filter-Leiste ────────────────────────── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-input {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.search-input svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px; height: 16px;
}

.search-input input { padding-left: 38px; }

/* ── Pagination ───────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
  transition: background .1s, border-color .1s;
  text-decoration: none;
}

.page-link:hover   { background: var(--blue-light); border-color: var(--blue); color: var(--blue); text-decoration: none; }
.page-link.active  { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-link.disabled{ opacity: .4; pointer-events: none; }

.page-info { font-size: .82rem; color: var(--text-muted); margin-left: auto; }

/* ── Modal ────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.55);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title { font-size: 1rem; font-weight: 700; }

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 4px;
  transition: color .1s, background .1s;
}

.modal-close:hover { background: var(--gray-bg); color: var(--text); }
.modal-body  { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ── Status-Verlauf-Timeline ──────────────────────── */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { font-size: .75rem; color: var(--text-muted); margin-bottom: 2px; }
.timeline-status { font-weight: 600; font-size: .88rem; }
.timeline-note { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }

/* ── Foto-Grid ────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
}

.photo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .2s;
}

.photo-thumb:hover img { transform: scale(1.05); }

.photo-thumb .photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .7rem;
  padding: 4px 6px;
  text-align: center;
}

.photo-delete {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(220,38,38,.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.photo-thumb:hover .photo-delete { display: flex; }

/* ── Lightbox ─────────────────────────────────────── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}

.lb-overlay.active { display: flex; }
.lb-overlay img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lb-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ── Kalender ─────────────────────────────────────── */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day-name {
  text-align: center;
  padding: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
}

.cal-day {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 80px;
  padding: 8px;
  position: relative;
}

.cal-day:nth-child(7n) { border-right: none; }
.cal-day.other-month .cal-day-num { color: #D1D5DB; }
.cal-day.today { background: #EFF6FF; }
.cal-day-num { font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
.cal-today-num { color: var(--blue); }

.cal-event {
  display: block;
  font-size: .72rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.cal-event.type-abholung { background: var(--green-bg);  color: var(--green); }
.cal-event.type-reparatur{ background: var(--blue-light); color: var(--blue); }
.cal-event.type-sonstiges { background: var(--gray-bg);   color: var(--gray); }
.cal-event.type-eingang  { background: var(--yellow-bg); color: var(--yellow); }

/* ── Lagerbestand-Warnung ─────────────────────────── */
.stock-low { color: var(--red); font-weight: 600; }
.stock-ok  { color: var(--green); }

/* ── Upload-Zone ──────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-light);
}

.upload-zone svg { width: 40px; height: 40px; color: var(--text-muted); margin: 0 auto 12px; }
.upload-zone p   { font-size: .88rem; color: var(--text-muted); }

/* ── Diagramme ────────────────────────────────────── */
.chart-wrap { position: relative; height: 280px; }

/* ── Empty State ──────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.empty-state svg { width: 56px; height: 56px; color: #D1D5DB; margin-bottom: 16px; }
.empty-state h3  { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.empty-state p   { font-size: .85rem; color: var(--text-muted); }

/* ── Dropdown (User-Menü) ─────────────────────────── */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 500;
  overflow: hidden;
}

.dropdown-menu.open { display: block; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .88rem;
  color: var(--text);
  transition: background .1s;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-item:hover { background: var(--gray-bg); text-decoration: none; }
.dropdown-item.danger { color: var(--red); }
.dropdown-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ── Wasserschaden-Warnung ────────────────────────── */
.water-damage-warning {
  display: none;
  background: #FEF9C3;
  border: 2px solid #EAB308;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 10px;
}

.water-damage-warning.visible { display: block; }
.water-damage-warning strong  { color: #713F12; display: block; margin-bottom: 4px; }
.water-damage-warning p       { color: #713F12; font-size: .85rem; }

/* ── Aktivitätslog ────────────────────────────────── */
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}

.log-entry:last-child { border-bottom: none; }
.log-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.log-icon svg { width: 14px; height: 14px; }
.log-time { font-size: .75rem; color: var(--text-muted); }

/* ── Spinner ──────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── QR-Code ──────────────────────────────────────── */
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-wrap img { width: 140px; height: 140px; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; }

/* ── WhatsApp-Button ──────────────────────────────── */
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DAA52; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0); }
  .main-wrap { margin-left: 0; }
  .hamburger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .main-content { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-search { width: 100%; min-width: 0; }
  .toolbar-search .search-input { min-width: 0; max-width: none; width: 100% !important; }
  .search-input { max-width: 100%; }
}

/* ── Utility ──────────────────────────────────────── */
.text-muted   { color: var(--text-muted); }
.text-right   { text-align: right; }
.text-center  { text-align: center; }
.fw-bold      { font-weight: 700; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.mt-4         { margin-top: 4px; }
.mt-8         { margin-top: 8px; }
.mt-16        { margin-top: 16px; }
.mt-24        { margin-top: 24px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.w-full       { width: 100%; }
