/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f4f0;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e0ddd6;
  --accent: #e07b00;
  --highlight-bg: #fff8e1;
  --highlight-border: #f9a825;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 18px rgba(0,0,0,0.13);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Header ─────────────────────────────────────────── */
header {
  background: #1a1a1a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-area .subtitle {
  font-size: 0.8rem;
  color: #aaa;
  display: block;
  margin-top: 1px;
}

.site-logo {
  height: 68px;
  width: auto;
  display: block;
}

.admin-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 12px;
  border: 1px solid #444;
  border-radius: 6px;
  transition: all 0.2s;
}
.admin-link:hover { color: #fff; border-color: #777; }

/* ── Week Nav ────────────────────────────────────────── */
.week-nav {
  width: 100%;
  padding: 0 0 10px;
  display: flex;
  gap: 4px;
  align-items: stretch;
}

.week-nav .week-day {
  flex: 1;
  background: none;
  border: none;
  color: #aaa;
  padding: 8px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.week-nav .week-day .day-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
.week-nav .week-day .day-date { font-size: 0.88rem; font-weight: 600; }

.week-nav .week-day:hover { background: rgba(255,255,255,0.1); color: #fff; }
.week-nav .week-day.active { background: var(--accent); color: #fff; }
.week-nav .week-day.today { border-bottom: 2px solid var(--accent); }

.week-nav .week-arrow {
  background: none;
  border: none;
  color: #777;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.week-nav .week-arrow:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ── Restaurant Nav ──────────────────────────────────── */
.restaurant-nav-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8px 12px;
}
.restaurant-nav-wrap::before,
.restaurant-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 12px;
  width: 40px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.restaurant-nav-wrap::before {
  left: 0;
  background: linear-gradient(to right, #1a1a1a, rgba(26,26,26,0));
}
.restaurant-nav-wrap::after {
  right: 0;
  background: linear-gradient(to left, #1a1a1a, rgba(26,26,26,0));
}
.restaurant-nav-wrap.can-scroll-left::before { opacity: 1; }
.restaurant-nav-wrap.can-scroll-right::after { opacity: 1; }

.restaurant-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  padding: 0;
}
.restaurant-nav-arrow:hover { background: rgba(255,255,255,0.2); }
.restaurant-nav-arrow.left { left: 4px; }
.restaurant-nav-arrow.right { right: 4px; }
.restaurant-nav-wrap.can-scroll-left .restaurant-nav-arrow.left { opacity: 1; }
.restaurant-nav-wrap.can-scroll-right .restaurant-nav-arrow.right { opacity: 1; }

.restaurant-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 0 16px 4px;
  margin: 0 -8px;
  scrollbar-width: none;
}
.restaurant-nav::-webkit-scrollbar { display: none; }
.restaurant-nav button { scroll-snap-align: start; }

.restaurant-nav button {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 60px;
  min-width: 80px;
}

.restaurant-nav button img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(1.1);
}

.restaurant-nav button .logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.restaurant-nav button .logo-stack img {
  height: 18px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(1.1);
}

.restaurant-nav button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.restaurant-nav button.active {
  opacity: 1;
}

/* ── Main ────────────────────────────────────────────── */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 24px;
}

.loading {
  text-align: center;
  color: var(--text-muted);
  padding: 60px;
  font-size: 1.1rem;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
}
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* ── Restaurant Section ──────────────────────────────── */
.restaurant-section {
  margin-bottom: 40px;
}

.restaurant-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.restaurant-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.restaurant-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.meal-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 20px;
}

.map-link {
  margin-left: auto;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.map-link:hover {
  color: var(--accent);
  background: rgba(224, 123, 0, 0.08);
}

/* ── Meals Grid ──────────────────────────────────────── */
.meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ── Meal Card ───────────────────────────────────────── */
.meal-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.meal-card.highlighted {
  border: 2px solid var(--highlight-border);
  background: var(--highlight-bg);
}

.meal-card.manual {
  border-left: 4px solid var(--accent);
}

/* Card image */
.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.card-image-placeholder {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.8);
}

/* Category label */
.card-category {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
}

/* Card body */
.card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Card footer */
.card-footer {
  padding: 8px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.card-allergens {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* ── Badges ──────────────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-vegan     { background: #e8f5e9; color: #2e7d32; }
.badge-vegetarisch { background: #f3e5f5; color: #6a1b9a; }
.badge-bio       { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.badge-lowcarb   { background: #e3f2fd; color: #1565c0; }
.badge-protein   { background: #fff3e0; color: #e65100; }
.badge-highlight { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }
.badge-manual    { background: #fce4ec; color: #c62828; }

/* ── Card image wrap (used when image present) ───────── */
.card-image-wrap {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
}
.card-image-wrap .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ── Category block ──────────────────────────────────── */
.category-block {
  margin-bottom: 20px;
}

.category-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 0 0 10px;
  padding: 7px 0 7px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-heading.clickable {
  cursor: pointer;
  user-select: none;
}
.category-heading.clickable:hover { color: var(--text); }

.cat-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.cat-count {
  margin-left: auto;
  font-size: 0.7rem;
  background: var(--border);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* Collapsed: show pill summary, hide cards */
.cat-summary {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 4px;
}

.category-block.collapsed .cat-summary { display: flex; }
.category-block.collapsed .cat-cards   { display: none; }

.cat-name-pill {
  font-size: 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-name-pill:hover { border-color: #aaa; }

/* ── Map Widget ─────────────────────────────────────── */
.map-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.map-widget-iframe {
  display: block;
  width: 100%;
  height: 220px;
}

.map-widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.map-widget-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.map-widget-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.map-widget-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(224,123,0,0.05);
}

/* ── Filters ─────────────────────────────────────────── */
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.83rem;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Modal ───────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.modal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}

.modal-body {
  padding: 20px 22px 24px;
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.modal-restaurant {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  white-space: pre-line;
  margin-bottom: 16px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.modal-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.allergen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.allergen-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #555;
}

/* ── Admin ───────────────────────────────────────────── */
.admin-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-header h1 { font-size: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c96d00; }
.btn-secondary { background: #f0f0f0; color: #333; }
.btn-secondary:hover { background: #e0e0e0; }
.btn-danger { background: #c62828; color: #fff; }
.btn-danger:hover { background: #a71d1d; }
.btn-success { background: #2e7d32; color: #fff; }
.btn-success:hover { background: #1b5e20; }
.btn-sm { padding: 5px 12px; font-size: 0.8rem; }

.admin-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-card h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
}

input[type="text"], input[type="date"], select, textarea {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,123,0,0.15);
}

textarea { resize: vertical; min-height: 60px; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.88rem;
}

.allergen-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.allergen-checkboxes label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  padding: 3px 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 400;
}

.allergen-checkboxes input:checked + span { font-weight: 700; color: #c62828; }

/* Meal table */
.meal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.meal-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 2px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.meal-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.meal-table tr:last-child td { border-bottom: none; }
.meal-table tr:hover td { background: #fafafa; }

.highlight-star {
  color: #f9a825;
  font-size: 1.1rem;
}

/* Login page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-box {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}

.login-box h1 { font-size: 1.4rem; margin-bottom: 6px; }
.login-box p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; }

.login-box input {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 14px;
}

.error-msg {
  background: #fce4ec;
  color: #c62828;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 300;
  animation: slideUp 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.toast.success { background: #2e7d32; }
.toast.error { background: #c62828; }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .header-inner { padding: 10px 16px 8px; }
  .site-logo { height: 54px; }

  .restaurant-nav { padding: 0 16px 10px; }
  .restaurant-nav button { height: 54px; padding: 5px 10px; min-width: 60px; }
  .restaurant-nav button img { height: 40px; max-width: 110px; }
  .restaurant-nav button .logo-stack img { height: 14px; }
  .restaurant-nav-arrow { display: none; }

  main { padding: 20px 16px; }
  .meals-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  /* Header */
  .header-inner { padding: 8px 14px; gap: 8px; }
  .site-logo { height: 44px; }
  .admin-link { font-size: 0.72rem; padding: 4px 8px; }

  /* Week nav — bigger touch targets */
  .week-nav { padding: 0 0 8px; gap: 1px; }
  .week-nav .week-day { padding: 8px 2px; font-size: 0.78rem; min-height: 44px; }
  .week-nav .week-day .day-label { font-size: 0.65rem; }
  .week-nav .week-arrow { padding: 0 8px; font-size: 1.6rem; min-height: 44px; }

  /* Restaurant nav — compact */
  .restaurant-nav { padding: 0 14px 8px; gap: 4px; }
  .restaurant-nav button { height: 46px; padding: 3px 8px; min-width: 50px; }
  .restaurant-nav button img { height: 34px; max-width: 90px; }
  .restaurant-nav button .logo-stack img { height: 11px; }

  /* Main content */
  main { padding: 12px; }
  .meals-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Filters — horizontal scroll instead of wrapping */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-label { flex-shrink: 0; }
  .filter-btn { flex-shrink: 0; padding: 7px 14px; min-height: 36px; }

  /* Map widget */
  .map-widget-iframe { height: 160px; }

  /* Cards */
  .card-image, .card-image-wrap { height: 130px; }
  .card-name { font-size: 0.93rem; }

  /* Restaurant header */
  .restaurant-header h2 { font-size: 1.1rem; }
  .restaurant-section { margin-bottom: 28px; }

  /* Cat pills */
  .cat-name-pill { max-width: 200px; }

  /* Modal — bottom sheet */
  .modal { align-items: flex-end; padding: 0; }
  .modal-box {
    border-radius: 18px 18px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    animation: slideUpSheet 0.28s ease;
  }
  .modal-close { width: 36px; height: 36px; top: 12px; right: 12px; }
  .modal-image { border-radius: 18px 18px 0 0; height: 170px; }
  .modal-name { font-size: 1.15rem; }

  /* Toast — full width */
  .toast { bottom: 0; right: 0; left: 0; border-radius: 0; text-align: center; }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* Admin login page */
.login-submit-btn { width: 100%; justify-content: center; }
.login-back-row { text-align: center; margin-top: 16px; }
.login-back-link { color: #999; font-size: 0.85rem; text-decoration: none; }
