/* =========================================
   MANDA GÜEVOS — Global Styles
   ========================================= */

:root {
  --yolk: #f39c12;
  --yolk-dark: #e67e22;
  --yolk-light: #fef5e7;
  --green: #27ae60;
  --green-light: #eafaf1;
  --red: #e74c3c;
  --red-light: #fdedec;
  --blue: #2980b9;
  --blue-light: #ebf5fb;
  --shell: #fdf6e3;
  --brown: #8b6914;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #fffef9;
  --white: #ffffff;
  --border: #f0e6cc;
  --shadow: 0 4px 20px rgba(230, 126, 34, 0.12);
  --shadow-lg: 0 8px 40px rgba(230, 126, 34, 0.18);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  background: var(--white);
  border-bottom: 3px solid var(--yolk);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(243, 156, 18, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-egg { font-size: 2rem; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.brand-text {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: var(--yolk-dark);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-link:hover { background: var(--yolk-light); color: var(--yolk-dark); }

.nav-user {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yolk), var(--yolk-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5); }

.btn-secondary {
  background: linear-gradient(135deg, var(--green), #219a52);
  color: white;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.btn-secondary:hover { transform: translateY(-2px); }

.btn-outline-sm {
  background: transparent;
  border: 2px solid var(--yolk-dark);
  color: var(--yolk-dark);
  padding: 6px 14px;
  font-size: 0.85rem;
}
.btn-outline-sm:hover { background: var(--yolk-dark); color: white; }

.btn-primary-sm {
  background: linear-gradient(135deg, var(--yolk), var(--yolk-dark));
  color: white;
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-primary-sm:hover { transform: translateY(-2px); }

.btn-hero {
  background: white;
  color: var(--yolk-dark);
  padding: 16px 32px;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 16px 32px;
  font-size: 1.1rem;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); }

.btn-cta {
  background: white;
  color: var(--yolk-dark);
  padding: 18px 40px;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta:hover { transform: translateY(-3px); }

.btn-full { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }

.btn-cancel {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.btn-cancel:hover { background: var(--red); color: white; }

.btn-xs {
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
}
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: #219a52; }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #c0392b; }

/* =========================================
   ALERTS / FLASH
   ========================================= */
.alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.alert-success { background: var(--green-light); border-left: 4px solid var(--green); color: #1e8449; }
.alert-error { background: var(--red-light); border-left: 4px solid var(--red); color: #922b21; }
.alert-close {
  background: none; border: none; font-size: 1.2rem;
  cursor: pointer; opacity: 0.6; margin-left: 12px; line-height: 1;
}
.alert-close:hover { opacity: 1; }

/* =========================================
   FORMS
   ========================================= */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yolk);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.input-disabled {
  background: #f8f9fa !important;
  color: var(--text-light) !important;
  cursor: not-allowed;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }

.form-group small { color: var(--text-light); font-size: 0.8rem; }

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-control button {
  background: var(--yolk-light);
  border: none;
  padding: 12px 18px;
  font-size: 1.3rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--yolk-dark);
  transition: background 0.2s;
  line-height: 1;
}
.qty-control button:hover { background: var(--yolk); color: white; }
.qty-control input {
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  border-radius: 0;
  text-align: center;
  flex: 1;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 8px;
  min-width: 60px;
}
.qty-control input:focus { box-shadow: none; border-color: var(--border); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 40%, #d35400 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px; right: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -150px; left: -80px;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-title .highlight {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  z-index: 1;
}

.hero-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.3);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.egg-float {
  position: absolute;
  font-size: 3.5rem;
  animation: float linear infinite;
}
.egg-1 { top: 0; left: 50%; font-size: 4rem; animation-duration: 4s; animation-delay: 0s; }
.egg-2 { top: 30%; right: 0; font-size: 3rem; animation-duration: 5s; animation-delay: -1s; }
.egg-3 { bottom: 0; left: 50%; font-size: 3.5rem; animation-duration: 3.5s; animation-delay: -2s; }
.egg-4 { top: 60%; left: 0; font-size: 2.5rem; animation-duration: 4.5s; animation-delay: -0.5s; }
.egg-5 { top: 20%; left: 5%; font-size: 2rem; animation-duration: 3s; animation-delay: -1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-20px) rotate(5deg); }
  75% { transform: translateY(10px) rotate(-5deg); }
}

/* =========================================
   FEATURES STRIP
   ========================================= */
.features-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--brown);
  padding: 0;
}

.strip-item {
  color: var(--yolk-light);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.strip-item:last-child { border-right: none; }

/* =========================================
   ADVANTAGES SECTION
   ========================================= */
.advantages {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--yolk-dark);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 2px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--yolk);
}

.adv-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yolk-dark);
  margin-bottom: 10px;
}
.advantage-card p { color: var(--text-light); line-height: 1.7; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
  background: linear-gradient(135deg, var(--yolk-light), #fff3d4);
  padding: 80px 40px;
}
.how-it-works .section-header { max-width: 1200px; margin: 0 auto 48px; }

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yolk);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.step h3 { font-weight: 800; color: var(--text); margin-bottom: 8px; font-size: 1rem; }
.step p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

