/* ============================================================
   Mess Menu 2025-26 — Stylesheet
   ============================================================ */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, rgba(102,126,234,0.7) 0%, rgba(118,75,162,0.7) 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

button, .nav-link, .nav-item, a {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
button:focus, .nav-link:focus, .nav-item:focus, a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ── Header / Nav ─────────────────────────────────────── */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 12px;
}
.nav-menu a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}
.nav-menu .nav-verify {
  border: 2px solid #667eea;
}
.nav-menu .nav-logout {
  border: 2px solid #e74c3c;
  color: #e74c3c;
}
.nav-menu .nav-logout:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bar1, .bar2, .bar3 {
  width: 28px; height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 3px 0;
  transition: 0.4s;
  border-radius: 2px;
  display: block;
}
.menu-toggle.active .bar1 { transform: translate(0,8px) rotate(-45deg); }
.menu-toggle.active .bar2 { opacity: 0; }
.menu-toggle.active .bar3 { transform: translate(0,-8px) rotate(45deg); }

/* Mobile dropdown */
.nav-dropdown {
  position: fixed; top: 85px; right: 20px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(25px);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 1000;
  min-width: 160px;
  display: none;
  flex-direction: column;
}
.nav-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin: 4px 0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}
.nav-item:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: translateX(2px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}
.nav-item:hover .nav-text { color: white; }

.nav-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex: 1;
}
.nav-icon {
  font-size: 1.3rem;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(102,126,234,0.1);
}


