:root {
    --primary-color: #2C5AA0;
    --secondary-color: #FF6B00;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #e1e1e1;
    --text-color: #333;
    --text-light: #666;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white: #fff;
    --black: #000;
}
/* Estilos base para el video splash */
.video-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    opacity: 1;
}

    .video-splash.hidden {
        opacity: 0;
        pointer-events: none;
    }

.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16/9;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        outline: none;
    }

/* Estilos para la secciÃ³n partner-cta-section */
.partner-cta-section {
    background-color: var(--primary-color);
    text-align: center;
    padding: 20px;
    margin: 0 auto;
}

.partner-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-cta-title {
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.partner-cta-text {
    color: #ffffff;
    background-color: rgb(44, 90, 160);
    opacity: 1;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 500;
}

.btn-partner {
    background-color: #b35300;
    color: #ffffff;
    transition: background-color 0.3s ease;
    border: none;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

    .btn-partner:hover,
    .btn-partner:focus {
        background-color: #8a4100;
        outline: none;
        color: #fff;
    }

/* Estilos responsivos */
@media (max-width: 768px) {
    .partner-cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .partner-cta-title {
        font-size: 1.75rem;
    }

    .btn-partner {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
/* Estilos para los botones de control */
/* Contenedor principal del video */
.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto; /* Centrado horizontal */
    overflow: hidden; /* Para que los botones no sobresalgan */
}

/* Estilos para los botones de control */
.video-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    z-index: 100;
}

.skip-btn, .sound-btn {
    position: absolute;
    pointer-events: auto; /* Permite hacer clic en los botones */
    font-size: 16px;
    color: white;
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    margin: 0; /* Elimina mÃ¡rgenes por defecto */
}

    /* Estilo del texto con borde */
    .skip-btn span, .sound-btn span {
        padding: 6px 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 30px;
        transition: all 0.3s ease;
        background-color: rgba(0, 0, 0, 0.3); /* Fondo semitransparente */
        margin: 15px; /* Margen desde los bordes */
    }

/* Posicionamiento preciso contra los bordes */
.skip-btn {
    right: 0;
    bottom: 0;
}

.sound-btn {
    left: 0;
    bottom: 0;
}

    /* Ajustes para hover */
    .skip-btn:hover span, .sound-btn:hover span {
        background-color: rgba(0, 0, 0, 0.6);
        transform: scale(1.05);
    }

/* Estilos responsivos */
@media (max-width: 768px) {
    .skip-btn span, .sound-btn span {
        padding: 5px 10px;
        font-size: 14px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 100%;
        height: 100vh;
        max-width: none;
        aspect-ratio: unset;
    }

    .skip-btn span, .sound-btn span {
        padding: 4px 8px;
        font-size: 12px;
        margin: 8px;
    }
}
/* Estilo base para modal-xl: limitar ancho máximo y usar % para pantallas pequeñas */
#partnerModal.modal-xl .modal-dialog {
    max-width: 1140px; /* valor estándar de modal-xl */
    width: 90vw; /* 90% del ancho viewport para pantallas pequeñas */
    margin: 1.75rem auto;
}

/* Para pantallas medianas en adelante, reducir ancho progresivamente */
@media (min-width: 576px) {
    #partnerModal.modal-xl .modal-dialog {
        width: 80vw;
    }
}

@media (min-width: 768px) {
    #partnerModal.modal-xl .modal-dialog {
        width: 75vw;
    }
}

@media (min-width: 992px) {
    #partnerModal.modal-xl .modal-dialog {
        width: 70vw;
    }
}

@media (min-width: 1200px) {
    #partnerModal.modal-xl .modal-dialog {
        width: 60vw;
    }
}

/* Control de altura y scroll interno */
#partnerModal .modal-body {
    max-height: 75vh;
    
}

/* === Estilos Globales para el Modal de Partners === */
#partnerModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

/* === Modal Header === */
#partnerModal .modal-header {
    border-bottom: none;
    background-color: #0056b3 !important;
    color: white !important;
}

/* === TÃ­tulos de secciones === */
#partnerModal .step-title,
#partnerModal h3,
#partnerModal h4,
#partnerModal h5 {
    font-weight: 600;
    color: #333 !important;
}

/* === Formularios === */
#partnerModal input[type="text"],
#partnerModal input[type="email"],
#partnerModal input[type="password"],
#partnerModal input[type="tel"],
#partnerModal select,
#partnerModal textarea {
    border-radius: 0.5rem !important;
    border: 1px solid #ccc !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    width: 100% !important;
}

    #partnerModal input:focus,
    #partnerModal select:focus,
    #partnerModal textarea:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
    }

