/* === Fleet-Hub Offsite 2026 - Styles === */
:root {
  --primary: #009fe3;
  --primary-dark: #0082b8;
  --secondary: #132c46;
  --bg: #f5f7fa;
  --bg-alt: #edf1f7;
  --white: #ffffff;
  --text: #1a2332;
  --text-light: #5a6a7e;
  --border: #dde3ed;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(19,44,70,0.08);
  --shadow-lg: 0 8px 32px rgba(19,44,70,0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Login Overlay === */
.login-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
}
.login-box {
  text-align: center; color: var(--white); padding: 48px;
  max-width: 420px; width: 100%;
}
.login-logo { width: 200px; margin-bottom: 24px; }
.login-box h2 { font-size: 1.8rem; margin-bottom: 8px; }
.login-box p { color: rgba(255,255,255,0.7); margin-bottom: 20px; font-size: 0.9rem; }
.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); background: rgba(255,255,255,0.1);
  color: var(--white); font-size: 14px; margin-bottom: 10px; box-sizing: border-box;
}
.login-box input::placeholder { color: rgba(255,255,255,0.4); }
.login-box .btn { margin-top: 8px; }
.login-switch { margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.login-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }
.login-switch a:hover { text-decoration: underline; }
.login-error { color: #f87171; font-size: 0.85rem; margin-top: 12px; min-height: 20px; }
.nav-logout {
  background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 0.85rem; opacity: 0.7;
  transition: all 0.2s;
}
.nav-logout:hover { opacity: 1; border-color: #f87171; color: #f87171; }
.user-badge {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 10px;
  background: rgba(0,159,227,0.15); color: var(--primary); font-weight: 500;
}

/* === Navigation === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--secondary); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo img { height: 36px; }
.nav-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 24px; cursor: pointer;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none; padding: 8px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 500; transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cart {
  position: relative; background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 20px; cursor: pointer; padding: 4px 8px; margin-left: 4px; transition: all 0.2s;
}
.nav-cart:hover { color: var(--white); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--primary); color: var(--white);
  font-size: 10px; font-weight: 700; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-badge.empty { display: none; }
.nav-user {
  color: var(--primary); font-weight: 600; font-size: 13px;
  margin-left: 12px; padding: 6px 14px;
  background: rgba(0,159,227,0.15); border-radius: 20px;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--secondary); flex-direction: column; padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
}

/* === Hero === */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(19,44,70,0.85) 0%, rgba(0,159,227,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; color: var(--white); padding: 24px;
}
.hero-logo { width: 220px; margin-bottom: 24px; drop-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero h1 { font-size: 4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.hero-subtitle { font-size: 1.4rem; font-weight: 300; opacity: 0.9; margin-bottom: 4px; }
.hero-date {
  font-size: 1.1rem; font-weight: 600; opacity: 0.8;
  margin-bottom: 48px; letter-spacing: 2px;
}

.countdown { display: flex; gap: 24px; justify-content: center; }
.countdown-item {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  padding: 20px 24px; border-radius: var(--radius);
  min-width: 90px; text-align: center;
}
.countdown-item span { display: block; font-size: 2.4rem; font-weight: 800; }
.countdown-item small { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

@media (max-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .countdown { gap: 12px; }
  .countdown-item { padding: 12px 14px; min-width: 65px; }
  .countdown-item span { font-size: 1.6rem; }
}

/* === Sections === */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 2rem; font-weight: 700; color: var(--secondary);
  margin-bottom: 8px; text-align: center;
}
.section-desc {
  color: var(--text-light); text-align: center;
  margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* === Welcome === */
.welcome-text {
  font-size: 1.15rem; color: var(--text-light); text-align: center;
  max-width: 700px; margin: 16px auto 40px; line-height: 1.8;
}
.team-image-row { text-align: center; }
.team-photo {
  width: 100%; max-width: 800px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* === Location === */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-card {
  background: var(--white); padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.info-card h3 { color: var(--secondary); font-size: 1rem; margin-bottom: 8px; }
.info-card p { font-size: 0.95rem; margin-bottom: 4px; }
.amenities-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.amenity {
  background: var(--bg); padding: 6px 12px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 500;
}
.location-map { min-height: 400px; border-radius: var(--radius); overflow: hidden; }
.text-muted { color: var(--text-light); font-size: 0.9rem; }

@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; } }

/* === Gallery === */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white);
  padding: 24px 16px 12px; font-size: 0.85rem; font-weight: 600;
}
.gallery-large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.grundriss-container { text-align: center; margin-top: 48px; }
.grundriss-container h3 { margin-bottom: 16px; color: var(--secondary); }
.grundriss-wrapper { position: relative; display: inline-block; max-width: 600px; width: 100%; }
.grundriss-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-large { grid-column: span 2; }
}

/* === Lightbox === */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; background: none;
  border: none; color: var(--white); font-size: 2rem; cursor: pointer;
}

/* === Rooms === */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.room-card {
  background: var(--white); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); border-left: 4px solid var(--success); transition: all 0.2s;
}
.room-card.partial { border-left-color: var(--warning); }
.room-card.full { border-left-color: var(--danger); }
.room-card h4 { color: var(--secondary); margin-bottom: 4px; }
.room-card .room-beds { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.room-card .room-status { font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; }
.room-occupants { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.room-occupant {
  background: var(--bg); padding: 4px 10px; border-radius: 16px;
  font-size: 0.8rem; font-weight: 500;
}
.room-btn {
  width: 100%; padding: 10px; border: 2px dashed var(--border); border-radius: 8px;
  background: none; cursor: pointer; color: var(--primary); font-weight: 600;
  font-size: 0.85rem; transition: all 0.2s;
}
.room-btn:hover { background: rgba(0,159,227,0.1); border-color: var(--primary); }
.room-btn.leave { border-style: solid; color: var(--danger); border-color: var(--danger); }
.room-btn.leave:hover { background: rgba(239,68,68,0.1); }

/* === Meals Calendar === */
.meals-calendar {
  display: grid;
  grid-template-columns: 100px repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 24px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.meals-cal-header {
  background: var(--secondary); color: var(--white);
  padding: 12px 8px; text-align: center; font-weight: 700; font-size: 0.85rem;
}
.meals-cal-header small { display: block; font-weight: 400; opacity: 0.7; font-size: 0.75rem; }
.meals-cal-label {
  background: var(--secondary); color: var(--white);
  padding: 16px 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.8rem; text-align: center;
}
.meals-cal-label.frueh { background: #1a3a5c; }
.meals-cal-label.abend { background: #0d2238; }
.meals-cal-cell {
  background: var(--white); padding: 12px; min-height: 100px;
  display: flex; flex-direction: column; justify-content: center;
}
.meals-cal-cell.disabled {
  background: #f1f5f9; position: relative;
}
.meals-cal-cell.disabled::after {
  content: '—'; color: #cbd5e1; font-size: 1.5rem;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.meals-cal-cell .meal-chefs { font-size: 0.78rem; color: var(--text-light); margin-bottom: 2px; }
.meals-cal-cell .meal-dish { font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.meals-cal-cell .meal-ingredients { font-size: 0.72rem; color: var(--text-light); }
.meal-edit-btn {
  background: none; border: 2px dashed var(--border); border-radius: 8px;
  padding: 8px; width: 100%; cursor: pointer; color: var(--primary);
  font-size: 0.8rem; font-weight: 500; transition: all 0.2s;
}
.meal-edit-btn:hover { background: rgba(0,159,227,0.1); border-color: var(--primary); }

@media (max-width: 768px) {
  .meals-calendar {
    grid-template-columns: 60px repeat(4, 1fr);
    font-size: 0.75rem;
  }
  .meals-cal-header { padding: 8px 4px; font-size: 0.7rem; }
  .meals-cal-cell { padding: 6px; min-height: 70px; }
}

.shopping-list-bar { display: flex; gap: 12px; justify-content: center; }

/* === Drinks === */
.drinks-add { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.drinks-add input { flex: 1; min-width: 200px; }
.drinks-table table { width: 100%; border-collapse: collapse; }
.drinks-table th, .drinks-table td { padding: 10px 16px; text-align: left; }
.drinks-table th {
  background: var(--secondary); color: var(--white); font-size: 0.85rem;
  font-weight: 600;
}
.drinks-table th:first-child { border-radius: var(--radius) 0 0 0; }
.drinks-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.drinks-table tr:nth-child(even) { background: var(--white); }
.drinks-table tr:nth-child(odd) { background: var(--bg); }
.drinks-table td { font-size: 0.9rem; }

/* === Bringings === */
.bringings-add { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.bringings-add input { flex: 1; min-width: 250px; }
.bringings-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.bringing-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); padding: 8px 16px; border-radius: 24px;
  box-shadow: var(--shadow); font-size: 0.9rem;
}
.bringing-chip .bringing-who { color: var(--primary); font-weight: 600; font-size: 0.8rem; }
.bringing-chip .bringing-remove {
  background: none; border: none; color: var(--danger); cursor: pointer;
  font-size: 1rem; padding: 0 0 0 4px; line-height: 1;
}

/* === Events === */
.events-timeline { margin-top: 24px; }
.event-day-group { margin-bottom: 32px; }
.event-day-group h3 {
  font-size: 1rem; color: var(--secondary); padding-bottom: 8px;
  border-bottom: 2px solid var(--primary); margin-bottom: 12px;
}
.event-card {
  background: var(--white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.event-card-info h4 { color: var(--secondary); margin-bottom: 4px; }
.event-card-info .event-time { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.event-card-info .event-organizer { font-size: 0.78rem; color: var(--primary); font-weight: 500; margin-bottom: 2px; }
.event-card-info .event-desc { font-size: 0.85rem; color: var(--text-light); }
.event-participants { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.event-participant {
  background: var(--bg); padding: 3px 8px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 500;
}
.event-card-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

/* === Travel === */
.travel-form {
  background: var(--white); padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.travel-form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; align-items: flex-end; }
.travel-form-row > div { flex: 1; min-width: 150px; }
.travel-table table { width: 100%; border-collapse: collapse; }
.travel-table th, .travel-table td { padding: 10px 12px; text-align: left; font-size: 0.85rem; }
.travel-table th { background: var(--secondary); color: var(--white); font-weight: 600; }
.travel-table th:first-child { border-radius: var(--radius) 0 0 0; }
.travel-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.travel-table tr:nth-child(even) { background: var(--white); }
.travel-table tr:nth-child(odd) { background: var(--bg); }
.ride-btn { font-size: 0.75rem; }

/* === Music === */
.music-add { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.music-add input { flex: 1; min-width: 150px; }
.music-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.music-card {
  background: var(--white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center;
}
.music-card-info h4 { font-size: 0.95rem; color: var(--secondary); }
.music-card-info p { font-size: 0.85rem; color: var(--text-light); }
.music-card-info a { color: var(--primary); font-size: 0.8rem; text-decoration: none; }
.music-card-actions { display: flex; align-items: center; gap: 8px; }
.vote-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 2px solid var(--border); border-radius: 20px;
  padding: 6px 14px; cursor: pointer; font-weight: 600; color: var(--text-light);
  transition: all 0.2s;
}
.vote-btn:hover, .vote-btn.voted { border-color: var(--primary); color: var(--primary); background: rgba(0,159,227,0.1); }
.vote-btn .vote-count { font-size: 1rem; }

/* === Rules === */
.rules-list { max-width: 700px; margin: 0 auto; }
.rule-item {
  background: var(--white); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px; font-size: 0.95rem;
}
.rule-icon { font-size: 1.2rem; }

/* === Shop === */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.shop-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.shop-card img { width: 100%; height: 200px; object-fit: cover; background: var(--bg); }
.shop-card-body { padding: 16px; }
.shop-card-body h4 { color: var(--secondary); margin-bottom: 4px; }
.shop-card-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.shop-card-body .shop-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.shop-card-body .shop-stock { font-size: 0.78rem; color: #16a34a; margin-top: 4px; }
.shop-card-body .shop-stock.low { color: #ea580c; }
.shop-card-body .shop-stock.out { color: #dc2626; font-weight: 600; }
.shop-size-select {
  width: 100%; padding: 8px; margin-top: 8px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.85rem; background: var(--white);
}
.shop-card-body .shop-order-btn { margin-top: 8px; width: 100%; }
.shop-card-body .shop-order-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-item-size { font-size: 0.8rem; color: var(--primary); font-weight: 400; }

/* === Admin === */
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.admin-card {
  background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.admin-card h3 { color: var(--secondary); margin-bottom: 16px; }
.admin-add-user { display: flex; gap: 8px; margin-bottom: 16px; }
.admin-add-user input { flex: 1; }
.admin-user-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.admin-user-row .user-name { font-weight: 500; }
.admin-user-row .user-token {
  font-size: 0.75rem; color: var(--text-light); font-family: monospace;
  background: var(--bg); padding: 2px 8px; border-radius: 4px; max-width: 200px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.admin-user-actions { display: flex; gap: 6px; }

/* === Modals === */
.modal {
  display: none; position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center;
  padding: 24px;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--white); border-radius: var(--radius); width: 100%;
  max-width: 500px; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-lg { max-width: 700px; }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.1rem; color: var(--secondary); }
.modal-header button { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 24px; }
.modal-body label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--secondary); margin-bottom: 4px; margin-top: 12px; }
.modal-body label:first-child { margin-top: 0; }
.modal-actions { margin-top: 20px; display: flex; gap: 8px; justify-content: flex-end; }

/* === Cart === */
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.95rem; color: var(--secondary); margin-bottom: 2px; }
.cart-item-info .cart-item-price { font-size: 0.85rem; color: var(--text-light); }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
}
.cart-item-qty button {
  width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--border);
  background: var(--white); cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); transition: all 0.2s;
}
.cart-item-qty button:hover { border-color: var(--primary); color: var(--primary); }
.cart-item-qty span { font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none; border: none; color: var(--danger); cursor: pointer;
  font-size: 1.2rem; padding: 4px;
}
.cart-footer {
  margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-total { font-size: 1.1rem; color: var(--secondary); }

/* === Form Elements === */
input[type="text"], input[type="number"], input[type="date"], input[type="time"],
select, textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border: none; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: none; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(0,159,227,0.1); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; border-radius: 6px; }

/* === Ingredient Row === */
.ingredient-row { display: flex; gap: 8px; margin-bottom: 6px; align-items: center; }
.ingredient-row input { flex: 1; padding: 8px 10px; font-size: 0.85rem; }
.ingredient-row input:first-child { flex: 2; }
.ingredient-row button { flex-shrink: 0; background: none; border: none; cursor: pointer; color: var(--danger); font-size: 1.2rem; }

/* === Shopping List === */
.shopping-table { width: 100%; border-collapse: collapse; }
.shopping-table th, .shopping-table td { padding: 8px 12px; text-align: left; }
.shopping-table th { background: var(--secondary); color: var(--white); font-size: 0.85rem; }
.shopping-table th:first-child { border-radius: var(--radius) 0 0 0; }
.shopping-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.shopping-table tr:nth-child(even) { background: var(--bg); }
.shopping-table td { font-size: 0.9rem; }

/* === Footer === */
.footer {
  background: var(--secondary); color: var(--white); text-align: center;
  padding: 40px 24px;
}
.footer-logo { height: 44px; margin-bottom: 12px; }
.footer p { font-size: 0.9rem; margin-bottom: 4px; }
.footer .text-muted { color: rgba(255,255,255,0.5); }

/* === Toast Notification === */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 8000;
  background: var(--secondary); color: var(--white);
  padding: 12px 24px; border-radius: var(--radius); font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0; transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { animation: fadeInUp 0.6s ease-out; }

/* === Utility === */
.admin-only { }
.hidden { display: none !important; }
.copy-link {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg); padding: 4px 10px; border-radius: 6px;
  font-size: 0.75rem; cursor: pointer; border: 1px solid var(--border);
  color: var(--primary); font-weight: 600; transition: all 0.2s;
}
.copy-link:hover { background: rgba(0,159,227,0.1); border-color: var(--primary); }
