/* ═══════════════════════════════════════════════════════════
   Reitschule Jasmin Roshi – Navy & Gold Theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:        #1a3a6b;
  --navy-dark:   #0f2548;
  --navy-mid:    #2a5298;
  --navy-soft:   #3a6ab0;
  --gold:        #c9a227;
  --gold-deep:   #a07d10;
  --gold-light:  #e8c84a;
  --gold-pale:   #fdf4d4;
  --cream:       #f5f0e8;
  --cream-deep:  #ede5d4;
  --white:       #ffffff;
  --text-dark:   #1a1a2e;
  --text-mid:    #3a3a5a;
  --text-light:  #6a6a8a;
  --border:      #d8ceb8;
  --shadow-sm:   0 1px 4px rgba(26,58,107,.08);
  --shadow-md:   0 3px 14px rgba(26,58,107,.13);
  --shadow-lg:   0 8px 32px rgba(26,58,107,.18);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --font-serif:  Georgia, 'Times New Roman', serif;
  --font-sans:   'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: normal; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--navy-dark); }
h2 { font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--navy); }
h3 { font-size: 1.1rem; color: var(--navy); }
a { color: var(--navy); }
a:hover { color: var(--navy-mid); }

/* ── Header ── */
.site-header {
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center;
  justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--gold-pale);
  white-space: nowrap;
  line-height: 1.25;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: rgba(253,244,212,.6);
  display: block;
  letter-spacing: .04em;
}
.header-nav { display: flex; gap: 4px; }
.nav-link {
  color: rgba(253,244,212,.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav-link.active { background: var(--gold); color: var(--navy-dark); font-weight: 600; }

/* ── Admin Header / Sidebar ── */
.admin-header { background: var(--navy-dark); }
.admin-header .logo-text { color: var(--gold-pale); }
.admin-header .nav-link { color: rgba(253,244,212,.85); }
.admin-nav-sidebar {
  width: 220px; min-height: 100vh;
  background: var(--navy-dark);
  padding: 24px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.admin-nav-sidebar a {
  color: rgba(253,244,212,.8);
  text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; display: flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.admin-nav-sidebar a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.admin-nav-sidebar a.active { background: var(--gold); color: var(--navy-dark); font-weight: 600; }
.admin-layout { display: flex; min-height: calc(100vh - 68px); }
.admin-main { flex: 1; padding: 28px 24px; max-width: 1100px; }

/* ── Main Content ── */
.main-content {
  flex: 1; max-width: 860px;
  margin: 0 auto; padding: 32px 20px 48px; width: 100%;
}

/* ── Push Banner ── */
.push-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-md); margin-bottom: 24px; overflow: hidden;
}
.push-banner-inner {
  padding: 16px 20px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; color: var(--white);
}
.push-banner-inner p { margin: 2px 0 0; font-size: .87rem; opacity: .88; }
.push-icon { font-size: 1.8rem; flex-shrink: 0; }
.push-banner-text { flex: 1; min-width: 160px; }
.btn-close {
  background: none; border: none; color: rgba(255,255,255,.7);
  cursor: pointer; font-size: 1.1rem; padding: 4px 8px;
  border-radius: 4px; flex-shrink: 0;
}
.btn-close:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ── PWA Details (dezent) ── */
.pwa-hint {
  margin-bottom: 20px;
  font-size: .87rem;
}
.pwa-hint summary {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); cursor: pointer;
  padding: 5px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  transition: background .14s;
  list-style: none;
  user-select: none;
}
.pwa-hint summary::-webkit-details-marker { display: none; }
.pwa-hint summary:hover { background: var(--gold-pale); border-color: var(--gold); }
.pwa-hint[open] summary { background: var(--gold-pale); border-color: var(--gold); color: var(--navy-dark); }
.pwa-hint-body {
  margin-top: 10px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 10px;
}
.pwa-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .87rem; color: var(--text-mid);
}
.pwa-step-icon { font-size: 1.2rem; flex-shrink: 0; }
.pwa-install-btn {
  display: none; margin-top: 4px;
  align-self: flex-start;
}

