/* ═══════════════════════════════════════════════════════════════════════
   Smart Farrier – Design System (EquiSmart-Style)
   Primärfarbe: #10B981  |  Sidebar: #2C3E2D  |  Font: Inter
   ═══════════════════════════════════════════════════════════════════════ */

/* ── CSS-Variablen ──────────────────────────────────────────────────── */
:root {
  --sf-primary:          #10B981;
  --sf-primary-dark:     #059669;
  --sf-primary-light:    #D1FAE5;
  --sf-primary-rgb:      16, 185, 129;

  --sf-sidebar-bg:       #2C3E2D;
  --sf-sidebar-width:    260px;

  --sf-bg:               #F8F9FA;
  --sf-surface:          #FFFFFF;

  --sf-text-primary:     #1A1A2E;
  --sf-text-secondary:   #6B7280;
  --sf-divider:          #E5E7EB;

  /* Bootstrap-Variablen überschreiben */
  --bs-primary:          #10B981;
  --bs-primary-rgb:      16, 185, 129;
  --bs-success:          #10B981;
  --bs-success-rgb:      16, 185, 129;
  --bs-body-font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --bs-body-bg:          #F8F9FA;
  --bs-body-color:       #1A1A2E;
  --bs-border-radius:    10px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 12px;
  --bs-border-radius-xl: 16px;
}

/* ── Basis ──────────────────────────────────────────────────────────── */
html, body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--sf-bg);
  color: var(--sf-text-primary);
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-primary {
  color: #fff;
  background-color: var(--sf-primary);
  border-color: var(--sf-primary);
  border-radius: 8px;
  font-weight: 500;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--sf-primary-dark);
  border-color: var(--sf-primary-dark);
  color: #fff;
}
.btn-outline-primary {
  border-color: var(--sf-primary);
  color: var(--sf-primary);
  border-radius: 8px;
  font-weight: 500;
}
.btn-outline-primary:hover {
  background-color: var(--sf-primary);
  border-color: var(--sf-primary);
  color: #fff;
}
.btn-success {
  background-color: var(--sf-primary);
  border-color: var(--sf-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
}
.btn-success:hover {
  background-color: var(--sf-primary-dark);
  border-color: var(--sf-primary-dark);
  color: #fff;
}
.btn-outline-success {
  border-color: var(--sf-primary);
  color: var(--sf-primary);
  border-radius: 8px;
}
.btn-outline-success:hover {
  background-color: var(--sf-primary);
  border-color: var(--sf-primary);
  color: #fff;
}
.btn {
  border-radius: 8px;
}
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(var(--sf-primary-rgb), 0.35);
}

/* ── Links ──────────────────────────────────────────────────────────── */
a, .btn-link {
  color: var(--sf-primary);
}
a:hover {
  color: var(--sf-primary-dark);
}

/* ── Text-Farben ────────────────────────────────────────────────────── */
.text-primary  { color: var(--sf-primary) !important; }
.text-success  { color: var(--sf-primary) !important; }
.text-muted    { color: var(--sf-text-secondary) !important; }

