/*--------------------------------------------------------------
# Reserva Page Styles
# Sistema de reserva en 3 pasos - 100% basado en main.css
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Progress Steps
--------------------------------------------------------------*/
.reservation-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 40px 20px;
  background: var(--surface-color);
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step .step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
  border: 3px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.progress-step.active .step-circle {
    color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px
    color-mix(in srgb, var(--accent-color), transparent 70%);
  transform: scale(1.1);
}

.progress-step .step-circle i {
  font-size: 32px;
  color: var(--default-color);
  display: block;
}

.progress-step.active .step-circle i {
  color: var(--accent-color);
  display: block;
}

.progress-step .step-circle .step-number {
  display: none;
}

.progress-step.completed .step-circle i {
  display: none;
}

.progress-step.completed .step-circle .step-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.progress-step.completed .step-circle {
  background: #28a745;
  border-color: #28a745;
}

.progress-step .step-info {
  text-align: center;
  margin-top: 15px;
}

.progress-step .step-info h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.progress-step .step-info p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.progress-line {
  width: 120px;
  height: 3px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  margin: 0 20px;
  position: relative;
  top: -40px;
}

.progress-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.6s ease;
}

.progress-step.active ~ .progress-line::after,
.progress-step.completed ~ .progress-line::after {
  width: 100%;
}

/*--------------------------------------------------------------
# Reservation Steps
--------------------------------------------------------------*/
.reservation-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

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

.step-header {
  text-align: center;
  margin-bottom: 50px;
}

