body {
  background-color: #f4f6f9;
  font-family: 'Ubuntu', sans-serif;
  color: #343a40;
}

h1, h2 {
  color: #0056b3;
}

.form-step {
  display: none;
}

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

.form-label {
  font-weight: bold;
}

.form-select, .form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #565e64;
  border-color: #565e64;
}

#prevStep:disabled {
  background-color: #ced4da;
  border-color: #ced4da;
  cursor: not-allowed;
}

/* Estilos del Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-left: 0;
  list-style: none;
  position: relative;
}

.step {
  position: relative;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 25px); 
  width: calc(100% - 50px); 
  height: 4px; 
  background-color: #ced4da;
  z-index: -1;
  transform: translateY(-50%);
  transition: background-color 0.3s ease-in-out, width 0.4s ease-in-out;
}

.step.active::after,
.step.completed::after {
  background-color: #0056b3; /* Color de la barra de progreso */
}

.step-circle {
  width: 50px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  border-radius: 50%;
  background-color: #ced4da;
  color: white;
  font-weight: bold;
  margin-bottom: 0; 
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.step-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #009ffd, #2a2a72);
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease-in-out;
}

.step.active .step-circle::before,
.step.completed .step-circle::before {
  transform: translate(-50%, -50%) scale(1);
}

.step.active .step-circle,
.step.completed .step-circle {
  background-color: #0056b3;
  border-color: #0056b3;
  color: white;
  transform: scale(1.1);
}

.step-label {
  display: block;
  margin-top: 10px; 
  font-size: 14px;
  color: #6c757d;
  transition: color 0.3s ease-in-out;
}

.step.active .step-label,
.step.completed .step-label {
  font-weight: bold;
  color: #0056b3;
}

@media (max-width: 768px) {
  .stepper {
    flex-direction: column;
    align-items: flex-start;
  }

  .step {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }

  .step:not(:last-child)::after {
    content: none;
  }

  .step-circle {
    margin-right: 15px;
  }

  .step-label {
    margin-top: 0;
  }


  .form-select,
  .form-control {
    width: 100%;
    max-width: none;
    margin-bottom: 15px;
  }

  .form-label {
    display: block;
    margin-bottom: 5px;
  }

  /* Ajustar el padding de los contenedores de pasos */
  .form-step {
    padding: 15px;
  }

  /* Hacer que los botones ocupen todo el ancho en m¨®viles */
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Ajustar el espaciado entre elementos del formulario */
  .mb-3 {
    margin-bottom: 1.5rem !important;
  }

  /* Asegurar que los selects tengan suficiente altura para ser tocables */
  select.form-select {
    height: 40px;
  }
}
#toast-cupo-lleno-container {
  z-index: 1050; /* Garantiza que est¨¦ encima de otros elementos */
}

#toast-cupo-lleno .toast-body {
  font-size: 1rem;
  color: white;
}

#toast-cupo-lleno h5 {
  color: white;
  margin-bottom: 0.5rem;
}
