/* MiUcen: auth. Solo se aplica al área de autenticación migrada. */

@media (min-width: 901px) {
    body.miucen-auth .left-panel {
        background-image: url("/javax.faces.resource/login-bg-building-optimized.jpg.xhtml?ln=images");
    }
}

body.miucen-auth .right-panel {
    background: linear-gradient(135deg, var(--oxford-gray) 0%, var(--bg-color) 50%, var(--oxford-gray) 100%);
}

body.miucen-auth .split-layout {
    display: flex;

    min-height: 100vh;
    width: 100%;

    overflow-y: auto;
    overflow-x: hidden;
}


body.miucen-auth .left-panel {
    flex: 1.2;
    position: relative;
    background-color: var(--azul-oxford);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 4vw;
}


body.miucen-auth .overlay-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0, 33, 71, 0.98) 0%, rgba(0, 33, 71, 0.7) 100%);
    z-index: 1;
}


body.miucen-auth .left-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
}


body.miucen-auth .left-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1.5rem 0;
}


body.miucen-auth .red-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin-bottom: 1.5rem;
}


body.miucen-auth .left-content p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    margin: 0;
    line-height: 1.5;
}


body.miucen-auth .right-panel {
    flex: 1;
    background-color: var(--bg-color);
    position: relative;
    height: 100vh;
    overflow-y: auto;
}


body.miucen-auth .right-panel-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
}


body.miucen-auth .login-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
}


body.miucen-auth .login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 33, 71, 0.12);
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


body.miucen-auth .card-header-dark {
    background-color: var(--azul-oxford);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    color: #ffffff;
}


body.miucen-auth .header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}


body.miucen-auth .logo-blanco {
    height: 40px;
    width: auto;
    display: block;
}


body.miucen-auth .icon-shield-container {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}


body.miucen-auth .icon-shield-container i {
    font-size: 1.2rem;
    color: #ffffff;
}


body.miucen-auth .header-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #ffffff;
}


body.miucen-auth .header-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}


body.miucen-auth .header-title-2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0 0;
    color: #ffffff;
}


body.miucen-auth .card-body {
    padding: 0.5rem 2.5rem 2rem 2.5rem;
    background-color: #ffffff;
}


body.miucen-auth .form-section {
    margin-bottom: 1.5rem;
}


body.miucen-auth .checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}


body.miucen-auth .checkbox-group input[type="checkbox"] {
    margin: 0 8px 0 0;
    cursor: pointer;
    width: 14px;
    height: 14px;
}


body.miucen-auth .checkbox-group label {
    font-size: 0.8rem;
    color: var(--oxford-gray);
    cursor: pointer;
}


body.miucen-auth .footer-section {
    text-align: center;
    margin-top: 1.5rem;
}


@media (max-width: 900px) {
    body.miucen-auth .split-layout {
        flex-direction: column;
        overflow-y: auto;
    }
body.miucen-auth .left-panel {
        display: none;
    }
body.miucen-auth .right-panel {
        height: auto;
        overflow-y: visible;
    }
body.miucen-auth .right-panel-wrapper {
        min-height: 100vh;
    }
body.miucen-auth .card-header-dark {
        padding: 1.5rem;
    }
body.miucen-auth .card-body {
        padding: 1.5rem;
    }
}

/* Presentacion extraida de los formularios de autenticacion. */
body.miucen-auth .auth-announcement {
    margin-bottom: 1.2rem;
    padding: 12px 15px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    text-align: center;
}

body.miucen-auth .auth-announcement-icon {
    color: #856404;
    margin-right: 6px;
    font-size: 1.1rem;
}

body.miucen-auth .auth-announcement-text {
    color: #856404;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    display: inline;
}

body.miucen-auth .auth-unavailable {
    padding: 12px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

body.miucen-auth .auth-unavailable-icon {
    margin-right: 6px;
}

body.miucen-auth .auth-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

body.miucen-auth .link-recuperar.auth-navigation-link {
    margin-bottom: 0;
}

body.miucen-auth .auth-navigation-separator {
    color: var(--silver-blue);
    font-size: 0.85rem;
}
