/* Solicitud de acceso a la UNAC (SIR/SolicitudAcceso.aspx). Mismo lenguaje visual de SoporteSistema:
   panel azul con ilustración a la izquierda y tarjeta con el formulario a la derecha. */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 14px;
    color: #1f2d3d;
    background: #f4f6fa;
}

[hidden] {
    display: none !important;
}

.sa-layout {
    display: flex;
    min-height: 100vh;
}

/* ---------- PANEL IZQUIERDO ---------- */
.sa-info {
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    flex: 0 0 50%;
    color: #fff;
    padding: 28px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #295884;
    background-image: url('../../../Account/Content/Imagenes/fondo.svg');
    background-size: auto;
    background-position: bottom;
    overflow: hidden;
}

    .sa-info::after {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        background: rgba(255, 255, 255, .05);
        border-radius: 50%;
        bottom: -140px;
        left: -140px;
        pointer-events: none;
    }

.sa-info-logo {
    width: 210px;
    max-width: 60%;
    align-self: center;
    margin-bottom: 6px;
}

.sa-info-ilustracion {
    flex: 0 1 auto;
    min-height: 0;
    text-align: center;
}

    .sa-info-ilustracion img {
        width: 100%;
        max-width: 390px;
        max-height: 38vh;
        object-fit: contain;
    }

.sa-info-texto h2 {
    margin: 4px 0 6px;
    font-size: 26px;
    color: #F5A800;
    text-align: center;
}

.sa-info-texto p {
    margin: 0 0 14px;
    font-size: 15px;
    text-align: center;
    opacity: .88;
}

.sa-pasos {
    list-style: none;
    margin: 0 auto;
    padding: 14px 18px;
    max-width: 440px;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
}

    .sa-pasos li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        padding: 5px 0;
        opacity: .92;
    }

    .sa-pasos span {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #F5A800;
        color: #1d3b67;
        font-weight: 700;
        text-align: center;
        line-height: 24px;
    }

.sa-info-pie {
    margin: 14px 0 0;
    font-size: 11px;
    text-align: center;
    opacity: .65;
    position: relative;
    z-index: 1;
}

    .sa-info-pie a {
        color: #fff;
        text-decoration: underline;
    }

/* ---------- PANEL DERECHO ---------- */
.sa-form-panel {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 24px;
    position: relative;
    min-width: 0;
}

    .sa-form-panel::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 55%;
        background: url('../../../Content/Imagenes/Logo_UNAC/Logo.png') no-repeat right center;
        background-size: contain;
        opacity: .05;
        pointer-events: none;
    }

.sa-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 780px;
    height: fit-content;
    background: #fff;
    padding: 28px 30px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .07);
}

.sa-barra {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 6px;
}

.sa-volver {
    padding: 6px 8px;
    color: #295884;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .sa-volver i {
        margin-right: 6px;
    }

    .sa-volver:hover {
        text-decoration: underline;
    }

.sa-encabezado h1 {
    margin: 0 0 4px;
    font-size: 25px;
    color: #1d3b67;
}

.sa-encabezado p {
    margin: 0 0 18px;
    color: #6c757d;
}

/* Selector Individual / Grupo */
.sa-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    margin-bottom: 18px;
    background: #eef2f8;
    border-radius: 12px;
}

.sa-tab {
    flex: 1;
    padding: 11px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #4a5b73;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

    .sa-tab i {
        margin-right: 8px;
    }

    .sa-tab:hover {
        color: #1d3b67;
    }

    .sa-tab.activo {
        background: #fff;
        color: #295884;
        box-shadow: 0 2px 8px rgba(41, 88, 132, .16);
    }

.sa-aviso {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #fff6dc;
    border-left: 4px solid #F5A800;
    color: #5c4300;
}

    .sa-aviso i {
        margin-top: 2px;
        color: #c98a00;
    }

.sa-subtitulo {
    margin: 6px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8edf4;
    font-size: 16px;
    color: #1d3b67;
}

    .sa-subtitulo i {
        margin-right: 8px;
        color: #295884;
    }

    .sa-subtitulo small {
        font-weight: 400;
        color: #6c757d;
    }

/* Campos */
.sa-fila {
    display: flex;
    gap: 16px;
}

.sa-campo {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 16px;
}

    .sa-campo label {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        font-weight: 600;
    }

        .sa-campo label span {
            color: #d93025;
        }

    .sa-campo input,
    .sa-campo select,
    .sa-campo textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #e1e6ef;
        border-radius: 10px;
        background: #fff;
        font-family: inherit;
        font-size: 14px;
        color: #1f2d3d;
        transition: all .2s ease;
    }

    .sa-campo textarea {
        resize: none;
    }

        .sa-campo input:focus,
        .sa-campo select:focus,
        .sa-campo textarea:focus {
            border-color: #295884;
            box-shadow: 0 0 0 3px rgba(41, 88, 132, .12);
            outline: none;
        }

        .sa-campo input.invalido,
        .sa-campo select.invalido,
        .sa-campo textarea.invalido {
            border-color: #d93025;
            box-shadow: 0 0 0 3px rgba(217, 48, 37, .1);
        }

