/*
 * Ernährungs- & Gewichts-Tracker — Stylesheet
 * Mobile-First, responsive, mit Hell-/Dunkel-Theme über CSS-Variablen.
 * Kein Framework (kein Bootstrap/Tailwind) — bewusst schlank gehalten.
 */

:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-border: #d0d5dd;
  --color-text: #101828;
  --color-text-muted: #667085;
  --color-primary: #1c6e4a;
  --color-primary-dark: #14533a;
  --color-danger: #d92d20;
  --color-danger-bg: #fef3f2;
  --color-info-bg: #eef4ff;
  --color-info-text: #1849a9;
  --color-success-bg: #ecfdf3;
  --color-success-text: #067647;
  --color-error-bg: #fef3f2;
  --color-error-text: #b42318;
  --color-warning-bg: #fef6e7;
  --color-warning-text: #93650b;
  --color-protein: #6941c6;
  --color-carbs: #1570ef;
  --color-fat: #dc6803;
  --chart-line: #1c6e4a;
  --chart-grid: #e4e7ec;
  --chart-text: #667085;
  --chart-target: #d92d20;
  --chart-bar: #1c6e4a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --nav-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #101317;
    --color-surface: #1a1f26;
    --color-border: #2d3440;
    --color-text: #f2f4f7;
    --color-text-muted: #98a2b3;
    --color-primary: #34c785;
    --color-primary-dark: #1c6e4a;
    --color-danger: #f97066;
    --color-danger-bg: #3a1a17;
    --color-info-bg: #142438;
    --color-info-text: #84caff;
    --color-success-bg: #12261e;
    --color-success-text: #75e0a7;
    --color-error-bg: #3a1a17;
    --color-error-text: #fda29b;
    --color-warning-bg: #3a2c12;
    --color-warning-text: #f7c948;
    --chart-line: #34c785;
    --chart-grid: #2d3440;
    --chart-text: #98a2b3;
    --chart-target: #f97066;
    --chart-bar: #34c785;
  }
}

:root[data-theme="dark"] {
  --color-bg: #101317;
  --color-surface: #1a1f26;
  --color-border: #2d3440;
  --color-text: #f2f4f7;
  --color-text-muted: #98a2b3;
  --color-primary: #34c785;
  --color-primary-dark: #1c6e4a;
  --color-danger: #f97066;
  --color-danger-bg: #3a1a17;
  --color-info-bg: #142438;
  --color-info-text: #84caff;
  --color-success-bg: #12261e;
  --color-success-text: #75e0a7;
  --color-error-bg: #3a1a17;
  --color-error-text: #fda29b;
  --color-warning-bg: #3a2c12;
  --color-warning-text: #f7c948;
  --chart-line: #34c785;
  --chart-grid: #2d3440;
  --chart-text: #98a2b3;
  --chart-target: #f97066;
  --chart-bar: #34c785;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1 { font-size: 1.375rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.75rem; }
a { color: var(--color-primary); }
.muted { color: var(--color-text-muted); font-size: 0.875rem; }
hr { border: none; border-top: 1px solid var(--color-border); margin: 1rem 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Layout --- */
.app-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1rem calc(var(--nav-height) + env(safe-area-inset-bottom) + 1.5rem);
}
.app-main.has-nav { padding-top: 0.5rem; }
.page { padding-bottom: 1rem; }

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-header__brand { font-weight: 700; text-decoration: none; color: var(--color-text); }
.app-header__menu-toggle { display: none; }

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  /* box-sizing: border-box (siehe oben) zieht padding von der Höhe ab —
     ohne die Extra-Höhe hier würde padding-bottom (Safe-Area-Inset auf
     Geräten mit Home-Indicator) Icon+Label sonst zusammenquetschen und
     unten aus der Leiste herauslaufen lassen, statt zusätzlichen Raum
     unterhalb davon zu schaffen. */
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  z-index: 10;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.7rem;
}
.bottom-nav a .icon { width: 1.3rem; height: 1.3rem; flex: none; }
.bottom-nav a:hover, .bottom-nav a:focus-visible { color: var(--color-primary); }

.offline-banner {
  background: var(--color-danger-bg);
  color: var(--color-error-text);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
}

