/* Estilos específicos para la página de Reservas */

/* Form Multi-step Minimalist */
.booking-header {
  text-align: center;
  margin-bottom: 60px;
}
.booking-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.booking-header p {
  font-weight: 300;
  opacity: 0.7;
  letter-spacing: 2px;
}

.booking-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}
.step-indicator {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.step-indicator.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.booking-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  position: relative;
}
.form-section {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}
.form-section.active {
  display: block;
}

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

.form-group {
  margin-bottom: 30px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Custom Inputs */
.service-grid,
.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.selection-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.selection-card:hover {
  border-color: var(--primary-color);
  background: rgba(212, 175, 55, 0.05);
}
.selection-card.selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--secondary-color);
}
.selection-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin-bottom: 5px;
}
.selection-card p {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.7;
}

/* DateTime Custom */
.datetime-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.calendar-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  min-height: 300px;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.time-slot {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.time-slot:hover {
  border-color: var(--primary-color);
}
.time-slot.selected {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Personal Data Fields */
.input-minimal {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.input-minimal:focus {
  outline: none;
  border-bottom-color: var(--primary-color);
}

/* Navigation Buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.btn-minimal {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-minimal:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}
.btn-minimal.btn-next {
  margin-left: auto;
}

/* Validation Modal */
.validation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.validation-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.validation-modal {
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.validation-modal-overlay.active .validation-modal {
  transform: translateY(0);
}
.validation-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
  font-family: "Cormorant Garamond", serif;
}
.validation-modal h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}
.validation-modal p {
  margin-bottom: 30px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-header h1 {
    font-size: 2.5rem;
  }
  .service-grid,
  .expert-grid,
  .datetime-grid {
    grid-template-columns: 1fr;
  }
  .booking-steps {
    gap: 15px;
  }
  .step-indicator {
    font-size: 0.6rem;
  }
}

@media (min-width: 1024px) {
  html {
    overflow: hidden;
    height: 100%;
  }
  body {
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .booking-container {
    margin: 0 auto;
    padding-top: 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 90vw;
  }
  .booking-header {
    margin-bottom: 30px;
  }
  .booking-header h1 {
    margin-bottom: 10px;
  }
  .booking-steps {
    margin-bottom: 30px;
  }
  .booking-form-wrapper {
    padding: 30px;
  }
}