/* ── Section ── */
.section-title { margin-bottom: 6px; }
.section-sub { color: var(--text-light); margin-bottom: 24px; font-size: .94rem; }

/* ── Booking Form ── */
.booking-section { margin-bottom: 48px; }
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.form-step-title {
  font-size: 1rem; color: var(--navy); margin-bottom: 18px;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: .01em;
}
.form-step-title small { font-size: .8rem; color: var(--text-light); font-weight: normal; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: .87rem; color: var(--text-mid); font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="time"], input[type="number"],
select, textarea {
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem;
  font-family: var(--font-sans); background: var(--cream);
  color: var(--text-dark);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1); background: var(--white);
}
textarea { resize: vertical; min-height: 80px; }

.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: .9rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--navy); cursor: pointer; margin-top: 2px;
}

/* ── Datums-Kalender ── */
.date-picker-wrap { user-select: none; }
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cal-month {
  font-family: var(--font-serif); font-size: 1.05rem;
  color: var(--navy-dark); font-weight: normal;
}
.cal-arrow {
  background: none; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy); font-size: 1rem;
  transition: background .14s, border-color .14s;
}
.cal-arrow:hover { background: var(--gold-pale); border-color: var(--gold); }
.cal-arrow:disabled { opacity: .3; cursor: default; }
.cal-grid { width: 100%; border-collapse: collapse; }
.cal-grid th {
  font-size: .78rem; font-weight: 600; color: var(--text-light);
  padding: 4px 2px 8px; text-align: center; background: none;
}
.cal-grid td { padding: 3px; text-align: center; }
.cal-day {
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: none; cursor: pointer; font-size: .92rem;
  color: var(--text-dark); transition: background .12s, color .12s;
  font-family: var(--font-sans); display: inline-flex;
  align-items: center; justify-content: center;
}
.cal-day:hover:not(:disabled) { background: var(--gold-pale); color: var(--navy-dark); }
.cal-day.today { outline: 2px solid var(--gold); outline-offset: 1px; }
.cal-day.selected { background: var(--navy); color: var(--white); font-weight: 600; }
.cal-day.selected:hover { background: var(--navy-mid); }
.cal-day:disabled { opacity: .25; cursor: default; }
.cal-day.other-month { opacity: .35; }
.cal-day.weekend:not(.selected) { color: var(--text-light); }
input[name="date"] { display: none; } /* hidden, set by calendar */

