* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff8c00, #ffa500);
}

/* Booking Container */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 100vh;
  gap: 0;
}

/* Left Panel */
.booking-info {
  background: rgba(255, 106, 0, 0.05);
  border-right: 1px solid rgba(255, 106, 0, 0.1);
  padding: 60px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #ff6a00;
  letter-spacing: -0.5px;
}

.info-subtitle {
  margin: 8px 0 0 0;
  font-size: 16px;
  color: #ccc;
  font-weight: 500;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  font-size: 24px;
  min-width: 32px;
  text-align: center;
}

.detail-label {
  margin: 0;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.detail-value {
  margin: 4px 0 0 0;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.info-features {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.info-features h3 {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.info-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-features li {
  font-size: 14px;
  color: #aaa;
  padding-left: 24px;
  position: relative;
}

.info-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6a00;
  font-weight: 700;
}

/* Right Panel */
.booking-form-section {
  background: #1a1a1a;
  padding: 60px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Form Steps */
.form-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.1);
  border: 2px solid rgba(255, 106, 0, 0.2);
  color: #888;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step.active .step-num {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #fff;
}

.step span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
}

.step.active span:last-child {
  color: #fff;
}

/* Form Steps Content */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h2 {
  margin: 0 0 30px 0;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}

/* Calendar */
.calendar-wrapper {
  margin-bottom: 40px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  min-width: 180px;
  text-align: center;
}

.calendar-nav {
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.2);
  color: #ff6a00;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.calendar-nav:hover {
  background: rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.4);
}

.calendar-grid {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.weekday {
  text-align: center;
  font-size: 12px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  color: #ccc;
}

.calendar-day.other-month {
  color: #444;
  cursor: not-allowed;
}

.calendar-day.available:hover {
  background: rgba(255, 106, 0, 0.1);
  border-color: rgba(255, 106, 0, 0.3);
}

.calendar-day.selected {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  color: #fff;
  border-color: #ff6a00;
  font-weight: 700;
}

.calendar-day.today {
  border: 1px solid rgba(255, 106, 0, 0.3);
}

/* Time Slots */
.time-slots {
  margin: 30px 0;
}

.time-slots h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.time-slot {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #ccc;
  font-weight: 500;
  background: transparent;
  white-space: pre-line;
  line-height: 1.4;
}

.time-slot:hover {
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.3);
  color: #fff;
}

.time-slot.selected {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  border-color: #ff6a00;
  color: #fff;
  font-weight: 700;
}

.time-slot.booked {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 106, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.form-group select {
  cursor: pointer;
  color: #ccc;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 106, 0, 0.25);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 106, 0, 0.3);
  color: #ccc;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.6);
  color: #ff6a00;
  transform: translateY(-2px);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  justify-content: flex-end;
}

.form-actions .btn-secondary {
  order: 1;
}

.form-actions .btn-primary {
  order: 2;
}

/* Confirmation */
.confirmation-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-success h2 {
  margin: 0 0 8px 0;
  font-size: 32px;
  color: #fff;
}

.success-message {
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #aaa;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
  padding: 24px;
  background: rgba(255, 106, 0, 0.05);
  border: 1px solid rgba(255, 106, 0, 0.1);
  border-radius: 12px;
}

.detail-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-box .detail-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin: 0;
}

.detail-box .detail-content {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.confirmation-message {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  text-align: left;
}

.confirmation-message p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #ccc;
}

.confirmation-message ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
}

.confirmation-message li {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
  padding-left: 12px;
  position: relative;
}

.confirmation-message li:before {
  content: '✓';
  position: absolute;
  left: -12px;
  color: #ff6a00;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .booking-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .booking-info {
    border-right: none;
    border-bottom: 1px solid rgba(255, 106, 0, 0.1);
    padding: 40px;
  }

  .booking-form-section {
    padding: 40px;
  }

  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .confirmation-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .booking-info,
  .booking-form-section {
    padding: 24px;
  }

  .booking-info {
    gap: 24px;
  }

  .info-header h1 {
    font-size: 24px;
  }

  .form-step h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .calendar-grid {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .calendar-weekdays {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .calendar-days {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .calendar-day {
    font-size: 11px;
    aspect-ratio: 1;
  }

  .weekday {
    font-size: 10px;
    padding: 4px 0;
  }

  .time-slots-grid {
    grid-template-columns: 1fr;
  }

  .info-details {
    gap: 16px;
  }

  .detail-item {
    gap: 12px;
  }

  .confirmation-details {
    padding: 16px;
  }
}