/* === Botones === */
/*#partnerModal .btn {
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.25rem !important;
    margin-inline:auto;
}*/

#partnerModal .btn-lg {
    font-size: 1.1rem !important;
}

#partnerModal .btn-outline-primary {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
}

    #partnerModal .btn-outline-primary:hover {
        background-color: #0d6efd !important;
        color: white !important;
    }

/* === Dropzones === */
#partnerModal .dropzone {
    border: 2px dashed #ccc;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

    #partnerModal .dropzone:hover {
        border-color: #0d6efd;
        background-color: #f8f9fa;
    }

/* === Previews de archivos === */
#partnerModal #fileList,
#partnerModal #ine-file-list,
#partnerModal #comprobante-file-list,
#partnerModal #constancia-file-list {
    gap: 0.5rem;
    display: flex;
}

/*#partnerModal .form-navigation button {
    min-width: 140px;
}*/

/* === Estados (resumen, aprobado, rechazado) === */
#partnerModal .alert {
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

#partnerModal .alert-success {
    background-color: #e7f9ed !important;
    color: #198754 !important;
}

#partnerModal .alert-info {
    background-color: #e8f4fd !important;
    color: #0d6efd !important;
}

#partnerModal .alert-danger {
    background-color: #fcebea !important;
    color: #dc3545 !important;
}

/* === Responsividad === */
@media (max-width: 768px) {
    #partnerModal .modal-dialog {
        margin: 0.5rem !important;
    }

    #partnerModal .modal-content {
        padding: 1rem !important;
    }

    #partnerModal h4,
    #partnerModal h5 {
        font-size: 1.2rem !important;
    }

    #partnerModal .btn {
        font-size: 0.95rem !important;
    }

    #partnerModal .form-step {
        padding: 0.5rem !important;
    }
}

/* === Prioridad alta para evitar sobreescrituras === */
#partnerModal * {
    box-sizing: border-box !important;
}
/* === Estilo para truncar nombres de archivos largos === */
#partnerModal .file-name-truncated {
    display: inline-block;
    max-width: 150px; /* puedes ajustar segÃºn diseÃ±o */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}


/* Estilos para content-block.callout-section */
.content-block.callout-section {
    padding: 3rem 1rem;
    background-color: #f9faff;
}

/* TÃ­tulo principal */
.display-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

    .display-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--secondary-color);
    }

/* Texto destacado */
.lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1rem;
}

/* Listas */
.feature-list,
.check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

    .feature-list li,
    .check-list li {
        position: relative;
        padding-left: 1.8rem;
        margin-bottom: 0.6rem;
        font-size: 1rem;
        color: #222;
    }

/* Encabezados secundarios */
h4.text-secondary {
    font-size: 1.25rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 1rem;
}

/* Caja de contacto */
.contact-box {
    background-color: #e6f0ff;
    border: 1px solid #a6c8ff;
    box-shadow: 0 4px 8px rgb(46 84 163 / 0.15);
    color: #2c5aa0;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid var(--secondary-color);
}

    .contact-box h4 {
        font-weight: 700;
    }

    .contact-box p {
        font-size: 1rem;
    }

    .contact-box a {
        color: #1e3a8a;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-box a:hover,
        .contact-box a:focus {
            text-decoration: underline;
            outline: none;
        }

/* Texto centrado */
.text-center.fs-5.fw-semibold {
    font-weight: 600;
    font-size: 1.25rem;
    color: #2c5aa0;
}

/* Media queries para responsividad */
@media (min-width: 768px) {
    .display-title {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) {
    .display-title {
        font-size: 3rem;
    }
}

@media (max-width: 575.98px) {
    .contact-box {
        padding: 1rem 1.5rem;
    }

    .lead,
    .feature-list li,
    .check-list li {
        font-size: 1rem;
    }
}
/* Estilos para el botón de toggle */
#toggleCoberturaBtn {
    transition: all 0.3s ease;
}

/* Estilos para el contenedor de municipios */
#municipios-cobertura-container {
    max-height: 300px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* Estilos para el resumen con badges */
#resumenZonas .badge {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
    font-weight: normal;
}

/* Efecto hover para los checkboxes */
.municipio-checkbox:hover + label {
    color: #0d6efd;
}