/* ── Hintergründe ───────────────────────────────────────────────────── */
.bg-primary { background-color: var(--sf-primary) !important; }
.bg-success { background-color: var(--sf-primary) !important; }
.bg-primary.bg-opacity-10 { background-color: rgba(var(--sf-primary-rgb), 0.1) !important; }
.bg-success.bg-opacity-10 { background-color: rgba(var(--sf-primary-rgb), 0.1) !important; }
.bg-light   { background-color: #F1F5F9 !important; }

/* ── Rahmen ─────────────────────────────────────────────────────────── */
.border-primary { border-color: var(--sf-primary) !important; }
.border-success { border-color: var(--sf-primary) !important; }

/* ── Badges ─────────────────────────────────────────────────────────── */
.badge.bg-primary { background-color: var(--sf-primary) !important; }
.badge.bg-success { background-color: var(--sf-primary) !important; }
.badge        { border-radius: 6px; font-weight: 600; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
}
.card-header {
  border-bottom: 1px solid var(--sf-divider);
  background-color: var(--sf-surface);
  border-radius: 12px 12px 0 0 !important;
  font-weight: 600;
  padding: 0.9rem 1rem;
}
.card-footer {
  border-top: 1px solid var(--sf-divider);
  background-color: var(--sf-surface);
  border-radius: 0 0 12px 12px !important;
}
.card-body { padding: 1rem 1.25rem; }

/* ── Alerts ─────────────────────────────────────────────────────────── */
.alert-success {
  background-color: var(--sf-primary-light);
  border-color: rgba(var(--sf-primary-rgb), 0.3);
  color: var(--sf-primary-dark);
}
.alert-primary {
  background-color: rgba(var(--sf-primary-rgb), 0.08);
  border-color: rgba(var(--sf-primary-rgb), 0.25);
  color: var(--sf-primary-dark);
}

/* ── Formulare ──────────────────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--sf-primary-rgb), 0.18);
}
.form-control {
  border-radius: 8px;
}
.form-select {
  border-radius: 8px;
}
.input-group-text {
  border-radius: 8px;
}

/* ── Tabellen ───────────────────────────────────────────────────────── */
.table {
  --bs-table-striped-bg: rgba(var(--sf-primary-rgb), 0.04);
}
.table thead th {
  color: var(--sf-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Spinner ────────────────────────────────────────────────────────── */
.spinner-border.text-success,
.spinner-border.text-primary { color: var(--sf-primary) !important; }

/* ── Progress ───────────────────────────────────────────────────────── */
.progress-bar.bg-success,
.progress-bar.bg-primary { background-color: var(--sf-primary) !important; }

/* ── Nav-Tabs ───────────────────────────────────────────────────────── */
.nav-tabs .nav-link.active {
  color: var(--sf-primary);
  border-color: var(--sf-divider) var(--sf-divider) var(--sf-surface);
  font-weight: 600;
}
.nav-tabs .nav-link:hover { color: var(--sf-primary); }

/* ── Form-Floating ──────────────────────────────────────────────────── */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ── Validierung ────────────────────────────────────────────────────── */
.valid.modified:not([type=checkbox]) { outline: 1px solid var(--sf-primary); }
.invalid                              { outline: 1px solid #D32F2F; }
.validation-message                   { color: #D32F2F; }
.darker-border-checkbox.form-check-input { border-color: #929292; }

/* ── Blazor-Fehler ──────────────────────────────────────────────────── */
.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after {
  content: "Ein Fehler ist aufgetreten.";
}

/* ── Login-Screen ───────────────────────────────────────────────────── */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sf-sidebar-bg) 0%, #1a2e1a 100%);
  padding: 2rem 1rem;
}
.login-card {
  background: var(--sf-surface);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ── Content Spacing ────────────────────────────────────────────────── */
.content { padding-top: 1.1rem; }
h1:focus { outline: none; }

/* ── Karten-Akzent-Streifen (EquiSmart-Stil) ────────────────────────── */
.sf-card-accent {
  height: 4px;
  border-radius: 12px 12px 0 0;
}

/* ════════════════════════════════════════════════════════════════════════
   SIDEBAR-LAYOUT (global – nicht scoped, weil MainLayout.razor.css greift
   auf Blazor-Scoped-Attribut an, das bei SSR nicht korrekt angewendet wird)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Haupt-Wrapper ──────────────────────────────────────────────────── */
.sf-layout {
  display: flex;
  min-height: 100vh;
  background-color: #F8F9FA;
}

/* ── Sidebar ────────────────────────────────────────────────────────── */
.sf-sidebar {
  width: 260px;
  min-height: 100vh;
  background-color: #2C3E2D;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.sf-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 199;
  display: block;
  animation: sfFadeIn 0.2s ease;
}
@keyframes sfFadeIn { from { opacity:0; } to { opacity:1; } }

/* ── Sidebar Header ─────────────────────────────────────────────────── */
.sf-sidebar-header {
  padding: 1.25rem 1rem 1rem;
  flex-shrink: 0;
}
.sf-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: white;
  transition: opacity 0.15s;
}
.sf-sidebar-brand:hover { opacity: 0.85; color: white; }
.sf-sidebar-brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: white;
}
.sf-sidebar-hr {
  height: 1px;
  background-color: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Sidebar Navigation ─────────────────────────────────────────────── */
.sf-sidebar-nav {
  flex: 1;
  padding: 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}
.sf-sidebar-nav::-webkit-scrollbar { width: 4px; }
.sf-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sf-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

/* ── Sidebar Footer / User ──────────────────────────────────────────── */
.sf-sidebar-footer { flex-shrink: 0; }
.sf-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  min-width: 0;
}
.sf-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #10B981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.sf-user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sf-user-name {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.sf-user-role {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  line-height: 1.3;
}
.sf-logout-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
  flex-shrink: 0;
  line-height: 1;
}
.sf-logout-btn:hover { color: white; background-color: rgba(255,255,255,0.1); }

/* ── Hauptbereich ───────────────────────────────────────────────────── */
.sf-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F8F9FA;
  min-width: 0;
}
.sf-content {
  flex: 1;
  padding: 1.5rem 2rem;
}

