/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('../gallery/booknow-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  font-family: 'Georgia', serif;
  color: #fff;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(8px);
  z-index: -1;
}

.booking-layout {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.booking-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  pointer-events: none;
}

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.back-btn::before {
  content: '←';
  margin-right: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.back-btn:hover::before {
  transform: translateX(-4px);
}

.book-now-section {
  padding: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.book-now-section h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 auto 1.5rem auto;
  display: inline-block;
  color: #fff;
  font-weight: 900;
  position: relative;
  background: linear-gradient(45deg, #fff, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.book-now-section h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.subtext {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === FORM WRAPPER === */
.booking-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: white;
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* === NAME / EMAIL / CONTACT === */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.input-group {
  position: relative;
  overflow: hidden;
}

.input-group label {
  position: absolute;
  top: 0;
  left: 15px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.user-info input {
  width: 100%;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.05);
  letter-spacing: 0.5px;
}

.user-info input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.user-info input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-weight: 300;
}

.user-info input:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info input:focus:hover {
  transform: translateY(-2px);
}

/* === UPLOAD SECTION === */
.upload-label {
  font-weight: 600;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  text-align: center;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin: 2rem 0;
}

.upload-area {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 3.5rem 2.5rem;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.upload-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  pointer-events: none;
}

.upload-area:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.upload-area:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upload-area i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.upload-area:hover i {
  transform: scale(1.1);
}

.upload-area p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 80%;
  line-height: 1.6;
}

#previewImage {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#previewImage:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
/* ===
.ar-btn {
  font-size: 1.2rem;
  background: #999;
  color: black;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
}=== */

/* === DROPDOWNS === */
.dropdown-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  margin: 1.5rem 0;
}

.dropdown {
  position: relative;
}

.dropdown label {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
  display: block;
  letter-spacing: 0.5px;
}

.booking-form label {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.dropdown select {
  width: 100%;
  padding: 16px 22px;
  font-size: 1.1rem;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.05);
}

.dropdown::after {
  content: '▼';
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover::after {
  transform: translateY(2px);
}

.dropdown select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dropdown select:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown select option {
  background: #222;
  color: #fff;
  padding: 12px;
  font-size: 1.1rem;
}

/* === TEXTAREA === */
textarea {
  width: 100%;
  padding: 16px 22px;
  font-size: 1.1rem;
  min-height: 150px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  resize: vertical;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.05);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-weight: 300;
}

textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === CALENDAR SECTION === */
.calendar-section {
  text-align: center;
  margin: 2.5rem 0;
  position: relative;
}

.calendar-section label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.flatpickr-input {
  width: 100% !important;
  height: auto !important;
  padding: 16px 22px !important;
  font-size: 1.1rem !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  box-sizing: border-box !important;
  outline: none !important;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.05) !important;
  cursor: pointer !important;
}

.flatpickr-input:focus {
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-1px);
}

.flatpickr-input:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Custom calendar styles */
.flatpickr-calendar {
  background: rgba(30, 30, 30, 0.95) !important;
  border: none !important;
  border-radius: 15px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(10px) !important;
  padding: 1rem !important;
}

.flatpickr-day {
  color: #fff !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.flatpickr-day:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-day.selected {
  background: linear-gradient(135deg, #333 0%, #666 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.flatpickr-months {
  margin-bottom: 1rem !important;
}

.flatpickr-current-month {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
}

.flatpickr-monthDropdown-months {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
}

.flatpickr-weekday {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500 !important;
}

/* === TIMESLOT SECTION === */
.timeslot-section {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.timeslot-section p {
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
}

/* Time slot grid container */
.timeslot-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

/* Time slot buttons */
.timeslot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.timeslot-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.timeslot-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.timeslot-btn:hover::before {
  transform: translateX(100%);
}

/* Active/selected state */
.timeslot-btn.active {
  background: linear-gradient(135deg, #333 0%, #666 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Disabled state - Booked slots */
.timeslot-btn:disabled {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  text-decoration: line-through;
  box-shadow: none;
}

.timeslot-btn:disabled::after {
  content: '🚫';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.5;
}

.timeslot-btn:disabled::after {
  content: '🚫';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}


/* === BOOKING FORM BUTTON === */
.form-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.booking-form button {
  width: 100%;
  max-width: 250px;
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.booking-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.booking-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #333 0%, #666 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.booking-form button:hover::before {
  transform: translateX(100%);
}

.booking-form button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #000 0%, #222 100%);
}


/* === MODAL & TOAST === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(5px);
  padding: 20px;
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  pointer-events: auto;
  z-index: 1000;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(108, 117, 125, 0.1);
  border: 2px solid rgba(108, 117, 125, 0.2);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.modal-close:hover {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
  transform: scale(1.1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.terms-text {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 2rem;
  background: #f8f9fa;
  text-align: left;
  line-height: 1.8;
  color: #495057;
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.terms-text::-webkit-scrollbar {
  width: 6px;
}

.terms-text::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.terms-text::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.terms-text::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.modal-content .agreement-section {
  position: relative;
  z-index: 1;
  pointer-events: all;
}

.modal-content .checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2rem;
  padding: 15px;
  border-radius: 12px;
  background: rgba(40, 167, 69, 0.05);
  border: 2px solid rgba(40, 167, 69, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-content .checkbox-wrapper:hover {
  background: rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.2);
}

.modal-content label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #495057;
  cursor: pointer;
  user-select: none;
  margin: 0;
  padding: 0;
  width: 100%;
  pointer-events: all;
}

.modal-content input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #28a745;
  cursor: pointer !important;
  margin: 0;
  opacity: 1;
  position: relative;
  z-index: 2;
  pointer-events: all !important;
}

.modal-content input[type="checkbox"]:checked {
  background-color: #28a745;
  border-color: #28a745;
}

.modal-content input[type="checkbox"]:focus {
  outline: 2px solid rgba(40, 167, 69, 0.5);
  outline-offset: 2px;
}

.modal-content input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Custom checkbox design */
.checkbox-wrapper input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 2px solid #28a745;
  border-radius: 4px;
  transition: all 0.2s ease;
  pointer-events: all !important;
  position: relative;
  z-index: 2;
}

.checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #28a745;
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure the checkbox remains interactive */
.checkbox-wrapper input[type="checkbox"],
.checkbox-wrapper label,
.modal-content label,
.modal-content input[type="checkbox"] {
  cursor: pointer !important;
  pointer-events: all !important;
  position: relative;
  z-index: 2;
}

/* Remove any overlay that might be blocking the checkbox */
.modal-content::before,
.modal-content::after,
.checkbox-wrapper::before,
.checkbox-wrapper::after {
  display: none;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.modal-actions button {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.modal-actions button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modal-actions button:hover::before {
  left: 100%;
}

.modal-actions button:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.modal-actions button:disabled {
  background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.2);
  opacity: 0.6;
}

.modal-actions button:disabled::before {
  display: none;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  top: 40px;
  transform: translateX(-50%) scale(1);
}

.toast:not(.show) {
  transform: translateX(-50%) scale(0.95);
  top: 10px;
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
  .booking-layout {
    padding: 0 1rem;
  }

  .dropdown-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    max-width: none;
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  .terms-text {
    max-height: 150px;
    padding: 1rem;
  }
  
  .modal-actions button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .calendar-box {
    min-height: 200px;
  }
}
