﻿/*.login-layout {
    max-width: 1000px;
    margin: 20px auto;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.login-main {
    flex: 3;
    background: #ffffff;
    padding: 40px;
}

.quick-links {
    flex: 1;
    background: #1f2d3d;
    color: white;
    padding: 30px 20px;
}

    .quick-links h2 {
        margin-top: 0;
        margin-bottom: 25px;
        font-size: 32px;
        font-weight: 500;
    }

.portal-title {
    font-size: 42px;
    font-weight: 700;
    color: #005f99;
    margin-bottom: 12px;
}

.portal-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.campo {
    margin-bottom: 20px;
}

    .campo label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 16px;
    }

.txtrq,
.ddlrq {
    width: 100% !important;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}

.captcha-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.captcha-control {
    flex: 1;
}

.captcha-help {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.login-actions {
    margin-top: 25px;
}*/

/*.btn-login {
    width: 100%;
    height: 46px;
    background: #005f99;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

    .btn-login:hover {
        background: #004a78;
    }*/

/*.btn-login {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    background: #005f99 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 25px !important;
    display: block !important;
    box-sizing: border-box !important;
}

    .btn-login:hover {
        background: #004a78 !important;
    }

.quick-btn,
.quick-btn-link {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
    background: #5f7d98;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

    .quick-btn:hover,
    .quick-btn-link:hover {
        background: #7794ae;
        text-decoration: none;
    }

.info-detalle {
    margin-top: 20px;
}

    .info-detalle summary {
        cursor: pointer;
        padding: 12px;
        border-radius: 6px;
        background: rgba(255,255,255,.12);
        font-weight: 600;
    }

.info-contenido {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.btn-adobe {
    display: inline-block;
    padding: 10px 16px;
    background: #d32f2f;
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
}

    .btn-adobe:hover {
        background: #b71c1c;
    }

@media screen and (max-width: 900px) {

    .login-layout {
        flex-direction: column;
        margin: 10px;
    }

    .login-main,
    .quick-links {
        width: 100%;
    }

    .portal-title {
        font-size: 32px;
    }
}

.sitio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.10);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
    color: white !important;
    text-decoration: none;
    transition: .2s ease;
}

    .sitio-card:hover {
        background: rgba(255,255,255,.18);
    }

.sitio-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 2px;
}

.sitio-card span {
    font-size: 13px;
    font-weight: 600;
}

.quick-links-footer {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.enlaces-externos-titulo {
    margin-bottom: 15px;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}*/


/* ===== LAYOUT PRINCIPAL DEL LOGIN ===== */
.login-layout {
    max-width: 1000px;
    margin: 20px auto;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    width: 100%;
    box-sizing: border-box;
}

.login-main {
    flex: 3;
    background: #ffffff;
    padding: 40px;
    box-sizing: border-box;
}

.quick-links {
    flex: 1;
    background: #1f2d3d;
    color: white;
    padding: 30px 20px;
    box-sizing: border-box;
}

    .quick-links h2 {
        margin-top: 0;
        margin-bottom: 25px;
        font-size: 28px;
        font-weight: 500;
    }

.portal-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: #005f99;
    margin-bottom: 12px;
    line-height: 1.2;
}

.portal-subtitle {
    color: #666;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 30px;
    line-height: 1.4;
}

/* ===== CAMPOS DE TEXTO ===== */
.campo {
    margin-bottom: 20px;
    width: 100%;
}

    .campo label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 16px;
    }

.txtrq,
.ddlrq {
    width: 100% !important;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}

/* ===== CAPTCHA ===== */
.captcha-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap; /* Para que en móviles la imagen no se aplaste con el campo */
}

.captcha-control {
    flex: 1;
    min-width: 200px;
}

.captcha-help {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* ===== BOTÓN CONÉCTATE ===== */
.login-actions {
    margin-top: 25px;
    width: 100%;
}

.btn-login {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    background: #005f99 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: block !important;
    box-sizing: border-box !important;
}

    .btn-login:hover {
        background: #004a78 !important;
    }

/* ===== ENLACES Y TARJETAS LATERALES ===== */
.quick-btn,
.quick-btn-link {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
    background: #5f7d98;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

    .quick-btn:hover,
    .quick-btn-link:hover {
        background: #7794ae;
        text-decoration: none;
    }

.info-detalle {
    margin-top: 20px;
}

    .info-detalle summary {
        cursor: pointer;
        padding: 12px;
        border-radius: 6px;
        background: rgba(255,255,255,.12);
        font-weight: 600;
    }

.info-contenido {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.btn-adobe {
    display: inline-block;
    padding: 10px 16px;
    background: #d32f2f;
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
}

    .btn-adobe:hover {
        background: #b71c1c;
    }

.sitio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.10);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
    color: white !important;
    text-decoration: none;
    transition: .2s ease;
}

    .sitio-card:hover {
        background: rgba(255,255,255,.18);
    }

.sitio-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 2px;
}

.sitio-card span {
    font-size: 13px;
    font-weight: 600;
}

.quick-links-footer {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.enlaces-externos-titulo {
    margin-bottom: 15px;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ADAPTABILIDAD PARA MÓVILES Y TABLETS (RESPONSIVE) ===== */
@media screen and (max-width: 850px) {
    .login-layout {
        flex-direction: column !alignment;
        margin: 10px auto;
        border-radius: 8px;
        box-shadow: none;
        border: 1px solid #e1e8ed;
    }

    .login-main {
        width: 100%;
        padding: 20px 15px; /* Reduce padding para ganar espacio en pantalla chica */
    }

    .quick-links {
        width: 100%;
        padding: 20px 15px;
    }

    .captcha-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .captcha-control {
        width: 100%;
    }
}