/* Estilos generales */
:root {
    --thm-font: 'DM Sans', sans-serif;
    --thm-manrope-font: 'Manrope', sans-serif;
    --thm-italianno-font: 'Italianno', cursive;
    /*--thm-base: #ed1c24;*/
    --thm-base:#c42026;
    --thm-base-dark:#912024;
    --thm-base-search: #f1f1f1;
    /*--thm-base-rgb: 237, 28, 36;*/
    --thm-base-rgb: 196, 32, 36;
    --thm-primary: #ed1c24;
    --thm-primary-rgb: 237, 28, 36;
    --thm-gray: #939598;
    --thm-gray-rgb: 147, 149, 152;
    --thm-black: #000000;
    --thm-black-rgb: 35, 31, 32;
    --thm-green: #13800f;
    --thm-yellow: #ebab0b;
}        
body {
    font-family: var(--thm-font);
    margin: 0;
    padding: 0;
    /*background-color: #f4f4f4;*/
    color: #555;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    /*background: white;*/
    /*padding: 20px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}
.containerin {
    padding: 20px;
}
.containerin-steps {
    padding: 0 !important;
}
.containerin_header {
    padding: 20px;            
    /*border-bottom: 2px solid var(--thm-base);*/
}                
/* Encabezado */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;            
    width: 100%;
    padding: 15px 0;
}

.contact {
    text-align: right;
}
.contact p {
    margin: 0;
    font-size: 14px;
}
.contact .phone {
    font-size: 18px;
    font-weight: bold;
    color: var(--thm-base);
}




/* Pasos */
.step_return {
    flex: 1; /* Ocupa el mismo ancho */
    padding: 15px 0;
    background: #2d2dc6;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    border-right: 1px solid white; /* Bordes entre los pasos */
}

.step_return:hover {
    background: #1e1e9a;
}

/* Contenedor de los pasos (100% de ancho) */
.steps {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap; /* Permite que los pasos se acomoden en varias líneas si es necesario */
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

/* Cada paso ocupa el mismo espacio */
.step {
    flex: 1; /* Ocupa el mismo ancho */
    padding: 15px 0;
    background: var(--thm-base, #d32f2f); /* Rojo por defecto */
    color: white;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    border-right: 1px solid white; /* Bordes entre los pasos */
}

/* Eliminar el borde del último paso */
.step:last-child {
    border-right: none;
}

/* Enlace dentro del paso */
.step_link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* Pasos inactivos */
.step.inactive {
    background: rgb(232, 232, 232);
    color: rgb(120, 120, 120);
}

/* Efecto hover en pasos activos */
.step:not(.inactive):hover {
    background: #b71c1c;
}

/* 📌 Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .steps, .step_return {
        flex-direction: column; /* Apilar pasos en columnas */
    }
    .step, .step_return {
        width: 100%; /* Cada paso ocupa todo el ancho */
        border-right: none; /* Eliminar bordes entre pasos */
        border-bottom: 1px solid white; /* Agregar separación */
    }
    .step:last-child {
        border-bottom: none;
    }
}








/* Información del curso */
.course-title {
    font-size: 32px;
    /*font-weight: bold;*/
    margin-bottom: 10px;
    color: var(--thm-base);
}
.course-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.course-table th {
    font-size: 12px;
    font-weight: 500;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
.course-table td {
    font-size: 12px;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}        
.course-table th {
    background:rgb(237, 237, 237);
}
.btn-gray {
    color: rgb(224, 224, 224);
    /*font-weight: bold;*/
    text-decoration: none;
    cursor: pointer;
}
.reserve-btn {
    color: red;
    /*font-weight: bold;*/
    text-decoration: none;
    cursor: pointer;
}
p {
    font-size: 14px;
    color: #555;
}

.text-align {
    text-align: center !important;
}

.login-container {
    /*padding: 30px;*/
    width: 350px;
    border-radius: 10px;
    text-align: left;
}

.login-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #b3b3b3;
    transition: 0.3s;
}

.input-group input:focus, .input-group select:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
}

.btn {
    width: 100%;
    padding: 12px;
    background: #d32f2f;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #a91e1e;
}

.new-account {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #a91e1e;
    text-decoration: none;
}        

.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.forgot-password:hover {
    color: #d32f2f;
}        

/* Pie de página */
.footer {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
}
.footer a {
    text-decoration: none;
    margin: 0 10px;
    color: var(--thm-base);
}

/* Estilos para el switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background-color: #4CAF50;
}

input:checked + .slider-switch:before {
    transform: translateX(20px);
}

/* Precio activado */
.precio-activo {
    color: #4CAF50 !important;
    transform: scale(1.1);
}

/* FORM */

/* Contenedor */
.container-carrito-form {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    /*gap: 20px;*/
}

/* Estilos de los formularios */
.form-carrito-form {
    max-width: 350px;
    padding: 10px;
    text-align: center;
}

/* Título */
.form-carrito-form h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Campos de entrada */
.form-carrito-form input, .form-carrito-form select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    font-size: 14px;
}

/* Botón */
.form-carrito-form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: var(--thm-base);
    color: white;
    border: none;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-carrito-form button:hover {
    background-color: var(--thm-base-dark);
}

/* Texto de enlaces */
.form-carrito-form p {
    margin-top: 10px;
    font-size: 12px;
}

.form-carrito-form a {
    color: #4075ad;
    text-decoration: none;
}

.form-carrito-form a:hover {
    text-decoration: underline;
}

/* CONTAINER INFORMACION */

.contenedor-info {
    display: flex;
    gap: 10px; /* Espaciado entre los divs */
}

.caja-info {
    flex: 1; /* Ambos divs ocupan el mismo espacio */
    /*padding: 10px;*/
    /*min-width: 200px;*/ /* Tamaño mínimo */
}

.caja-info p {
    margin: 0;
    padding: 0;
    line-height: 20px !important;
}

.caja-info h2 {
    margin: 15px 0;
    padding: 0;
    font-size: 22px !important;
    line-height: 20px !important;
}

.caja-pago {
    flex: 1; /* Ambos divs ocupan el mismo espacio */
    /*padding: 10px;*/
    /*min-width: 200px;*/ /* Tamaño mínimo */
    /*background-color: #eeeeee;*/
}

/* Hacer que los divs se apilen en pantallas pequeñas */
@media (max-width: 768px) {
    .contenedor-info {
        flex-direction: column;
    }
}



/*******/
.mensaje-exito {
    background-color: #d8ebe1; /* Fondo verde claro */
    color: #1b4332; /* Texto verde oscuro */
    padding: 20px;
    border-radius: 6px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  
  .mensaje-exito h2 {
    margin-top: 0;
    font-weight: bold;
    font-size: 20px;
  }
  
  .mensaje-exito p, .mensaje-exito ul>li{
    margin: 10px 0;
    font-size: 14px;
    color: #305345; /* Un tono más suave para el mensaje secundario */
  }
  
  .mensaje-exito ul>li>a {
    text-decoration: none;
    font-weight: bold;
    color: #1b4332 !important; /* Texto verde oscuro */
  }

  .mensaje-exito hr {
    border: none;
    border-top: 1px solid #b7d0c3;
    margin: 20px 0;
  }
  
  .mensaje-secundario {
    font-size: 14px;
    color: #305345; /* Un tono más suave para el mensaje secundario */
  }