.step-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.step-header p {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

/*--------------------------------------------------------------
# Experience Cards
--------------------------------------------------------------*/
.experience-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  cursor: pointer;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.experience-card.selected {
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px
    color-mix(in srgb, var(--accent-color), transparent 70%);
}

.experience-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.experience-card:hover .experience-image img {
  transform: scale(1.1);
}

.experience-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 18px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.experience-badge.featured {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.experience-badge.wellness {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.experience-badge.events {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.experience-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.experience-description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.experience-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.experience-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.experience-features span i {
  color: var(--accent-color);
  font-size: 14px;
}

.experience-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
}

.price-period {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.btn-select-experience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-select-experience:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px
    color-mix(in srgb, var(--accent-color), transparent 50%);
}

.btn-select-experience i {
  transition: transform 0.3s ease;
}

.btn-select-experience:hover i {
  transform: translateX(3px);
}

.experience-card.selected .btn-select-experience {
  background: #28a745;
}

.experience-card.selected .btn-select-experience::before {
  content: "\f26a ";
  font-family: "bootstrap-icons";
  margin-right: 5px;
}

/*--------------------------------------------------------------
# Reservation Summary
--------------------------------------------------------------*/
.reservation-summary {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.reservation-summary h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reservation-summary h4 i {
  color: var(--accent-color);
  font-size: 24px;
}

.selected-experience-info {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.selected-experience-info img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.selected-experience-info h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.selected-experience-info p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.summary-details {
  margin-bottom: 25px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
}

.summary-item span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.summary-item strong {
  color: var(--heading-color);
  font-weight: 600;
}

.summary-item.total {
  padding-top: 20px;
  font-size: 18px;
}

.summary-item.total span,
.summary-item.total strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
}

.summary-divider {
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  margin: 10px 0;
}

.security-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: color-mix(in srgb, #28a745, transparent 92%);
  border-radius: 10px;
  color: #28a745;
  font-size: 14px;
  font-weight: 600;
}

.security-badges i {
  font-size: 20px;
}

/*--------------------------------------------------------------
# Reservation Form
--------------------------------------------------------------*/
.reservation-form {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-section {
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h5 i {
  color: var(--accent-color);
  font-size: 22px;
}

.form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control,
.form-select {
  padding: 14px 18px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.form-text {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 13px;
}

/*--------------------------------------------------------------
# Payment Methods
--------------------------------------------------------------*/
.payment-methods {
  display: flex;
  gap: 15px;
}

.payment-method {
  flex: 1;
  cursor: pointer;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-method .method-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.payment-method input[type="radio"]:checked + .method-content {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.payment-method .method-content i {
  font-size: 32px;
  color: var(--accent-color);
}

.payment-method .method-content span {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  text-align: center;
}

.card-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.card-brands i {
  font-size: 18px;
  color: var(--accent-color);
}

.payment-details {
  animation: fadeIn 0.3s ease;
}

/*--------------------------------------------------------------
# Form Actions
--------------------------------------------------------------*/
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 30px;
}

.form-actions .btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.form-actions .btn-secondary {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border: none;
  color: var(--heading-color);
}

.form-actions .btn-secondary:hover {
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  transform: translateY(-2px);
}

.form-actions .btn-primary {
  background: var(--accent-color);
  border: none;
  color: #fff;
}

.form-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px
    color-mix(in srgb, var(--accent-color), transparent 50%);
}

/*--------------------------------------------------------------
# Confirmation
--------------------------------------------------------------*/
.confirmation-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.6s ease;
}

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

.confirmation-icon i {
  font-size: 60px;
  color: #fff;
}

.confirmation-container h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.confirmation-subtitle {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 40px;
}

.reservation-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-bottom: 40px;
}

.reservation-number span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reservation-number strong {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  font-family: monospace;
}

.confirmation-details {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}

.confirmation-card {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.confirmation-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.confirmation-card h4 i {
  color: var(--accent-color);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
}

.detail-row span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.detail-row strong {
  color: var(--heading-color);
  font-weight: 600;
}

.detail-row.total-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
}

.detail-divider {
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  margin: 10px 0;
}

.confirmation-message {
  margin-bottom: 40px;
}

.confirmation-message .alert {
  border-radius: 15px;
  border: none;
  padding: 20px;
  text-align: left;
}

.confirmation-message .alert-success {
  background: color-mix(in srgb, #28a745, transparent 90%);
  color: #0f5132;
}

.confirmation-message .alert i {
  font-size: 24px;
  margin-right: 15px;
  color: #28a745;
}

.confirmation-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirmation-actions .btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.confirmation-actions .btn-outline-primary {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.confirmation-actions .btn-outline-primary:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

.confirmation-actions .btn-primary {
  background: var(--accent-color);
  border: none;
  color: #fff;
}

.confirmation-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px
    color-mix(in srgb, var(--accent-color), transparent 50%);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .reservation-progress {
    padding: 30px 15px;
  }

  .progress-step .step-circle {
    width: 60px;
    height: 60px;
  }

  .progress-step .step-circle i {
    font-size: 24px;
  }

  .progress-line {
    width: 80px;
    top: -30px;
  }

  .step-header h2 {
    font-size: 28px;
  }

  .reservation-summary {
    position: static;
    margin-bottom: 30px;
  }

  .reservation-form {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .reservation-progress {
    flex-direction: column;
    gap: 20px;
  }

  .progress-line {
    width: 3px;
    height: 60px;
    margin: 0;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .progress-line::after {
    width: 100%;
    height: 0%;
    transition: height 0.6s ease;
  }

  .progress-step.active ~ .progress-line::after,
  .progress-step.completed ~ .progress-line::after {
    height: 100%;
    width: 100%;
  }

  .step-header h2 {
    font-size: 24px;
  }

  .step-header p {
    font-size: 16px;
  }

  .experience-card .experience-content {
    padding: 25px;
  }

  .payment-methods {
    flex-direction: column;
  }

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

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

  .confirmation-container h2 {
    font-size: 28px;
  }

  .reservation-number strong {
    font-size: 24px;
  }

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

  .confirmation-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .reservation-form {
    padding: 20px;
  }

  .form-section {
    padding-bottom: 25px;
    margin-bottom: 25px;
  }

  .experience-price .price-amount {
    font-size: 26px;
  }

  .confirmation-icon {
    width: 90px;
    height: 90px;
  }

  .confirmation-icon i {
    font-size: 45px;
  }
}
