.login-body{
    margin:0;
    overflow:hidden;
}

.login-home{
    height:100vh;
    display:grid;
    grid-template-columns:46% 54%;
    background:#dfb7c2;
}

.login-panel{
    height:100vh;
    display:flex;
    justify-content:center;
    background:#dfb7c2;
}

.login-content{
    width:360px;
    height:100vh;
    display:flex;
    flex-direction:column;
}

.login-logo small{
    display:block;
    font-family:Arial,sans-serif;
    font-size:7px;
    font-weight:700;
    text-transform:uppercase;
    margin-left:52px;
    margin-top:-2px;
}

.login-center{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transform:translateY(-25px);
}

.login-content h1{
    font-size:35px;
    line-height:1.03;
    font-weight:400;
    margin:0 0 12px;
    color:#111;
}

.login-content p{
    font-size:13px;
    line-height:1.35;
    margin:0 0 25px;
    color:#111;
}

#loginform p{
    margin:0 0 14px;
}

#loginform label,
.mi-perfil-form label{
    display:block;
    font-size:13px;
    font-weight:600;
    margin-bottom:5px;
    color:#111;
}

#loginform input[type="text"],
#loginform input[type="password"],
.mi-perfil-form input[type="text"],
.mi-perfil-form input[type="password"]{
    width:100%;
    height:42px;
    border:0;
    border-radius:5px;
    padding:0 14px;
    background:#fff;
    box-sizing:border-box;
    font-family:Youth-Bold,sans-serif;
    font-size: 13px;
}

.login-remember{
    margin-top:4px !important;
    margin-bottom:12px !important;
}

.login-remember label{
    display:flex !important;
    align-items:center;
    gap:5px;
    font-size:11px !important;
    font-weight:400 !important;
}

.login-submit,
.mi-perfil-submit{
    margin-top:8px !important;
}

#wp-submit{
    width:100%;
    height:42px;
    border:0;
    border-radius:5px;
    background:#c66773;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    font-size: 13px;
}

.login-access{
    margin-top:5px;
    text-align:center;
    font-size:12px;
}

.login-access a{
    color:#111;
    font-weight:700;
    text-decoration:underline;
}