/* ── Slots ── */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.slot-btn {
  border: 2px solid var(--gold);
  background: var(--gold-pale);
  color: var(--navy-dark);
  padding: 9px 8px; border-radius: var(--radius-sm);
  cursor: pointer; font-size: .9rem; text-align: center;
  transition: background .14s, border-color .14s, color .14s;
  font-family: var(--font-sans);
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.slot-btn:hover { background: var(--gold-light); border-color: var(--gold-deep); }
.slot-btn.active {
  background: var(--navy); border-color: var(--navy-dark);
  color: var(--white); font-weight: 600;
}
.slot-time { font-weight: 600; white-space: nowrap; }
.slot-label {
  font-size: .72rem; font-weight: 500; opacity: .8; line-height: 1.15;
}
.slot-btn.active .slot-label { opacity: .9; }
.slot-empty { color: var(--text-light); font-size: .9rem; padding: 16px 0; text-align: center; }
.slot-group-label {
  grid-column: 1 / -1;
  font-size: .78rem; font-weight: 700; color: var(--navy);
  letter-spacing: .05em; text-transform: uppercase;
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.slot-group-label:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* Kategorie-Auswahl */
.category-btn {
  padding: 14px 22px; border: 2px solid var(--border);
  border-radius: var(--radius-md); background: var(--white);
  cursor: pointer; font-family: var(--font-sans); font-size: .95rem;
  font-weight: 600; color: var(--navy-dark); text-align: center;
  transition: all .15s; min-width: 140px;
}
.category-btn:hover  { border-color: var(--gold); background: var(--gold-pale); }
.category-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── Pferde Cards ── */
.horse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.horse-card {
  border: 2px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 10px; cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.horse-card input { display: none; }
.horse-card:hover { border-color: var(--gold); background: var(--gold-pale); }
.horse-card.selected { border-color: var(--navy); background: #e8eef8; }
.horse-card.unavailable { opacity: .4; cursor: not-allowed; pointer-events: none; }
.horse-card-photo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
}
.horse-card-placeholder {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; border: 2px solid var(--border);
}
.horse-name { font-weight: 600; color: var(--navy-dark); font-size: .92rem; }
.horse-breed { font-size: .78rem; color: var(--text-light); }
.horse-no-pref { color: var(--text-light); font-size: .88rem; }
.horse-unavail-label {
  font-size: .72rem; color: #c0392b; font-weight: 600;
  background: #fde8e8; padding: 1px 6px; border-radius: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border: none; border-radius: var(--radius-sm);
  cursor: pointer; font-size: .95rem; font-family: var(--font-sans);
  text-decoration: none; transition: opacity .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-dark); font-weight: 600; }
.btn-gold:hover { background: var(--gold-deep); color: var(--navy-dark); }
.btn-secondary { background: var(--navy-mid); color: var(--white); }
.btn-secondary:hover { background: var(--navy-soft); }
.btn-danger { background: #c0392b; color: var(--white); }
.btn-danger:hover { background: #a93226; }
.btn-light { background: rgba(255,255,255,.18); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.28); }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: #e8eef8; }
.btn-large { padding: 13px 28px; font-size: 1.05rem; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }

/* ── Alerts ── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; border-left: 4px solid; }
.alert-success { background: #e6f4ea; border-color: #2e7d32; color: #1b4d1e; }
.alert-error   { background: #fde8e8; border-color: #c0392b; color: #7b1c1c; }
.alert-warning { background: var(--gold-pale); border-color: var(--gold); color: #6b4e00; }
.alert-info    { background: #e8eef8; border-color: var(--navy); color: var(--navy-dark); }

/* ── Horses Showcase ── */
/* ── Pferde-Leiste (breit, oben) ── */
.horses-strip {
  margin: 0 0 24px; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.horses-strip-title {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-light); margin-bottom: 14px;
}
.horses-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 18px;
}
.horse-item {
  text-align: center; cursor: pointer; position: relative;
  outline: none; border-radius: var(--radius-sm); padding: 4px;
  transition: transform .12s;
}
.horse-item:hover, .horse-item:focus { transform: translateY(-2px); }
.horse-item-photo-wrap { position: relative; display: inline-block; }
.horse-item-photo, .horse-item-placeholder {
  width: 100%; max-width: 110px; aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--border); margin: 0 auto;
  transition: border-color .12s;
}
.horse-item:hover .horse-item-photo,
.horse-item:focus .horse-item-photo { border-color: var(--gold); }
.horse-item-placeholder {
  background: var(--gold-pale); display: flex; align-items: center;
  justify-content: center; font-size: 2.6rem;
}
.horse-item-badge {
  position: absolute; bottom: 2px; right: 2px;
  font-size: .64rem; font-weight: 700; color: var(--gold-deep);
  background: var(--white); border: 1px solid var(--gold);
  padding: 1px 7px; border-radius: 10px;
}
.horse-item-name {
  font-size: .92rem; font-weight: 600; color: var(--navy-dark);
  margin-top: 8px;
}

/* Steckbrief-Popover */
.horse-card-pop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 260px; max-width: 82vw; z-index: 50;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg, 0 8px 28px rgba(0,0,0,.18));
  padding: 16px; text-align: left;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.horse-item:hover .horse-card-pop,