/* ── Mobile Topbar ──────────────────────────────────────────────────── */
.sf-topbar {
  height: 54px;
  background-color: #2C3E2D;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}
.sf-hamburger {
  background: none;
  border: none;
  color: white;
  padding: 0.2rem 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: background-color 0.15s;
}
.sf-hamburger:hover { background-color: rgba(255,255,255,0.12); }
.sf-topbar-title {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* ── NavMenu Links ──────────────────────────────────────────────────── */
.sf-search-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  font-family: inherit;
}
.sf-search-btn:hover { background: rgba(255,255,255,0.14); color: white; }

.sf-nav-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sf-nav-divider {
  height: 1px;
  background-color: rgba(255,255,255,0.1);
  margin: 6px 0;
}
.sf-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.sf-nav-link:hover {
  background-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.95);
}
.sf-nav-link.active {
  background-color: rgba(255,255,255,0.18);
  color: white;
  font-weight: 600;
}
.sf-nav-link .bi {
  font-size: 0.95rem;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  opacity: 0.88;
}

/* ── Gruppen-Label (Überschrift innerhalb der Nav) ──────────────────── */
.sf-nav-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  padding: 0.65rem 0.75rem 0.15rem;
  flex-shrink: 0;
}

/* ── Abmelden-Button (wie sf-nav-link, aber rötlich) ────────────────── */
.sf-nav-logout {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: rgba(252,165,165,0.72) !important;
}
.sf-nav-logout:hover {
  background-color: rgba(239,68,68,0.15) !important;
  color: #FCA5A5 !important;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .sf-sidebar { transform: translateX(-100%); box-shadow: none; }
  .sf-sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.3); }
  .sf-main { margin-left: 0; }
  .sf-content { padding: 1rem; }
}

/* ── Blazor Error UI ────────────────────────────────────────────────── */
#blazor-error-ui {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background-color: white !important;
  border-top: 1px solid #E5E7EB !important;
  padding: 0.75rem 2rem !important;
}

/* ════════════════════════════════════════════════════════════════════════
   SEITEN-DESIGN – EquiSmart-Stil für SmartFarrier-Seiten
   ════════════════════════════════════════════════════════════════════════ */

/* ── Seiten-Header (Titel + Action-Button) ──────────────────────────── */
.sf-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sf-page-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A2E;
  margin: 0;
}
.sf-page-subtitle {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0.15rem 0 0;
}

