/* ════════════════════════════════════════════════════════
   IRIS Secours — Design System
   Dark / Light via prefers-color-scheme
════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'ZenKurenaido';
  src: url('../fonts/ZenKurenaido-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

/* Corrige le conflit entre display CSS et l'attribut HTML hidden */
[hidden] { display: none !important; }

/* ── Tokens : dark (défaut) ── */
:root {
  --accent:        #4f7df7;
  --accent-dark:   #3a65e0;
  --accent-ring:   rgba(79, 125, 247, 0.18);
  --accent-glow:   rgba(79, 125, 247, 0.32);

  --danger:        #f85149;
  --danger-bg:     rgba(248, 81, 73, 0.10);
  --danger-border: rgba(248, 81, 73, 0.28);

  --bg:            #0d1117;
  --bg-subtle:     #161b22;
  --surface:       #1c2230;
  --surface-hover: #232c3d;
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);

  --text:          #e6edf3;
  --text-muted:    #8b949e;
  --text-subtle:   #6e7681;

  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.40);
  --shadow:     0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg:  0 8px 48px rgba(0, 0, 0, 0.55);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;

  --brand-from: #0f1e45;
  --brand-to:   #1a3870;
  --brand-glow: rgba(79, 125, 247, 0.18);
}

/* ── Tokens : light ── */
@media (prefers-color-scheme: light) {
  :root {
    --accent:        #2563eb;
    --accent-dark:   #1d4ed8;
    --accent-ring:   rgba(37, 99, 235, 0.16);
    --accent-glow:   rgba(37, 99, 235, 0.28);

    --danger:        #dc2626;
    --danger-bg:     rgba(220, 38, 38, 0.07);
    --danger-border: rgba(220, 38, 38, 0.22);

    --bg:            #f0f4f9;
    --bg-subtle:     #e4eaf3;
    --surface:       #ffffff;
    --surface-hover: #f6f8fb;
    --border:        rgba(0, 0, 0, 0.07);
    --border-strong: rgba(0, 0, 0, 0.13);

    --text:          #0f172a;
    --text-muted:    #475569;
    --text-subtle:   #94a3b8;

    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow:     0 4px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:  0 8px 48px rgba(0, 0, 0, 0.14);

    --brand-from: #1e40af;
    --brand-to:   #2563eb;
    --brand-glow: rgba(37, 99, 235, 0.20);
  }
}

/* ── Base ── */
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ════════════════════════════════════════════════════════
   LOGIN PAGE — Layout split
════════════════════════════════════════════════════════ */

body.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ── Panneau gauche : marque ── */
.login-brand {
  background: linear-gradient(145deg, var(--brand-from) 0%, var(--brand-to) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.login-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 55%, var(--brand-glow) 0%, transparent 65%);
  pointer-events: none;
}

.login-brand::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  bottom: -220px;
  right: -200px;
  pointer-events: none;
}

.brand-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  top: -100px;
  left: -80px;
  pointer-events: none;
}

.brand-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 320px;
}

.brand-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.brand-name {
  font-family: 'ZenKurenaido', serif;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.45rem;
}

.brand-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.brand-divider {
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  margin: 1.5rem auto;
}

.brand-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.brand-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

/* ── Panneau droit : formulaire ── */
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--bg);
}

.login-form-wrap {
  width: 100%;
  max-width: 380px;
  animation: slideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

/* Champs */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  visibility: hidden;
}

.field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.875rem;
  width: 16px;
  height: 16px;
  color: var(--text-subtle);
  pointer-events: none;
  flex-shrink: 0;
}

.input-wrapper input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 2.75rem 0.75rem 2.75rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input::placeholder {
  color: var(--text-subtle);
}

.input-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.toggle-pw {
  position: absolute;
  right: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.toggle-pw:hover { color: var(--text-muted); }
.toggle-pw svg { width: 16px; height: 16px; }

/* Erreur */
.login-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.875rem;
  font-size: 0.82rem;
  color: var(--danger);
  line-height: 1.45;
}

.login-error svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Bouton connexion */
.login-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.login-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  box-shadow: 0 4px 18px var(--accent-glow);
  transform: translateY(-1px);
}

