/* Container principal */
.reservation-container {
  margin-top: 32px;
}

.financements {
  display: none !important;
}

.class-promo-code {
  display: none !important;
}

/* Message pour les sessions non disponibles */
.no-sessions-message {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  margin: 0;
}

/* Styles pour la liste des modules */
.modules-list {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
}

.modules-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.module-item:last-child {
  margin-bottom: 0;
}

.module-item strong {
  color: #050047;
  font-weight: 600;
}

/* Header */
.reservation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reservation-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #050047;
}

.formation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #050047;
  margin-bottom: 2rem;
}

/* Progress indicator */
.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  align-self: baseline;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: #050047;
  color: white;
}

.step.inactive .step-number {
  background-color: #ecf0f1;
  color: #7f8c8d;
}

.step-text {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  max-width: 120px;
}

.step.active .step-text {
  color: #050047;
}

.step.inactive .step-text {
  color: #7f8c8d;
}

.step-arrow {
  font-size: 1.2rem;
  color: #bdc3c7;
  margin: 0 0.5rem;
}

/* Instruction text */
.instruction-text {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* Main content */
.reservation-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  min-height: 600px;
}

/* Form section */
.form-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #050047;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 500;
  color: #050047;
  font-size: 0.9rem;
}

.form-control {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-control select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.5rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #ecf0f1;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background: #bdc3c7;
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #3498db;
}

/* Participant sections */

.add-participant-container {
  display: flex;
  align-items: center;

  gap: 1rem;
  margin-bottom: 1rem;
}

.add-participant-container p {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.participant-section {
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #f8f9fa;
}

.participant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.participant-title,
.section-title {
  font-weight: 600;
  color: #050047;
}

.section-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.remove-participant {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.add-participant {
  background: #27ae60;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  /* margin-top: 1rem; */
}

/* Gender selection */
.gender-selector {
  display: flex;
  gap: 1rem;
}

.gender-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gender-btn.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

/* Summary panel */
.summary-panel {
  background: #050047;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.summary-content {
  flex: 1;
}

.summary-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.summary-value {
  font-weight: 600;
  font-size: 1rem;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0;
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Navigation buttons */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ecf0f1;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #050047;
  color: white;
}

.btn-primary:hover {
  background: #34495e;
}

.btn-secondary {
  background: #ecf0f1;
  color: #050047;
}

.btn-secondary:hover {
  background: #bdc3c7;
}

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

/* Step visibility */
.step-content {
  display: none;
}

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

.consentement-label a {
  text-decoration: underline;
}

/* Anciens styles du multiselect supprimés car remplacés par la liste de modules */

/* Loader */
/* #reservation-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;

  .loader-spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} */

/* Styles pour le récapitulatif */
.recap-section {
  margin-bottom: 2rem;
}

.recap-item {
  margin-bottom: 2rem;
}

.recap-title {
  color: #050047;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recap-edit-btn {
  background: none;
  border: none;
  color: #3498db;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.recap-edit-btn:hover {
  color: #2980b9;
}

.recap-content {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
}

.recap-total {
  color: #050047;
  font-weight: bold;
}

/* Styles pour les participants */
.participant-section {
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
}

.participant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.participant-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #050047;
}

.remove-participant {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.remove-participant:hover {
  background: #c0392b;
}

.participant-company-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #050047;
  margin-bottom: 1rem;
}

/* Styles pour la section de paiement */
.payment-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.payment-message {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #050047;
}

.payment-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1199px) {
  .progress-steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step {
    width: 100%;
  }

  .step-arrow {
    display: none;
  }

  .reservation-content {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: relative;
    margin-bottom: 32px;
    top: 0;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .navigation-buttons {
    flex-direction: column-reverse;
  }

  .add-participant-container {
    flex-direction: column;
  }

  .recap-title {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-control {
    width: 100%;
  }
}