/* ── Flash Messages ───────────────────────────────────── */
.flash-container {
  max-width: 800px;
  margin: 15px auto;
  padding: 0 20px;
}
.flash-msg {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  animation: slideDown 0.3s ease;
  transition: opacity 0.4s ease;
}
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-danger  { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.flash-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.flash-close {
  background: none; border: none; font-size: 1.1rem; cursor: pointer;
  color: inherit; opacity: 0.7;
}
.flash-close:hover { opacity: 1; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ── Main Layout (Menu Page) ──────────────────────────── */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left — Selection */
.selection-container {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 120px;
  box-shadow: 0 25px 50px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Group Selection */
.group-selection h3 {
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Dropdown */
.select-menu { width: 100%; position: relative; }
.select-btn {
  display: flex; height: 55px;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  padding: 20px; font-size: 1rem; font-weight: 600;
  border-radius: 15px; align-items: center;
  cursor: pointer; justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}
.select-btn:hover { border-color: #667eea; color: #667eea; transform: translateY(-2px); }
.select-btn i { font-size: 20px; transition: 0.3s; color: #666; }
.select-menu.active .select-btn i { transform: rotate(-180deg); color: #667eea; }
.select-menu.active .select-btn { border-color: #667eea; color: #667eea; }
.sBtn-text { color: #555; }

.select-menu .options {
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 15px; margin-top: 5px; border-radius: 15px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: none; z-index: 1000;
  list-style: none;
}
.select-menu.active .options { display: block; animation: fadeInUp 0.3s ease; }

.options .option {
  display: flex; height: 50px; cursor: pointer;
  padding: 0 16px; border-radius: 12px; align-items: center;
  transition: all 0.3s ease; margin-bottom: 5px;
}
.options .option:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white; transform: translateX(5px);
}
.option .option-text { font-size: 1rem; color: #555; font-weight: 600; transition: color 0.3s; }
.options .option:hover .option-text { color: white; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Group */
.group-selection-mobile { display: none; }
.group-buttons { display: flex; align-items: center; justify-content: center; gap: 8px; }
.group-btn {
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border: 2px solid #e0e0e0;
  color: #666; border-radius: 12px;
  cursor: pointer; font-size: 0.85rem;
  font-weight: 600; transition: all 0.3s;
  min-width: 55px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  outline: none; user-select: none;
}
.group-btn:hover { border-color: #667eea; color: #667eea; transform: translateY(-2px); }
.group-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #667eea; color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

/* Day Selection */
.day-selection h2 {
  font-size: 1.8rem; font-weight: 600;
  margin-bottom: 25px; text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.days-wrapper { display: flex; flex-direction: column; gap: 12px; }
.day-btn {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: #666; padding: 15px 20px;
  border-radius: 15px; cursor: pointer;
  font-size: 1rem; font-weight: 600;
  transition: all 0.3s ease;
  text-align: center; outline: none; user-select: none;
}
.day-btn:hover { border-color: #667eea; color: #667eea; transform: translateX(5px); }
.day-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #667eea; color: #fff;
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

/* Mobile Slider */
.day-slider-container { display: none; }
.current-day-display {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 25px; gap: 20px;
}
.current-day-name {
  font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 120px; text-align: center;
}
.current-day-subtitle { color: #666; font-size: 0.9rem; }
.day-arrow {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.2rem; font-weight: bold;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(102,126,234,0.3);
  transition: all 0.3s ease; outline: none; user-select: none;
}
.day-arrow:hover { transform: scale(1.1); }
.day-arrow.disabled { background: #ccc; cursor: not-allowed; }

.day-slider {
  position: relative; width: 100%; height: 50px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 25px; margin: 20px 0;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer; overflow: hidden;
}
.slider-track {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90%; height: 4px;
  background: #e0e0e0; border-radius: 2px;
}
.slider-progress {
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px; transition: width 0.3s ease;
}
.slider-handle {
  position: absolute; top: 50%;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%; transform: translate(-50%,-50%);
  cursor: grab;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
  z-index: 4; left: 5%;
  transition: left 0.3s ease;
}
.slider-dots {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90%; display: flex;
  justify-content: space-between;
  align-items: center; z-index: 1;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ccc; transition: all 0.3s ease;
  cursor: pointer; outline: none; user-select: none;
}
.slider-dot.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scale(1.2);
}
.slider-input {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 3;
  -webkit-appearance: none; margin: 0; padding: 0;
}


/* ── Menu Display ─────────────────────────────────────── */
.menu-display {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(15,23,42,0.14);
  position: relative;
}
.current-time-display {
  position: absolute; top: 15px; left: 15px;
  font-size: 0.8rem; color: #666;
  background: rgba(255,255,255,0.8);
  padding: 8px 12px; border-radius: 12px;
  backdrop-filter: blur(10px);
}
.menu-title {
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px; margin-top: 10px;
}
.menu-subtitle { color: #666; font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }

/* Meals Grid */
.meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.meal-card {
  background: #fff; border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
  border: 1px solid rgba(102,126,234,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}
.meal-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(15,23,42,0.18);
}
.meal-image {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
  position: relative; overflow: hidden;
}
.meal-image::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15); z-index: 1;
}
.meal-image span { position: relative; z-index: 2; }
.breakfast .meal-image { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.lunch .meal-image    { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.snacks .meal-image   { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.dinner .meal-image   { background: linear-gradient(135deg, #667eea, #764ba2); }

.meal-info { padding: 25px; }
.meal-type {
  font-size: 1.3rem; font-weight: 600;
  margin-bottom: 10px; color: #333;
  display: flex; align-items: center; gap: 8px;
}
.meal-timing {
  font-size: 0.7rem; font-weight: 500; color: #667eea;
  background: rgba(102,126,234,0.1);
  padding: 3px 8px; border-radius: 10px;
  display: inline-block; margin-bottom: 10px;
  border: 1px solid rgba(102,126,234,0.2);
}
.meal-description {
  color: #555; font-size: 0.95rem; line-height: 1.6;
  background: #f8f9fa; padding: 15px;
  border-radius: 10px; border-left: 4px solid #667eea;
}
.meal-description ul { list-style: none; padding: 0; }
.meal-description li { padding: 3px 0; }
.meal-description li::before { content: '• '; color: #667eea; font-weight: bold; }


/* ── Comment Section ──────────────────────────────────── */
.comment-section {
  margin-top: 18px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}
.comment-header {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 0.9rem;
  color: #667eea; font-weight: 600;
  padding: 6px 0; user-select: none;
}
.comment-header i { font-size: 1.1rem; }
.comment-chevron { margin-left: auto; transition: transform 0.3s; }

.comments-list { max-height: 300px; overflow-y: auto; margin: 10px 0; }
.comment-item {
  background: #f8f9fa;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 3px solid #667eea;
}
.comment-author { font-weight: 600; font-size: 0.85rem; color: #333; }
.comment-text { font-size: 0.9rem; color: #555; margin: 4px 0; word-break: break-word; }
.comment-time { font-size: 0.7rem; color: #999; }
.no-comments { font-size: 0.85rem; color: #999; font-style: italic; padding: 10px 0; }

.comment-form { margin-top: 10px; }
.comment-input-row { display: flex; gap: 8px; }
.comment-input {
  flex: 1; padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 12px; font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.comment-input:focus { border-color: #667eea; }
.comment-submit {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none; color: #fff;
  width: 42px; height: 42px;
  border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: transform 0.2s, box-shadow 0.2s;
}
.comment-submit:hover { transform: scale(1.08); box-shadow: 0 4px 15px rgba(102,126,234,0.4); }

.verify-prompt {
  font-size: 0.85rem; color: #666;
  padding: 8px 0; text-align: center;
}
.verify-prompt a { color: #667eea; text-decoration: underline; font-weight: 600; }


/* ── Complaints Page ──────────────────────────────────── */
.complaints-page {
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}
.complaints-container {
  max-width: 900px;
  margin: 0 auto;
}
.page-title {
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px; text-align: center;
}
.page-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem; text-align: center;
  margin-bottom: 30px; max-width: 600px;
  margin-left: auto; margin-right: auto;
}

.complaint-form-card {
  background: rgba(255,255,255,0.97);
  border-radius: 20px; padding: 35px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
  margin-bottom: 35px;
}
.complaint-form-card h2 {
  font-size: 1.5rem; color: #333;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.complaint-form-card h2 i { color: #667eea; }

.verify-banner {
  background: rgba(255,255,255,0.97);
  border-radius: 16px; padding: 25px 30px;
  display: flex; align-items: center; gap: 15px;
  margin-bottom: 30px;
  border-left: 5px solid #667eea;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.verify-banner i { font-size: 2rem; color: #667eea; }
.verify-banner p { font-size: 1rem; color: #555; }
.verify-banner a { color: #667eea; font-weight: 600; text-decoration: underline; }

.complaints-list {
  background: rgba(255,255,255,0.97);
  border-radius: 20px; padding: 35px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}
.complaints-list h2 {
  font-size: 1.4rem; color: #333;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.complaints-list h2 i { color: #667eea; }

.complaint-card {
  background: #f8f9fa;
  border-radius: 15px; padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #667eea;
  transition: transform 0.2s, box-shadow 0.2s;
}
.complaint-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.complaint-header {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.complaint-subject {
  font-weight: 600; font-size: 1.1rem; color: #333;
  flex: 1;
}
.complaint-group {
  background: rgba(102,126,234,0.1);
  color: #667eea; padding: 3px 10px;
  border-radius: 8px; font-size: 0.8rem;
  font-weight: 600;
}
.complaint-status {
  padding: 3px 10px; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase;
}
.complaint-status-open { background: #fff3cd; color: #856404; }
.complaint-status-resolved { background: #d4edda; color: #155724; }

.complaint-body {
  color: #555; font-size: 0.95rem;
  line-height: 1.6; margin-bottom: 12px;
  word-break: break-word;
}
.complaint-footer {
  display: flex; gap: 20px; font-size: 0.8rem; color: #999;
}
.complaint-footer i { margin-right: 4px; }

.empty-state {
  text-align: center; padding: 40px 20px; color: #999;
}
.empty-state i { font-size: 3rem; margin-bottom: 10px; display: block; }


/* ── Verify Page ──────────────────────────────────────── */
.verify-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.verify-container { max-width: 600px; width: 100%; }
.verify-card {
  background: rgba(255,255,255,0.97);
  border-radius: 25px; padding: 45px;
  box-shadow: 0 30px 70px rgba(15,23,42,0.15);
  text-align: center;
}
.verify-icon-large { font-size: 4rem; margin-bottom: 15px; }
.verify-title {
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.verify-subtitle { color: #666; font-size: 1rem; margin-bottom: 25px; line-height: 1.5; }

/* Steps */
.verify-steps {
  display: flex; gap: 15px; margin-bottom: 30px;
  justify-content: center; flex-wrap: wrap;
}
.step {
  display: flex; align-items: center; gap: 10px;
  background: #f8f9fa; padding: 10px 16px;
  border-radius: 12px; flex: 1; min-width: 140px;
}
.step-num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.step-text { font-size: 0.8rem; color: #555; text-align: left; }

/* Verified state */
.verified-state { padding: 20px 0; }
.verified-icon { font-size: 4rem; margin-bottom: 15px; }
.verify-roll {
  color: #667eea; font-weight: 600;
  font-size: 1.1rem; margin-bottom: 10px;
}
.verify-info { color: #666; margin-bottom: 20px; }
.verify-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* File upload */
.file-upload {
  position: relative; width: 100%;
  border: 2px dashed #d0d0d0;
  border-radius: 16px; overflow: hidden;
  transition: border-color 0.3s;
  cursor: pointer;
}
.file-upload:hover { border-color: #667eea; }
.file-input {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
}
.file-upload-label {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 35px 20px; color: #999;
}
.file-upload-label i { font-size: 2.5rem; color: #667eea; margin-bottom: 10px; }
.file-upload-label span { font-weight: 600; color: #555; }
.file-upload-label small { color: #aaa; margin-top: 5px; }

.file-preview {
  display: flex; align-items: center;
  justify-content: center; padding: 15px;
  position: relative;
}
.file-preview img {
  max-height: 200px; max-width: 100%;
  border-radius: 12px; object-fit: contain;
}
.file-remove {
  position: absolute; top: 10px; right: 10px;
  background: #e74c3c; color: white;
  border: none; width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer;
  font-size: 0.9rem; display: flex;
  align-items: center; justify-content: center;
  z-index: 3;
}

.verify-loading {
  display: flex; flex-direction: column;
  align-items: center; gap: 15px;
  padding: 20px; color: #667eea; font-weight: 500;
}
.spinner {
  width: 40px; height: 40px;
  border: 4px solid #e0e0e0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-small {
  display: inline-block;
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.verify-privacy {
  margin-top: 20px; padding: 12px;
  background: #f8f9fa; border-radius: 10px;
  display: flex; align-items: start; gap: 8px;
}
.verify-privacy i { color: #667eea; font-size: 1.2rem; margin-top: 2px; }
.verify-privacy small { color: #888; font-size: 0.78rem; line-height: 1.5; text-align: left; }


/* ── Forms ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 18px; text-align: left;
}
.form-group label {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; color: #333;
  margin-bottom: 8px; font-size: 0.95rem;
}
.form-group label i { color: #667eea; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none; background: #fff;
  font-family: inherit;
}
.form-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}
.form-textarea { resize: vertical; min-height: 100px; }

select.form-input {
  cursor: pointer;
  appearance: auto;
}


/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border: none;
  padding: 14px 28px;
  border-radius: 15px; font-size: 1rem;
  font-weight: 600; cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(102,126,234,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102,126,234,0.5);
}
.btn-primary:disabled {
  opacity: 0.7; cursor: not-allowed;
  transform: none !important;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 12px 24px;
  border-radius: 15px; font-size: 1rem;
  font-weight: 600; cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #667eea; color: #fff;
  transform: translateY(-2px);
}
.btn-verify { width: 100%; justify-content: center; margin-top: 5px; }


/* ── Creator Page ─────────────────────────────────────── */
.creator-page-section {
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}
.creator-container { max-width: 800px; margin: 0 auto; }
.creator-card {
  background: rgba(255,255,255,0.97);
  border-radius: 25px; padding: 50px;
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
  text-align: center;
}
.creator-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #fff;
  box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}
.creator-title {
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.creator-subtitle { font-size: 1.2rem; color: #666; margin-bottom: 30px; }

.creator-message, .creator-features {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px; border-radius: 20px;
  margin: 25px 0; font-size: 1.05rem;
  line-height: 1.7; color: #555;
  border-left: 5px solid #667eea;
  text-align: left;
}
.creator-message h3, .creator-features h3 { margin-bottom: 10px; }
.creator-features ul {
  list-style: none; padding: 0; margin-top: 10px;
}
.creator-features li {
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.creator-features li::before { content: '✦ '; color: #667eea; }

.creator-contact {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; padding: 25px;
  border-radius: 20px; margin-top: 25px;
  text-align: left;
}
.creator-contact h3 { font-size: 1.4rem; margin-bottom: 10px; }
.creator-contact p { font-size: 1.05rem; line-height: 1.6; }


/* ── Error Page ───────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.error-card {
  background: rgba(255,255,255,0.97);
  border-radius: 25px; padding: 50px;
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
  text-align: center; max-width: 500px;
}
.error-code {
  font-size: 6rem; font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.error-title { font-size: 2rem; color: #333; margin: 10px 0; }
.error-message { color: #666; font-size: 1.1rem; margin-bottom: 25px; }


/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-dropdown { display: flex !important; }
  .menu-toggle { display: flex; flex-direction: column; }

  .main-container {
    grid-template-columns: 1fr;
    gap: 20px; padding: 20px 15px;
  }
  .selection-container {
    position: static; order: 1;
    padding: 25px 20px; border-radius: 20px;
  }
  .group-selection { display: none; }
  .group-selection-mobile { display: block; }

  .day-selection h2 { display: none; }
  .days-wrapper { display: none; }
  .day-slider-container { display: block; }

  .menu-display {
    order: 2; padding: 25px;
  }
  .menu-title { font-size: 1.8rem; }
  .meals-grid { grid-template-columns: 1fr; gap: 20px; }

  .current-time-display {
    position: relative !important;
    top: 0 !important; left: 0 !important;
    margin-bottom: 15px; text-align: center;
  }

  .verify-card { padding: 30px 20px; }
  .verify-steps { flex-direction: column; }

  .complaint-form-card { padding: 25px; }
  .complaints-list { padding: 25px; }

  .creator-card { padding: 30px 20px; }
  .creator-title { font-size: 2rem; }
  .creator-avatar { width: 100px; height: 100px; font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .current-day-name { font-size: 1.5rem; min-width: 100px; }
  .day-arrow { width: 35px; height: 35px; font-size: 1rem; }
  .page-title { font-size: 2rem; }
  .slider-handle { width: 25px; height: 25px; }
  .slider-dot { width: 10px; height: 10px; }
  .menu-title { font-size: 1.5rem; }
}