.login-btn:active:not(:disabled) { transform: translateY(0); }

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner svg {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

.shake { animation: shake 0.38s ease; }

/* Responsive : mobile */
@media (max-width: 768px) {
  body.login-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .login-brand { padding: 2.25rem 1.5rem; }
  .brand-icon  { width: 68px; height: 68px; margin-bottom: 1.1rem; }
  .brand-name  { font-size: 1.45rem; }
  .brand-divider,
  .brand-features { display: none; }
  .login-panel { padding: 2.25rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════
   DASHBOARD PAGE
════════════════════════════════════════════════════════ */

body:not(.login-page) {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  visibility: hidden;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0;
  left: 260px;
  right: 0;
  height: 60px;
  z-index: 500;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  gap: 1.5rem;
}

.header-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.22s, background 0.22s;
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.header-menu-toggle svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.header-menu-toggle .hamburger-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.header-menu-toggle .close-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.header-menu-toggle.open .hamburger-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.header-menu-toggle.open .close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.header-menu-toggle:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

/* Burger vers croix */
#headerMenuToggle .hamburger-icon {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg);
}

#headerMenuToggle .close-icon {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.sidebar.open ~ header #headerMenuToggle .hamburger-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.sidebar.open ~ header #headerMenuToggle .close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.logo {
  display: none;
}

.logo-img {
  display: none;
}

.logo-text {
  display: none;
}

/* Barre de recherche */
.header-search-wrapper {
  flex: 1;
  max-width: 420px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.6rem 0.85rem 0.6rem 2.6rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:hover {
  border-color: var(--border);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

#clock {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 0.22s, background 0.22s;
}

.user-pill:hover {
  border-color: var(--accent);
  background: var(--accent-ring);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar svg { width: 13px; height: 13px; color: #fff; }

.user-email {
  font-size: 0.79rem;
  color: var(--text-muted);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
  width: 32px;
  height: 32px;
}

.logout-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.logout-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-bg);
}
}

/* ── Main ── */
main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.75rem 2rem;
}

/* ── Hero ── */
.hero {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.hero .subtitle {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Titre de section ── */
.section-title {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: background 0.22s, border-color 0.22s;
}

.card:hover .card-icon-wrap {
  background: var(--accent-ring);
  border-color: var(--accent);
}

.card-body { flex: 1; min-width: 0; }

.card-body h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-arrow {
  color: var(--text-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.22s ease, transform 0.22s ease;
  margin-top: 2px;
}

.card-arrow svg { width: 16px; height: 16px; }

.card:hover .card-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem 1.75rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════
   SIDEBAR — Menu latéral moderne
════════════════════════════════════════════════════════ */

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  padding-top: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  height: 60px;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1001;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.sidebar-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.sidebar-logo-text {
  font-family: 'ZenKurenaido', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.sidebar-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.22s, background 0.22s;
}

.sidebar-toggle-btn:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.sidebar-toggle-btn svg {
  width: 20px;
  height: 20px;
}

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

.sidebar-menu {
  list-style: none;
}

.sidebar-item {
  margin: 0.25rem 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.22s, background 0.22s, padding-left 0.22s;
  border-left: 3px solid transparent;
  margin-left: 0;
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-link span {
  font-size: 0.95rem;
  font-weight: 500;
}

.sidebar-link:hover {
  color: var(--accent);
  background: var(--bg-subtle);
  padding-left: 1.25rem;
}

.sidebar-item.active .sidebar-link {
  color: var(--text);
  background: var(--accent-ring);
  border-left-color: var(--accent);
}

.sidebar-item.active .sidebar-link:hover {
  color: var(--text);
  background: var(--accent-ring);
}

/* Sidebar footer */
.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.sidebar-version {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.sidebar-version p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.version-number {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

/* Main wrapper */
.main-wrapper {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  margin-left: 0;
  margin-top: 60px;
  padding: 2.5rem 1.75rem;
  flex: 1;
}

footer {
  margin-left: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  header {
    left: 0;
    height: 56px;
  }

  .header-inner {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .header-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-search-wrapper {
    max-width: 200px;
  }

  .search-input {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem 0.5rem 2.4rem;
  }

  .search-icon {
    left: 0.7rem;
    width: 16px;
    height: 16px;
  }

  .user-email {
    max-width: 100px;
  }

  .logout-btn {
    width: 30px;
    height: 30px;
  }

  .logout-btn svg {
    width: 14px;
    height: 14px;
  }

  main {
    padding: 2rem 1.5rem;
  }

  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    top: 0;
  }

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

  .sidebar-header {
    height: 56px;
  }

  .sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-wrapper,
  main,
  footer {
    margin-left: 0;
  }

  main {
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  .header-search-wrapper {
    max-width: 150px;
  }

  .search-input {
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem 0.5rem 2.2rem;
  }

  .search-input::placeholder {
    font-size: 0.75rem;
  }

  .user-pill {
    padding: 0.25rem 0.5rem 0.25rem 0.3rem;
  }

  .user-email {
    font-size: 0.7rem;
    max-width: 80px;
  }

  .user-avatar {
    width: 20px;
    height: 20px;
  }

  .user-avatar svg {
    width: 11px;
    height: 11px;
  }

  .sidebar {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
  }

  .sidebar-logo-text {
    font-size: 1rem;
  }

  .sidebar-link span {
    font-size: 0.9rem;
  }

  main {
    margin-left: 0;
    margin-top: 56px;
    padding: 1.5rem 1rem;
  }

  .hero {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}

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

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