.login-image{
    height:100vh;
    background-image:url('../images/login.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat:no-repeat;
}


.access-page{
    height:100vh;
    display:grid;
    grid-template-columns:45% 55%;
    background:#dfb7c2;
    overflow:hidden;
}

.access-panel{
    height:100vh;
    display:flex;
    justify-content:center;
}

.access-content{
    width:390px;
    height:100vh;
    display:flex;
    flex-direction:column;
}

.access-content .login-logo{
    padding-top:48px;
    font-family:cursive;
    font-size:44px;
    line-height:.85;
    margin:0;
}

.access-content .login-logo small{
    display:block;
    font-family:Arial,sans-serif;
    font-size:7px;
    font-weight:700;
    text-transform:uppercase;
    margin-left:50px;
    margin-top:-2px;
}

.access-center{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transform:translateY(-25px);
}

.access-center h1{
    font-size:36px;
    line-height:1;
    font-weight:500;
    margin:0 0 18px;
}

.access-center p{
    font-size:13px;
    line-height:1.35;
    margin:0 0 24px;
    max-width:360px;
}

.access-form label{
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:5px;
}

.access-form input,
.access-form select{
    width:100%;
    height:42px;
    border:0;
    border-radius:5px;
    background:#fff;
    padding:0 14px;
    box-sizing:border-box;
    font-size:13px;
    margin-bottom:13px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.access-form button{
    width:100%;
    height:43px;
    border:0;
    border-radius:5px;
    background:#c66773;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    font-size: 13px;
    margin-top:4px;
}

.access-steps{
    margin-top:18px;
    background:#fff;
    border-radius:6px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:13px 12px;
    gap:8px;
}

.access-steps div{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:11px;
    line-height:1.1;
}

.access-steps span{
    color:#c66773;
    font-size:18px;
}

.access-image{
    height:100vh;
    background-image:url('../images/login.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat:no-repeat;
}

.login-alert{
    background:#fff1f1;
    color:#b42318;
    border-left:4px solid #c66773;
    padding:10px 12px;
    border-radius:5px;
    font-size:12px;
    margin-bottom:14px;
}

.form-response{
    display:none;
    padding:11px 13px;
    border-radius:6px;
    font-size:12px;
    line-height:1.35;
    margin-bottom:14px;
}

.form-response.success,
.form-response.error{
    display:block;
}

.form-response.success{
    background:#fff;
    color:#1f7a3f;
    border-left:4px solid #1f7a3f;
}

.form-response.error{
    background:#fff1f1;
    color:#b42318;
    border-left:4px solid #c66773;
}

.access-form button.is-loading,
.request-form button.is-loading{
    opacity:.85;
    cursor:not-allowed;
}

.btn-loader{
    display:inline-block;
    width:13px;
    height:13px;
    border:2px solid rgba(255,255,255,.55);
    border-top-color:#fff;
    border-radius:50%;
    vertical-align:-2px;
    margin-right:7px;
    animation:glimmerSpin .7s linear infinite;
}

@keyframes glimmerSpin{
    to{
        transform:rotate(360deg);
    }
}

@media (min-width:1200px) and (max-height:700px){

    .login-content,
    .access-content{
        max-width:330px;
    }

    .login-logo,
    .access-content .login-logo{
        padding-top:30px;
        font-size:38px;
    }

    .login-logo small,
    .access-content .login-logo small{
        font-size:6px;
        margin-left:42px;
    }

    .login-center,
    .access-center{
        transform:translateY(-10px);
    }

    

    #loginform p{
        margin-bottom:10px;
    }




    .login-remember{
        margin-bottom:8px !important;
    }

    .login-access{
        margin-top:10px;
        font-size:10px;
    }

    .form-row{
        gap:10px;
    }

    .access-steps{
        margin-top:12px;
        padding:10px;
    }

    .access-steps div{
        font-size:9px;
    }
}
/* =========================================================
   RESPONSIVE LOGIN / SOLICITUD - 2026-07
========================================================= */

@media (max-width: 768px){
    .login-body{
        overflow:auto;
        background:#dfb7c2;
    }

    .login-home,
    .access-page{
        min-height:100vh;
        height:auto;
        display:block;
        background:#dfb7c2 url('../images/login.png') top center / cover no-repeat;
        overflow:hidden;
        padding:22px 18px 30px;
    }

    .login-panel,
    .access-panel{
        height:auto;
        min-height:calc(100vh - 52px);
        display:flex;
        align-items:flex-end;
        justify-content:center;
        background:transparent;
    }

    .login-content,
    .access-content{
        width:100%;
        max-width:360px;
        height:auto;
        min-height:calc(100vh - 52px);
        display:flex;
        flex-direction:column;
    }

    .login-logo,
    .access-content .login-logo{
        padding-top:0;
        text-align:center;
        margin-bottom:auto;
    }

    .login-logo img,
    .access-content .login-logo img{
        width:132px;
        max-width:132px;
    }

    .login-center,
    .access-center{
        flex:0 0 auto;
        transform:none;
        justify-content:flex-end;
        width:100%;
    }

    .login-center h1,
    .login-center > p{
        display:none;
    }

    #loginform,
    .access-form{
        background:rgba(238,238,238,.92);
        border-radius:10px;
        padding:26px 26px 24px;
        box-shadow:none;
    }

    .access-center h1{
        display:none;
    }

    .access-center p{
        background:rgba(238,238,238,.92);
        border-radius:10px 10px 0 0;
        padding:20px 26px 0;
        margin:0;
        max-width:none;
        font-size:13px;
        line-height:1.15;
    }

    .access-center p + .access-form{
        border-radius:0 0 10px 10px;
        padding-top:20px;
    }

    #loginform label,
    .access-form label,
    .mi-perfil-form label{
        font-size:14px;
        margin-bottom:9px;
    }

    #loginform p{
        margin-bottom:18px;
    }

    #loginform input[type="text"],
    #loginform input[type="password"],
    .access-form input,
    .access-form select{
        height:56px;
        border-radius:8px;
        padding:0 18px;
        font-size:14px;
    }

    #loginform input::placeholder,
    .access-form input::placeholder{
        color:#9fa8a8;
    }

    .form-row{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .form-row .access-form input,
    .form-row .access-form select{
        height:42px;
    }

    .access-form .form-row input,
    .access-form .form-row select{
        height:42px;
        border-radius:5px;
        padding:0 12px;
        font-size:12px;
    }

    .login-remember{
        margin:0 0 18px !important;
    }

    .login-remember label{
        display:flex !important;
        gap:10px;
        font-size:14px !important;
        font-weight:700 !important;
    }

    .login-remember input{
        width:22px;
        height:22px;
        accent-color:#c66773;
    }

    #wp-submit,
    .access-form button{
        height:56px;
        border-radius:8px;
        font-size:18px;
    }

    .access-form button{
        height:43px;
        font-size:13px;
        border-radius:5px;
    }

    .login-access{
        margin:20px 0 0;
        text-align:center;
        color:#6d6467;
        font-size:15px;
        font-weight:700;
    }

    .login-access a{
        color:#111;
        margin-left:8px;
    }

    .access-steps{
        background:rgba(255,255,255,.88);
        grid-template-columns:1fr 1fr;
        margin-top:16px;
        padding:14px 12px;
    }

    .access-steps div{
        font-size:10px;
    }

    .access-steps div:nth-child(3){
        display:none;
    }

    .login-image,
    .access-image{
        display:none;
    }
}

@media (max-width: 420px){
    .login-home,
    .access-page{
        padding:18px 16px 26px;
    }

    .login-content,
    .access-content{
        max-width:330px;
    }

    #loginform,
    .access-form{
        padding:24px 22px 22px;
    }

    .access-center p{
        padding:18px 22px 0;
    }

    .form-row{
        gap:10px;
    }

    .access-form .form-row input,
    .access-form .form-row select{
        font-size:11px;
    }
}
