:root {
    --brand-color: #05C3BB;
    --brand-dark: #00b1aa;
    --text-muted: #6c757d;
    --ike-color-dark-blue: #004D87FF;
    --ike-color-light-blue: #4A90CEFF;
    --ike-color-orange: #F9BA61FF;
}

.footer, .header{
    background: #EB0029;
}

.position-footer{
    bottom: 0;
}
.background-header{
    width: 100%;
    height: 64px;
    background-repeat: repeat-x;
    background-image: url('../img/icon-header.webp');
    background-size: 43.5px 64px;
}

.bg-ike-dark-blue{
    background-color: var(--ike-color-dark-blue);
}
.bg-ike-color-light-blue{
    background-color: var(--ike-color-light-blue);
}
.bg-ike-color-orange{
    background-color: var(--ike-color-orange);
}

.logo{
    width: 100%;
    max-width: 290px;
}

.btn-danger{
    background-color: #EB0029!important;
    border-color: #EB0029!important;
}

.text-primary{
    color: #4e4044!important;
}

p, h2, h4, span, strong{
    color: #4e4044;
}

.bg-danger{
    background-color: #EB0029 !important;
}

.btn-light{
    color: #fff;
    background-color: #000!important;
}

.row{
    margin-right: 0px!important;
    margin-left: 0px!important;
}


.swal-button {
    background-color: #EB0029!important;
}

.container-fluid{
    padding-right: 0px!important;
    padding-left: 0px!important;
}

a:hover{
    color: #fff;
}

.logo-visa{
    width: 40px;
}

.msgError{
    display: none;
    background-color: #EB0029;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

/*Asistencias */

.assistance-card {
    cursor: pointer;
    border: 1px solid black;
    border-radius: 5px;
    transition: background-color 0.3s, border-color 0.3s;
}
.assistance-card.selected {
    border: 2px solid #EB0029;
    background-color: #fff;
}

/*Estilos form datos titular*/

.ocultar{
    display: none;
}

.active-boton{

    background: #000 !important;
    border: 1px solid black !important;
    color: white;

}

/*Estilos carrito */

#cerrar {
    border: none !important;
    background: none !important;
    font-size: 1.5rem;
    position: absolute !important;
    top: -6px;
    right: 4px;
    cursor: pointer !important;
}

#cruz{
    color: #EB0029 !important;
    font-weight: bold;
}

.plan-item{
    padding: 0px !important;
}

/*inputs CSS*/

.form-control {
    display: block;
    width: 100% !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: none !important;
    border-bottom: 1px solid #ced4da !important;
    border-radius: 0 !important; 
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.form-control:focus {
    border-color: #EB0029 !important;
    outline: 0 !important;
    box-shadow: 0 1px 0 0 #EB0029 !important; 
}


.container-motor-cobros {
    border:3px solid #EB0029 !important;
    box-shadow: 0 1px 0 0 #EB0029 !important;
    padding: 1rem;
    margin-bottom: 3rem;
}

.security-check {
    margin-top: 20px; /* Espacio entre los campos de entrada y el mensaje de seguridad */
    align-items: center; /* Alinea verticalmente el ícono y el texto */
    justify-content: center; /* Centra el contenido horizontalmente */
    display: flex; /* Utiliza flexbox para un diseño flexible */
    gap: 10px; /* Espacio entre el ícono y el texto */
    font-size: 12px;
}

/* Estilo de los contenedores con etiqueta en el borde */
.custom-fieldset {
    position: relative;
    border: 2px solid var(--ike-color-dark-blue);
    border-radius: 8px;
    padding: 25px 20px 20px 20px;
    margin-bottom: 40px;
}

.custom-fieldset .fieldset-label {
    position: absolute;
    top: -21px;
    font-size: 1.5rem;
    left: 20px;
    background: white;
    padding: 0 10px;
    color: var(--ike-color-dark-blue);
    font-weight: 600;
}

/* --- ESTILOS DE LAS OPCIONES DE PAGO --- */
.payment-option-card {
    border: 2px solid #e9ecef;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ocultar el radio button real */
.payment-option-input {
    display: none;
}

/* Estado Hover */
.payment-option-card:hover {
    border-color: #b2dfdb;
    background-color: #f0fdfc;
}

/* Estado Seleccionado */
.payment-option-input:checked + .payment-option-card {
    border-color: var(--brand-color);
    background-color: #e0f7fa;
    box-shadow: 0 4px 12px rgba(0, 191, 178, 0.2);
}

.payment-option-input:checked + .payment-option-card .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* --- Efecto de Fuego para la tarjeta de 12 Meses --- */
@keyframes fire-flicker {
    0% { box-shadow: 0 0 10px rgba(255, 100, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 165, 0, 0.8), 0 0 5px rgba(255, 255, 0, 0.5); }
    100% { box-shadow: 0 0 10px rgba(255, 100, 0, 0.5); }
}

.payment-option-input:checked + .fire-card {
    border-color: #ff6b00;
    background: linear-gradient(to bottom right, #fff9f5, #ffe0b2);
    animation: fire-flicker 1s infinite alternate;
}

.fire-card .fire-icon {
    display: none;
    color: #ff6b00;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.fire-card .fire-icon.left { left: 10px; }
.fire-card .fire-icon.right { right: 10px; }

.payment-option-input:checked + .fire-card .fire-icon {
    display: block;
}

.payment-option-input:checked + .fire-card .check-icon {
    color: #ff6b00;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.price-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Botón Activar */
.btn-brand {
    background-color: var(--brand-color);
    color: white;
    border: none !important;
    padding: 12px 40px;
    border-radius: 0;
    transition: background 0.3s;
}
.btn-brand:hover, .btn-brand:active, .btn-brand:focus {
    background-color: var(--brand-dark) !important;
    color: white !important;
}

.cursor-pointer {
    cursor: pointer;
}