﻿/* ────────────────────────────────────── */
/* Estilos generales */
/* ────────────────────────────────────── */
.auto-style3 {
    color: #0C3A6D;
    font-family: Arial;
    font-size: large;
}

.auto-style4 {
    color: #003366;
}

#TextArea1 {
    width: 224px;
}

.auto-style2 {
    font-weight: bold;
    color: #003366;
    text-align: left;
    font-family: Cambria;
}

#form1 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.auto-style8 {
    color: #742F8B;
    font-weight: bold;
    font-family: Cambria;
}

.auto-style10 {
    width: 836px;
}

.auto-style11 {
    height: 1000px;
    width: 100%;
}

.auto-style12 {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

.auto-style13 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-wrap: break-word;
}

.auto-style14 {
    color: #742F8B;
    font-family: Cambria;
}

.auto-style15 {
    color: #003366;
    font-family: Cambria;
}

.auto-style16 {
    color: #0C3A6D;
    font-family: Cambria;
    font-size: large;
}

.auto-style17 {
    text-align: center;
    width: 625px;
    color: #0C3A6D;
    font-family: Arial;
    font-size: large;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 6px;
    color: #20326B;
}

.form-control {
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    width: 100%;
    box-sizing: border-box;
}

.btn-blue {
    background-color: #fff;
    color: #092E6E;
    border: 1px solid #092E6E;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    height: 42px;
    width: 100%;
    max-width: 200px;
    margin: 24px auto 0;
}

    .btn-blue:hover {
        background-color: #092e6e1f;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.btn-blueAyuda {
    margin-top: -5px;
    color: #20326B;
    border: solid 1px #20326B;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    height: 35px;
    width: 150px;
}

.btn-blueGuardar {
    padding: 12px 44px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 12px auto;
    background-color: #fff;
    color: #092E6E;
    border: 1px solid #092E6E;
    width: 300px;
}

    .btn-blueGuardar:hover {
        background-color: #092e6e1f;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.info-box {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: #20326B;
    line-height: 1.6;
}

.separator {
    height: 1px;
    background-color: #e5e7eb;
    margin: 30px 0 10px;
}

.textarea-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.date-label {
    text-align: center;
    color: #20326B;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 0px;
}

.thankyou-label {
    color: #20326B;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bloque-titulo {
    background-color: #20326B;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 0;
    margin-top: 30px;
    font-family: Cambria;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.preguntas-style {
    margin-bottom: 40px;
}

.respuestas-style {
    margin-bottom: 20px;
    margin-top: 5px;
}

.imgLogo {
    width: 100%;
    height: 180px;
}

.form-btnCargar {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Cards y Contenedores */
.period-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #092E6E;
}

.period-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .calendar-icon svg {
        width: 25px;
        height: 25px;
        fill: #fff;
    }

.period-info-title {
    font-size: 20px;
    font-weight: 600;
    color: #092E6E;
}

.period-info-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.anio-badge {
    background-color: #092e6e29;
    color: #092E6E;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
}

.period-badge {
    background-color: #092e6e29;
    color: #092E6E;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
}

.period-badge-label {
    margin-right: 4px;
}

.cedula-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
    color: #092E6E;
}

.cedula-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cedula-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .cedula-icon svg {
        width: 25px;
        height: 25px;
        fill: #fff;
    }

.cedula-textos {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cedula-title {
    font-size: 20px;
    font-weight: 600;
    color: #092E6E;
}

.cedula-label {
    font-size: 14px;
    color: #4B5563;
}

.cedula-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.cedula-input {
    flex: 1;
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    box-sizing: border-box;
    min-width: 200px;
}

.btn-cargar {
    background-color: #fff;
    color: #092E6E;
    border: 1px solid #092E6E;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .btn-cargar:hover {
        background-color: #092e6e1f;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .btn-cargar svg {
        width: 16px;
        height: 16px;
        fill: #092E6E;
    }

.seleccion-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
    color: #092E6E;
}

.seleccion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.book-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .book-icon svg {
        width: 25px;
        height: 25px;
        fill: #fff;
    }