.step-arrow {
  font-size: 2rem;
  color: var(--yolk);
  font-weight: 800;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--yolk-dark), #c0392b 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: white;
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-eggs {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0.08;
  font-size: 4rem;
  pointer-events: none;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--brown);
  padding: 40px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer .brand-text { font-size: 1.8rem; }
.footer .brand-egg { font-size: 2rem; }
.footer .nav-brand { justify-content: center; margin-bottom: 12px; }

.footer-tagline {
  color: var(--yolk-light);
  margin-bottom: 8px;
}

.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* =========================================
   AUTH PAGES
   ========================================= */
.auth-page {
  display: flex;
  min-height: calc(100vh - 64px);
  flex: 1;
}

.auth-visual {
  flex: 1;
  background: linear-gradient(135deg, var(--yolk) 0%, var(--yolk-dark) 60%, #c0392b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-egg-display {
  text-align: center;
  z-index: 1;
}

.big-egg {
  font-size: 8rem;
  display: block;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.auth-tagline h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-tagline p { color: rgba(255,255,255,0.85); font-size: 1rem; }

.mini-eggs {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 2rem;
  margin-top: 24px;
  opacity: 0.8;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--shell);
}

.auth-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.auth-logo { font-size: 3rem; text-align: center; margin-bottom: 16px; }
.auth-title { text-align: center; font-size: 1.8rem; font-weight: 800; color: var(--yolk-dark); margin-bottom: 6px; }
.auth-subtitle { text-align: center; color: var(--text-light); margin-bottom: 24px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-hint {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 20px;
}

/* =========================================
   DASHBOARD
   ========================================= */
.dashboard-page { flex: 1; }

.dashboard-header {
  background: linear-gradient(135deg, var(--yolk), var(--yolk-dark));
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dash-header-content h1 { color: white; font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.dash-header-content p { color: rgba(255,255,255,0.85); }

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Stock */
.stock-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.stock-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.stock-updated { color: var(--text-light); font-size: 0.8rem; }

.stock-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stock-item {
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  border: 2px solid;
}
.stock-item.in-stock {
  background: linear-gradient(135deg, var(--green-light), #d5f5e3);
  border-color: #82e0aa;
}
.stock-item.out-of-stock {
  background: #f8f9fa;
  border-color: #dee2e6;
  opacity: 0.7;
}

.stock-icon { font-size: 2.5rem; }
.stock-qty { font-size: 2.5rem; font-weight: 900; color: var(--text); line-height: 1; }
.stock-label { font-size: 0.85rem; font-weight: 700; color: var(--text-light); margin-top: 2px; }
.stock-price { font-size: 1.1rem; font-weight: 800; color: var(--green); margin-top: 4px; }

.sold-out-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Reserve Card */
.reserve-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.reserve-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }

.reserve-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
}
.tab-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: #f8f9fa;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
}
.tab-btn.active { background: var(--yolk); color: white; }
.tab-btn:hover:not(.active) { background: var(--yolk-light); }

.tab-notice {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.tab-notice-current { background: var(--green-light); border-left: 4px solid var(--green); }
.tab-notice-future { background: var(--blue-light); border-left: 4px solid var(--blue); }

.reserve-form { display: flex; flex-direction: column; gap: 16px; }

.total-preview { min-height: 40px; }
.total-line {
  background: var(--yolk-light);
  border: 2px solid var(--yolk);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--yolk-dark);
}
.total-line small { display: block; font-weight: 600; color: var(--text-light); font-size: 0.8rem; margin-top: 4px; }

/* Reservations */
.reservations-section h2,
.history-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.reservations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.reservation-card {
  border-radius: var(--radius);
  padding: 20px;
  border: 2px solid;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.res-current { background: var(--green-light); border-color: #82e0aa; }
.res-future { background: var(--blue-light); border-color: #7fb3d3; }

.res-header { display: flex; justify-content: space-between; align-items: center; }
.res-type-badge { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.res-date { font-size: 0.8rem; color: var(--text-light); }

.res-details { display: flex; flex-direction: column; gap: 6px; }
.res-item { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text); }
.res-notes { font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* History table */
.history-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.history-table th {
  background: var(--yolk-light);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.history-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.history-table tr:last-child td { border-bottom: none; }
.history-table tr:hover td { background: var(--shell); }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status-fulfilled { background: var(--green-light); color: #1e8449; }
.status-cancelled { background: var(--red-light); color: #922b21; }
.status-pending { background: var(--blue-light); color: #1a5276; }
.status-confirmed { background: var(--green-light); color: #1e8449; }
.status-active { background: var(--green-light); color: #1e8449; }
.status-inactive { background: #f2f3f4; color: var(--text-light); }

/* =========================================
   ADMIN PAGES
   ========================================= */
.admin-page { flex: 1; }

.admin-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.admin-header-content h1 { color: white; font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.admin-header-content p { color: rgba(255,255,255,0.7); }

.admin-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}
.stat-chip-link {
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.stat-chip-link:hover { background: rgba(255,255,255,0.2); }

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-card-header h2 { font-size: 1.2rem; font-weight: 800; color: var(--text); }

.admin-form { display: flex; flex-direction: column; gap: 16px; }

.stock-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.stock-mini-item {
  background: var(--yolk-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stock-mini-num { font-size: 2.5rem; font-weight: 900; color: var(--yolk-dark); line-height: 1; }
.stock-mini-label { font-size: 0.8rem; font-weight: 700; color: var(--text-light); }
.stock-mini-price { font-size: 1.1rem; font-weight: 800; color: var(--green); }

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.admin-table th {
  background: #f8f9fa;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-light);
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--shell); }
.row-inactive td { opacity: 0.5; }

.actions-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.reservation-totals {
  background: var(--yolk-light);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yolk-dark);
}

.pending-invites { margin-top: 20px; border-top: 2px solid var(--border); padding-top: 20px; }
.pending-invites h3 { font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--text-light); }

/* User creation tabs */
.user-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  width: fit-content;
}
.user-tab-btn {
  padding: 10px 20px;
  border: none;
  background: #f8f9fa;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
  white-space: nowrap;
}
.user-tab-btn.active { background: var(--yolk-dark); color: white; }
.user-tab-btn:hover:not(.active) { background: var(--yolk-light); color: var(--yolk-dark); }

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}
.empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; }

.form-group-btn { display: flex; flex-direction: column; }

/* Queue */
.queue-info .info-badge {
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.queue-list { display: flex; flex-direction: column; gap: 12px; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  background: var(--shell);
  transition: all 0.2s;
}
.queue-item:hover { border-color: var(--yolk); background: var(--yolk-light); }

.queue-position {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yolk-dark);
  min-width: 40px;
  text-align: center;
}
.queue-details { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.queue-user { display: flex; align-items: center; gap: 12px; }
.queue-user strong { font-size: 1.05rem; }
.queue-email { color: var(--text-light); font-size: 0.85rem; }
.queue-order { display: flex; gap: 8px; flex-wrap: wrap; }
.order-tag {
  background: var(--yolk-light);
  border: 1px solid var(--yolk);
  color: var(--yolk-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}
.queue-notes { font-size: 0.85rem; color: var(--text-light); font-style: italic; }
.queue-date { font-size: 0.8rem; color: var(--text-light); }

.queue-actions { display: flex; flex-direction: column; gap: 6px; }
.queue-actions form { display: flex; }

/* =========================================
   ERROR PAGES
   ========================================= */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.error-content {
  text-align: center;
  max-width: 400px;
}
.error-egg { font-size: 6rem; display: block; margin-bottom: 16px; animation: float 3s infinite; }
.error-content h1 { font-size: 5rem; font-weight: 900; color: var(--yolk-dark); line-height: 1; }
.error-content h2 { font-size: 1.5rem; margin: 12px 0; }
.error-content p { color: var(--text-light); margin-bottom: 24px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    min-height: auto;
  }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 200px; height: 200px; }
  .hero-circle { width: 180px; height: 180px; }

  .auth-page { flex-direction: column; }
  .auth-visual { min-height: 250px; }
  .big-egg { font-size: 5rem; }

  .stock-items { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-4 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: 100%; }
  .step-arrow { transform: rotate(90deg); }

  .nav-container { height: auto; padding: 12px 16px; flex-direction: column; gap: 12px; }
  .nav-links { justify-content: center; }
  .brand-text { font-size: 1.2rem; }

  .admin-header { flex-direction: column; align-items: flex-start; padding: 20px 16px; }
  .admin-header-content h1 { font-size: 1.4rem; }
  .admin-stats { width: 100%; }
  .dashboard-header { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
  .admin-container { padding: 16px; gap: 16px; }
  .admin-card { padding: 16px; }
  .admin-card-header { flex-direction: column; align-items: flex-start; }

  .admin-table { font-size: 0.82rem; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
  .actions-cell { flex-direction: column; align-items: flex-start; }

  .form-row-3 { grid-template-columns: 1fr; }
  .form-row-4 { grid-template-columns: 1fr 1fr; }

  .user-tabs { width: 100%; }
  .user-tab-btn { flex: 1; padding: 10px 12px; font-size: 0.82rem; }

  .queue-item { flex-direction: column; align-items: flex-start; }
  .queue-actions { flex-direction: row; width: 100%; }
  .queue-user { flex-direction: column; align-items: flex-start; gap: 2px; }

  .stock-display { grid-template-columns: 1fr; }

  .advantages { padding: 48px 24px; }
  .how-it-works { padding: 48px 24px; }
  .cta-section { padding: 48px 24px; }
  .footer { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .strip-item { padding: 10px 14px; font-size: 0.8rem; }
  .features-strip { gap: 0; }
  .auth-card { padding: 24px 20px; }
  .admin-card, .reserve-card, .stock-card { padding: 14px 12px; }
  .reserve-tabs { flex-direction: column; }
  .reservations-grid { grid-template-columns: 1fr; }
  .form-row-4 { grid-template-columns: 1fr; }
  .dashboard-container { padding: 12px; }
  .dashboard-header { padding: 20px 12px; }
  .dash-header-content h1 { font-size: 1.5rem; }
}