.sa-campo-boton {
    display: flex;
    align-items: flex-end;
}

/* Acompañantes */
.sa-acomp-form {
    padding: 16px 16px 0;
    margin-bottom: 14px;
    background: #f8fafc;
    border: 1px dashed #cfd8e3;
    border-radius: 12px;
}

.sa-tabla-wrap {
    overflow-x: auto;
    margin-bottom: 22px;
    border: 1px solid #e8edf4;
    border-radius: 10px;
}

.sa-tabla {
    width: 100%;
    border-collapse: collapse;
}

    .sa-tabla th {
        padding: 10px 12px;
        background: #f1f5fb;
        color: #1d3b67;
        font-size: 12px;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .sa-tabla td {
        padding: 10px 12px;
        border-top: 1px solid #eef2f8;
    }

        .sa-tabla td small {
            display: block;
            color: #6c757d;
        }

    .sa-tabla .sa-vacio {
        text-align: center;
        color: #6c757d;
        padding: 18px;
    }

.sa-col-accion {
    width: 54px;
}

.sa-quitar {
    border: 0;
    border-radius: 8px;
    padding: 7px 10px;
    background: #fdecea;
    color: #d93025;
    cursor: pointer;
}

    .sa-quitar:hover {
        background: #d93025;
        color: #fff;
    }

/* Términos */
.sa-terminos {
    margin: 6px 0 20px;
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 12px;
}

    .sa-terminos h4 {
        margin: 0 0 4px;
        font-size: 15px;
        color: #1d3b67;
    }

    .sa-terminos p {
        margin: 0 0 10px;
        font-size: 13px;
        line-height: 1.5;
    }

    .sa-terminos a {
        color: #295884;
        font-weight: 600;
    }

.sa-terminos-aviso {
    color: #e0560b;
}

    .sa-terminos-aviso i {
        margin-right: 6px;
    }

.sa-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

    .sa-check input {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin: 1px 0 0;
        accent-color: #295884;
    }

/* Botones */
.sa-boton,
.sa-boton-sec {
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

    .sa-boton i,
    .sa-boton-sec i {
        margin-right: 8px;
    }

.sa-boton {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, #295884, #1d3b67);
}

    .sa-boton:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, .16);
    }

    .sa-boton:disabled {
        opacity: .7;
        cursor: wait;
    }

.sa-boton-sec {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: #295884;
    background: #e8f0fa;
}

    .sa-boton-sec:hover {
        background: #295884;
        color: #fff;
    }

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 1000px) {
    .sa-layout {
        flex-direction: column;
    }

    .sa-info {
        position: relative;
        width: 100%;
        height: auto;
        flex: none;
        padding: 22px 20px 18px;
    }

    .sa-info-ilustracion img {
        max-width: 230px;
        max-height: 190px;
    }

    .sa-info-texto h2 {
        font-size: 21px;
    }

    .sa-pasos,
    .sa-info-pie {
        display: none;
    }

    .sa-form-panel {
        padding: 14px;
    }

        .sa-form-panel::after {
            width: 100%;
        }

    .sa-card {
        padding: 20px 16px;
    }
}

@media screen and (max-width: 600px) {
    .sa-fila {
        flex-direction: column;
        gap: 0;
    }

    .sa-col-tel {
        display: none;
    }

    .sa-tab {
        font-size: 13px;
    }
}
