* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg-primary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --border-color: #e0e0e0;
  --input-bg: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding-top: 70px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Navbar Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: background-color 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.back-btn {
  font-size: 1.8rem;
  color: #e53935;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: transparent;
}
.back-btn:hover {
  background: #fef2f2;
  transform: translateX(-3px);
}
.back-btn:active {
  transform: scale(0.95);
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e53935;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 640px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
  .back-btn {
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
  }
  .dark-mode-btn {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
  }
}
.booking-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.booking-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}
h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #c62828;
}
.subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.field {
  position: relative;
  margin-bottom: 24px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  outline: none;
  background: var(--input-bg);
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: pointer;
}
.field input[type="text"]:not([readonly]) {
  cursor: text;
}
.field input[readonly] {
  cursor: pointer;
  background: var(--bg-card);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--bg-card);
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}
.field label {
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--bg-card);
  padding: 2px 10px;
  font-size: 12px;
  color: #e53935;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.calendar-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
  opacity: 0.6;
}
textarea {
  resize: vertical;
  min-height: 70px;
  font-family: 'Poppins', sans-serif;
}
button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #e53935, #c62828);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}
button:hover {
  background: linear-gradient(135deg, #c62828, #b71c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}
button:active {
  transform: translateY(0);
}
button:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.6;
}
.status {
  text-align: center;
  margin: 20px 0 10px;
  font-weight: 500;
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.status.success {
  color: #27ae60;
  background: #d5f4e6;
  border: 2px solid #27ae60;
}
.status.error {
  color: #e74c3c;
  background: #fadbd8;
  border: 2px solid #e74c3c;
}
.status.info {
  color: #e53935;
  background: #ffebee;
  border: 2px solid #e53935;
}
.note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 15px;
  font-weight: 400;
}
.calendar-note {
  font-size: 12px;
  color: #e74c3c;
  margin-top: -10px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 500;
}
/* Flatpickr Calendar Customization */
.flatpickr-calendar {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border: 1px solid #e0e6ed;
}
.flatpickr-months {
  background: linear-gradient(135deg, #e53935, #c62828);
  border-radius: 12px 12px 0 0;
}
.flatpickr-current-month {
  color: white;
}
.flatpickr-prev-month,
.flatpickr-next-month {
  fill: white;
}
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  fill: rgba(255, 255, 255, 0.8);
}
.flatpickr-weekday {
  color: #e53935;
  font-weight: 600;
}
.flatpickr-day {
  border-radius: 8px;
  color: #2c3e50;
}
.flatpickr-day:hover {
  background: #ffebee;
  border-color: #ffebee;
}
.flatpickr-day.selected {
  background: linear-gradient(135deg, #e53935, #c62828);
  border-color: #e53935;
  color: white;
}
.flatpickr-day.today {
  border-color: #e53935;
  color: #e53935;
  font-weight: 600;
}
.flatpickr-day.disabled {
  color: #bdc3c7;
  background: #f8f9fa;
  cursor: not-allowed;
}
.flatpickr-day.disabled:hover {
  background: #f8f9fa;
  border-color: transparent;
}
.back-link {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f8f9fa;
}
.back-link a {
  color: #e53935;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.back-link a:hover {
  color: #c62828;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .booking-wrapper {
    padding: 0 1rem;
    margin: 1rem auto;
  }
  .booking-card {
    padding: 2rem 1.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .field input,
  .field select,
  .field textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  button {
    padding: 14px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .booking-card {
    padding: 1.5rem 1rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}