/* ── KPI-Karte (Statistik-Kachel) ───────────────────────────────────── */
.sf-kpi-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}
.sf-kpi-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-1px); }
.sf-kpi-card-bar { height: 4px; }
.sf-kpi-card-body { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.25rem; }
.sf-kpi-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sf-kpi-value { font-size: 1.6rem; font-weight: 700; line-height: 1; color: #1A1A2E; }
.sf-kpi-label { font-size: 0.78rem; color: #6B7280; margin-top: 0.1rem; }

/* ── Inhalts-Karte (List-Card) ──────────────────────────────────────── */
.sf-list-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.sf-list-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #E5E7EB;
}
.sf-list-card-title { font-size: 1rem; font-weight: 600; color: #1A1A2E; flex: 1; }
.sf-list-card-action { font-size: 0.82rem; color: #10B981; text-decoration: none; font-weight: 500; }
.sf-list-card-action:hover { color: #059669; }
.sf-list-card-body { }
.sf-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #F3F4F6;
  transition: background-color 0.12s;
}
.sf-list-item:last-child { border-bottom: none; }
.sf-list-item:hover { background-color: #F9FAFB; }

/* ── Dashboard: Tagesroute & Charts ────────────────────────────────── */
.sf-route-time {
  font-size: 0.78rem; font-weight: 700; color: #10B981;
  min-width: 36px; text-align: center; flex-shrink: 0;
}
.sf-chart-label {
  font-size: 0.72rem; font-weight: 600; color: #6B7280; margin-bottom: 2px;
}

/* ── Mini-Kalender ──────────────────────────────────────────────────── */
.sf-minical-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  text-align: center;
}
.sf-minical-header {
  font-size: 0.6rem; font-weight: 700; color: #9CA3AF;
  text-transform: uppercase; padding-bottom: 4px;
}
.sf-minical-day {
  font-size: 0.68rem; color: #374151;
  display: flex; flex-direction: column; align-items: center;
  padding: 2px 1px; border-radius: 4px;
}
.sf-minical-day.today > span:first-child {
  background: #10B981; color: white; border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.63rem;
}
.sf-minical-dot {
  width: 4px; height: 4px; background: #10B981;
  border-radius: 50%; display: block; margin-top: 1px;
}
.sf-minical-day.today .sf-minical-dot { background: white; }

/* ── Termin-Streifen (farbige linke Border) ─────────────────────────── */
.sf-event-strip {
  border-left: 4px solid var(--strip-color, #10B981);
  background-color: color-mix(in srgb, var(--strip-color, #10B981) 8%, white);
  border-radius: 0 8px 8px 0;
  padding: 0.5rem 0.75rem;
  margin: 4px 0.75rem;
}

/* ── Empty State ────────────────────────────────────────────────────── */
.sf-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #6B7280;
}
.sf-empty-state-icon { font-size: 3rem; opacity: 0.4; display: block; margin-bottom: 0.75rem; }
.sf-empty-state-title { font-size: 1rem; font-weight: 600; color: #374151; margin-bottom: 0.25rem; }

/* ── Status-Badge ───────────────────────────────────────────────────── */
.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.sf-badge-green  { background: #D1FAE5; color: #059669; }
.sf-badge-yellow { background: #FEF3C7; color: #D97706; }
.sf-badge-amber  { background: #FEF3C7; color: #D97706; }
.sf-badge-red    { background: #FEE2E2; color: #D32F2F; }
.sf-badge-blue   { background: #E0F2FE; color: #0284C7; }
.sf-badge-gray   { background: #F3F4F6; color: #6B7280; }
.sf-badge-purple { background: #EDE9FE; color: #7C3AED; }

/* ── Schnellzugriff-Kacheln ─────────────────────────────────────────── */
.sf-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.4rem 0.65rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none !important;
  color: #374151;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.12s;
  cursor: pointer;
  width: 100%;
  min-height: 74px;
  position: relative;
}
.sf-quick-link:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
  color: #374151;
  text-decoration: none;
}
.sf-ql-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Seiten-Akzent-Balken (farbiger Balken links an Karten) ─────────── */
.sf-section-accent {
  border-left: 4px solid var(--accent-color, #10B981);
  padding-left: 0.75rem;
}

/* ── Benachrichtigungs-Banner ────────────────────────────────────────── */
.sf-alert-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-bottom: 1rem;
}
.sf-alert-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.sf-alert-card-header-warning { background: #FFFBEB; border-bottom: 1px solid #FDE68A; color: #92400E; }
.sf-alert-card-header-info    { background: #EFF6FF; border-bottom: 1px solid #BFDBFE; color: #1D4ED8; }
.sf-alert-card-header-success { background: #ECFDF5; border-bottom: 1px solid #A7F3D0; color: #065F46; }