.seleccion-textos {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.seleccion-title {
    font-size: 20px;
    font-weight: 600;
    color: #092E6E;
}

.seleccion-subtitle {
    font-size: 14px;
    color: #4B5563;
}

.tipo-evaluacion-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tipo-evaluacion-label {
    color: #092E6E;
    font-size: 14px;
    font-weight: 500;
}

.tipo-evaluacion-dropdown {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    color: #092E6E;
    font-weight: 500;
    background-color: #fff;
    cursor: pointer;
}

@media only screen and (max-width: 590px) {
    body {
        margin: 0;
        padding: 0;
    }

    #form1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .imgLogo {
        width: 100vw !important;
        height: 120px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .auto-style12 {
        padding: 0 15px !important;
        margin-top: 15px !important;
    }

    .forms {
        margin: 5px;
        padding: 5px;
    }

    .auto-style13 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        width: 100% !important;
    }

        .auto-style13 td {
            display: inline-flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            padding: 5px !important;
            width: auto !important;
        }

        .auto-style13 input[type="radio"] {
            margin: 0 4px 0 0 !important;
        }

        .auto-style13 label {
            display: inline-block !important;
            font-size: 14px !important;
            line-height: 1.2 !important;
            white-space: nowrap;
            margin: 0 !important;
        }

        .auto-style13 tr {
            display: contents !important;
        }

    .period-info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .period-info-badges {
        width: 100%;
        gap: 6px;
        display: flex;
        flex-wrap: wrap;
        font-size: 16px;
    }

    .anio-badge {
        width: auto;
        height: auto;
        font-size: 15px;
        padding: 3px 8px;
    }

    .period-badge {
        width: auto;
        height: auto;
        font-size: 15px;
        padding: 3px 8px;
    }

    .period-badge-label {
        font-size: 16px;
    }

    .btn-cargar {
        width: 100%;
        justify-content: center;
    }

    .tipo-evaluacion-container {
        font-size: 12px;
    }

    .tipo-evaluacion-dropdown {
        font-size: 12px;
        padding: 4px 8px;
    }

    .seleccion-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .seleccion-textos {
        width: 100%;
    }

    .cedula-textos {
        width: 100%;
    }

    .auto-style10, .auto-style12 {
        width: 100% !important;
        height: auto !important;
    }

    .form-row:not(.row-inline) {
        flex-direction: column !important;
    }

        .form-row:not(.row-inline) .form-column {
            width: 100% !important;
        }

    img {
        max-width: 100%;
        height: auto;
    }

    .btn-blue {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-blueAyuda {
        margin-top: 10px !important;
        width: 100% !important;
    }

    .btn-blueGuardar {
        margin-top: 8px;
        margin-bottom: 8px;
        width: 100% !important;
    }

    .thankyou-label {
        margin-bottom: 8px;
    }

    .date-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .info-box {
        font-size: 14px !important;
    }

    .bloque-titulo {
        font-size: 14px !important;
    }

    .preguntas-style {
        margin-bottom: 20px !important;
    }

    .textarea-control {
        min-height: 80px !important;
    }

    .year-period-text {
        font-size: 15px !important;
    }

    .form-btnCargar {
        max-width: 100%;
        padding: 0 10px;
    }

    .footer-row {
        gap: 10px;
        max-width: 100%;
        padding: 0;
    }

    .form-control {
        background-color: #fff;
    }
}

.swal-title-custom {
    color: #002e6d !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.swal-text-custom {
    color: #002e6d !important;
    font-size: 16px !important;
}

.swal-btn-success {
    background-color: #fff !important;
    color: #002e6d !important;
    border: 1px solid #002e6d !important;
    border-radius: 5px !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
}

    .swal-btn-success:hover {
        background-color: rgba(0, 46, 109, 0.75) !important;
        color: #fff !important;
    }

    .swal-btn-success:focus {
        outline: none !important;
        box-shadow: none !important;
    }

.swal-container-custom {
    position: absolute !important;
    z-index: 10000 !important;
}

.swal2-popup {
    border-radius: 8px !important;
}