/* --- Cards & forms --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 1rem;
}

form label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0.75rem 0 0.25rem; }
form label:first-of-type { margin-top: 0; }
input, select, textarea, button {
  font: inherit;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
}
/* Ein natives <input type="date"> hat immer nur so viel sichtbaren
   Inhalt wie "TT.MM.JJJJ" + Kalender-Icon — bei width: 100% in einer
   breiten Karte oder gestapelten Formularzeile (siehe
   .form-row--stack-mobile) wirkt es dadurch unnötig "leer"
   in die Breite gezogen. Eine Obergrenze lässt es kompakt und
   proportional zu seinem tatsächlichen Inhalt aussehen, unabhängig
   davon, wie breit das umgebende Element ist. */
input[type="date"] { max-width: 200px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-row { display: flex; gap: 0.75rem; align-items: end; }
/* min-width: 0 überschreibt die Flexbox-Standardvorgabe (min-width: auto),
   die ein Kindelement sonst nie unter seine intrinsische Inhaltsbreite
   schrumpfen lässt. Ohne das hier behält z. B. ein natives
   <input type="date"> auf mobilen Browsern (eigene Mindestbreite für
   Tag/Monat/Jahr) stur seine volle Breite und überlappt das
   Nachbarfeld, statt sich der verfügbaren Breite anzupassen. */
.form-row > * { flex: 1; min-width: 0; }
/* Auf schmalen Handy-Breiten reicht der Platz für zwei beschriftete
   Felder nebeneinander (z. B. Datum + Gewicht) oft trotzdem nicht für
   eine wirklich komfortable Eingabe — hier stapeln wir stattdessen
   sauber untereinander (siehe .form-row--stack-mobile in den
   Templates, wo das gewünscht ist). */
@media (max-width: 480px) {
  .form-row--stack-mobile { flex-direction: column; align-items: stretch; }
}
.checkbox-row { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.checkbox-row input { width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn--primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn--danger { background: var(--color-danger); border-color: var(--color-danger); color: #fff; }
.btn--block { display: flex; width: 100%; margin-top: 1rem; }
.btn--small { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
.btn--icon { padding: 0.4rem 0.55rem; background: transparent; border-color: transparent; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.alert { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert--error { background: var(--color-error-bg); color: var(--color-error-text); }
.alert--success { background: var(--color-success-bg); color: var(--color-success-text); }
.alert--info { background: var(--color-info-bg); color: var(--color-info-text); }

.flash-container { margin-bottom: 1rem; }
.flash { padding: 0.65rem 1rem; border-radius: 8px; margin-bottom: 0.5rem; font-size: 0.9rem; }
.flash--success { background: var(--color-success-bg); color: var(--color-success-text); }
.flash--error { background: var(--color-error-bg); color: var(--color-error-text); }

.badge { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 999px; vertical-align: middle; margin-left: 0.35rem; }
.badge--warning { background: var(--color-warning-bg); color: var(--color-warning-text); }
.badge--neutral { background: var(--color-border); color: var(--color-text-muted); }

/* --- Auth --- */
.auth-page { display: flex; justify-content: center; padding-top: 2rem; }
.auth-card { width: 100%; max-width: 400px; }

/* --- Stat cards --- */
.stat-card-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stat-card { flex: 1 1 45%; display: flex; flex-direction: column; gap: 0.15rem; }
.stat-card__label { font-size: 0.75rem; color: var(--color-text-muted); }
.stat-card__value { font-size: 1.15rem; font-weight: 700; }

/* --- Streak-Hinweis auf dem Dashboard: bewusst zurückhaltend (eine
   ruhige Zeile, kein Badge-Regal, keine Animation) --- */
.streak-card { padding: 0.85rem 1rem; }
.streak-card__row { display: flex; align-items: center; gap: 0.6rem; }
.streak-card__icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--color-primary); }
.streak-card__value { font-size: 1.15rem; font-weight: 700; margin-right: 0.35rem; }
.streak-card__label { font-size: 0.85rem; color: var(--color-text-muted); }
.streak-card__note { margin: 0.35rem 0 0; font-size: 0.75rem; }
.streak-card__start { margin: 0; font-size: 0.875rem; color: var(--color-text-muted); }

/* --- Entry lists --- */
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-list__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}
.entry-list__item:last-child { border-bottom: none; }
.entry-list__item > span:first-child { flex: 1; }
.entry-list__note { display: block; font-size: 0.75rem; color: var(--color-text-muted); }
.chart-legend { font-size: 0.75rem; margin-top: 0.5rem; margin-bottom: 0; }

.ai-nutrition { margin: 0.5rem 0 1rem; }
.ai-nutrition-status { margin: 0.4rem 0 0; font-size: 0.8rem; }
.ai-nutrition-status--loading { color: var(--color-text-muted); }
.ai-nutrition-status--success { color: var(--color-success-text); }
.ai-nutrition-status--error { color: var(--color-error-text); }
.entry-list__item form { margin: 0; }

/* --- Rezeptvorschläge (eigene Rezepte im Budget + KI-Vorschläge) --- */
.recipe-suggestions__subtitle { margin: 0.9rem 0 0.5rem; font-size: 0.85rem; color: var(--color-text-muted); }
.recipe-suggestions__subtitle:first-of-type { margin-top: 0.2rem; }
.recipe-suggestions__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.recipe-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.recipe-suggestion-item__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.recipe-suggestion-item__name { font-size: 0.9rem; font-weight: 600; }
.recipe-suggestion-item__description { font-size: 0.78rem; color: var(--color-text-muted); }
.recipe-suggestion-item__meta { font-size: 0.75rem; color: var(--color-text-muted); }
.recipe-suggestion-item form { margin: 0; flex-shrink: 0; }
.ai-recipe-suggestions { margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--color-border); }
.ai-recipe-suggestions__controls { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ai-recipe-suggestions__controls label { font-size: 0.8rem; color: var(--color-text-muted); }
.ai-recipe-suggestions__controls select { width: auto; }

/* --- Foto-Erfassung einer Mahlzeit --- */
.meal-photo-preview {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin: 0.6rem 0;
}
.meal-photo-items { list-style: none; margin: 0.5rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.meal-photo-item { padding: 0.6rem 0.7rem; border: 1px solid var(--color-border); border-radius: 10px; }
.meal-photo-item__header { margin-bottom: 0.3rem; }
.meal-photo-item__name { flex: 1; width: auto; font-weight: 600; }
.meal-photo-item__description { margin: 0 0 0.4rem; }
.meal-photo-item__fields { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.meal-photo-item__field { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 70px; }
.meal-photo-item__field span { font-size: 0.72rem; color: var(--color-text-muted); }
.meal-photo-item__field input { width: 100%; padding: 0.3rem 0.4rem; }

.meal-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.meal-card__header h2 { margin: 0; }

.date-nav { display: flex; align-items: center; justify-content: space-between; }
.date-nav__label { font-weight: 600; }

/* --- Tabs --- */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.tabs__tab {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text-muted);
}
.tabs__tab.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* --- Barcode scanner ---
   #scanner-reader wird von der vendorten html5-qrcode-Bibliothek
   selbst befüllt (Video-Element, Scan-Region-Overlay) und dabei in
   der Höhe passend zur Video-Quelle skaliert — daher hier bewusst
   KEIN festes aspect-ratio/height erzwingen, nur Breite/Optik. */
.scanner-container {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.scanner-container video { width: 100%; height: auto; display: block; }
.manual-barcode-entry { margin-top: 1rem; border-top: 1px solid var(--color-border); padding-top: 0.75rem; }

/* --- Produktvorschläge (eigene Produkte / kürzlich & häufig gegessen) --- */
.food-suggestions { padding: 0.85rem 1rem; }
.food-suggestions__title { margin: 0 0 0.6rem; font-size: 0.95rem; }
.food-suggestions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.food-suggestions__list li { flex: 0 0 auto; }
.food-suggestion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 140px;
  max-width: 200px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.food-suggestion:hover, .food-suggestion:focus-visible { border-color: var(--color-primary); }
.food-suggestion__badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--color-info-bg);
  color: var(--color-info-text);
  white-space: nowrap;
}
.food-suggestion--custom .food-suggestion__badge { background: var(--color-success-bg); color: var(--color-success-text); }
.food-suggestion--yesterday .food-suggestion__badge { background: var(--color-info-bg); color: var(--color-info-text); }
.food-suggestion--frequent .food-suggestion__badge { background: var(--color-warning-bg); color: var(--color-warning-text); }
.food-suggestion--previous .food-suggestion__badge { background: var(--color-border); color: var(--color-text-muted); }
.food-suggestion__name {
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.food-suggestion__meta { font-size: 0.75rem; color: var(--color-text-muted); }

/* --- Macro bars --- */
.macro-bars { display: flex; flex-direction: column; gap: 0.6rem; }
.macro-bar { display: grid; grid-template-columns: 90px 1fr 84px; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.macro-bar > span:last-child { text-align: right; line-height: 1.3; }
.macro-bar__track { height: 8px; background: var(--color-bg); border-radius: 4px; overflow: hidden; }
.macro-bar__fill { height: 100%; border-radius: 4px; }
.macro-bar__fill--protein { background: var(--color-protein); }
.macro-bar__fill--carbs { background: var(--color-carbs); }
.macro-bar__fill--fat { background: var(--color-fat); }

/* --- Calorie summary ring (Dashboard) ---
   Echtes Donut-Diagramm (Conic-Gradient-Ring mit ausgestanzter Mitte
   statt gefüllter Torte): Zahl/Label liegen dadurch immer auf der
   Card-Fläche (--color-surface) statt direkt auf der grün/grauen
   Ringfarbe, was in beiden Themes zuverlässig ausreichend Kontrast
   sicherstellt — unabhängig davon, wie groß der grüne Anteil gerade
   ist (vorher: Text teils auf mittelgrünem Segment, dort < 3:1
   Kontrast in beiden Themes). */
.calorie-summary { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.calorie-summary__ring {
  --progress: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: conic-gradient(var(--color-primary) calc(var(--progress) * 1%), var(--color-border) 0);
  flex-shrink: 0;
  position: relative;
}
.calorie-summary__ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--color-surface);
  z-index: 0;
}
.calorie-summary__value { position: relative; z-index: 1; font-size: 1.4rem; font-weight: 700; }
.calorie-summary__label { position: relative; z-index: 1; font-size: 0.75rem; color: var(--color-text-muted); }
.calorie-summary__meta { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-width: 160px; }
.calorie-summary__meta div { display: flex; justify-content: space-between; font-size: 0.875rem; }
.calorie-summary__meta dt { color: var(--color-text-muted); font-weight: 400; }
.calorie-summary__meta dd { margin: 0; font-weight: 700; }

/* --- FAB --- */
.fab {
  position: fixed;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 1rem);
  right: 1rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 9;
}

/* --- Settings danger zone --- */
.danger-zone { margin-top: 1rem; border: 1px solid var(--color-danger); border-radius: 8px; padding: 0.75rem; }
.danger-zone summary { cursor: pointer; font-weight: 600; color: var(--color-danger); }

/* --- Recipe builder / search --- */
.search-results {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--color-surface);
}
.search-results li { padding: 0.5rem 0.75rem; cursor: pointer; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
.search-results li:last-child { border-bottom: none; }
.search-results li:hover, .search-results li:focus { background: var(--color-bg); }
.recipe-item-row { align-items: center; margin-bottom: 0.5rem; }
.recipe-item-row__name { flex: 2; font-size: 0.875rem; }

/* --- Responsive: tablet/desktop --- */
@media (min-width: 720px) {
  .app-main { padding-top: 1.5rem; }
  .bottom-nav { position: static; height: auto; border-top: none; border-bottom: 1px solid var(--color-border); }
  .bottom-nav a { flex-direction: row; font-size: 0.85rem; padding: 0.5rem 0; }
  .app-main.has-nav { padding-top: 1.5rem; }
  .fab { display: none; } /* Desktop nutzt den "Hinzufügen"-Button in den Meal-Cards */
}

/* --- Ausrichtung auf Hochformat sperren (mobile Endgeräte) ---
 * Die App ist konsequent für Hochformat gestaltet (untere
 * Navigationsleiste, gestapelte Karten) — im Querformat wäre kaum
 * mehr nutzbar sichtbar. manifest.json setzt zwar bereits
 * "orientation": "portrait-primary" und assets/js/app.js versucht
 * zusätzlich screen.orientation.lock('portrait') (siehe dort), aber
 * beides wird von iOS Safari/Home-Bildschirm-Apps bislang nicht
 * respektiert. Deshalb hier zusätzlich der klassische, plattform-
 * unabhängige CSS-Dreh-Trick: den gesamten Seiteninhalt bei
 * Querformat einfach optisch wieder um 90° zurückdrehen. "hover:
 * none" + "pointer: coarse" grenzt gezielt auf Touch-Geräte ohne Maus
 * ein (Telefone/Tablets), damit ein quer/breit gezogenes
 * Desktop-Browserfenster davon unberührt bleibt. */
@media screen and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