.horse-item:focus .horse-card-pop,
.horse-item:focus-within .horse-card-pop,
.horse-item.pop-open .horse-card-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.horse-card-pop::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: var(--white);
}
.horse-card-pop-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.horse-card-pop-img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); flex-shrink: 0;
}
.horse-card-pop-img-ph { background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.horse-card-pop-name { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); }
.horse-card-pop-tag {
  font-size: .74rem; font-weight: 600; color: var(--gold-deep);
  background: var(--gold-pale); border: 1px solid var(--gold);
  padding: 1px 8px; border-radius: 10px; display: inline-block; margin-top: 3px;
}
.horse-card-pop-tag-ride { color: var(--navy); background: var(--slate); border-color: var(--border); }
.horse-card-pop-facts { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.horse-card-pop-facts div { display: flex; justify-content: space-between; font-size: .86rem; }
.horse-card-pop-facts dt { color: var(--text-light); }
.horse-card-pop-facts dd { color: var(--text-dark); font-weight: 600; }
.horse-card-pop-desc {
  font-size: .85rem; color: var(--text-mid); line-height: 1.5;
  border-top: 1px solid var(--border); padding-top: 10px; margin: 0;
}

.horses-section { margin-bottom: 40px; }
.horses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.horse-showcase {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s;
}
.horse-showcase:hover { box-shadow: var(--shadow-md); }
.horse-photo { width: 100%; height: 160px; object-fit: cover; }
.horse-photo-placeholder {
  width: 100%; height: 160px; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.horse-info { padding: 16px; }
.horse-info h3 { margin-bottom: 4px; }

/* ── Badges ── */
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.badge-green  { background: #e6f4ea; color: #1b5e20; }
.badge-brown  { background: var(--gold-pale); color: #6b4e00; }
.badge-red    { background: #fde8e8; color: #7b1c1c; }
.badge-yellow { background: #fff8e1; color: #6b4e00; }
.badge-gray   { background: #f0f0f0; color: #555; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th {
  background: var(--navy-dark); color: var(--gold-pale);
  padding: 10px 14px; text-align: left; font-weight: 600; white-space: nowrap;
}
td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:hover td { background: #f0f4fc; }
tr:last-child td { border-bottom: none; }

/* ── Cards ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.card-title {
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy-dark);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

/* ── Stats Grid ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.stat-number { font-size: 2.2rem; font-family: var(--font-serif); color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: .85rem; color: var(--text-light); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark); color: rgba(253,244,212,.7);
  padding: 20px; text-align: center; font-size: .84rem; margin-top: auto;
}
.site-footer a { color: var(--gold-pale); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

/* ── Admin specifics ── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-nav-sidebar { width: 100%; min-height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .admin-main { padding: 16px; }
}

/* ── Login ── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-dark); padding: 20px; }
.login-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); text-align: center; }
.login-logo { margin-bottom: 24px; }
.login-logo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.login-card h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login-card p { color: var(--text-light); margin-bottom: 28px; font-size: .9rem; }

/* ── Notification ── */
.notif-badge { display: inline-flex; align-items: center; justify-content: center; background: #e53935; color: var(--white); font-size: .7rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; margin-left: 6px; }

/* ── Toast ── */
.toast-container { position: fixed; top: 80px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--navy-dark); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .9rem; pointer-events: all; animation: slideIn .2s ease; border-left: 3px solid var(--gold); }
.toast.error { background: #c0392b; border-left-color: #ff8a80; }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Responsive ── */
@media (max-width: 600px) {
  .main-content { padding: 20px 14px 40px; }
  .horse-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .header-inner { flex-wrap: wrap; min-height: auto; padding: 10px 14px; }
  .logo-text { font-size: .92rem; }
  .cal-day { width: 32px; height: 32px; font-size: .86rem; }
}
