*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,Segoe UI,Arial,sans-serif}

html,body{
    height:100%;
    overflow:hidden;
    background:#071b3a;
}

.login-page{
    width:100%;
    height:100vh;
    display:grid;
    grid-template-columns:58% 42%;
    background:radial-gradient(circle at 70% 40%,#1356d8 0,#0b3d93 34%,#071b3a 75%);
}

/* IZQUIERDA */
.left{
    color:#fff;
    padding:34px 42px 24px;
    display:flex;
    flex-direction:column;
}

.brand{display:flex;align-items:center;gap:16px}
.brand-icon{
    width:50px;height:50px;border-radius:14px;
    background:linear-gradient(135deg,#0ea5e9,#0066ff);
    display:flex;align-items:center;justify-content:center;
    font-size:24px;
}
.brand h1{font-size:30px;font-weight:900}
.brand h1 span{color:#38bdf8}

.tag{
    width:max-content;
    margin-top:26px;
    padding:8px 17px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    font-weight:800;
    font-size:14px;
}

.left h2{
    margin-top:36px;
    max-width:660px;
    font-size:43px;
    line-height:1.08;
    font-weight:950;
    letter-spacing:-1px;
}
.left h2 span{color:#1fb6ff}

.left p{
    margin-top:22px;
    max-width:680px;
    font-size:16px;
    line-height:1.6;
    color:#eef6ff;
}

.cards{
    margin-top:30px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    max-width:660px;
}

.cards div{
    min-height:88px;
    padding:16px;
    border-radius:14px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.13);
}

.cards i{
    display:block;
    font-size:28px;
    color:#2bb3ff;
    margin-bottom:12px;
}

.cards strong{
    display:block;
    font-size:15px;
    font-weight:800;
}

.cards small{
    display:block;
    margin-top:5px;
    font-size:13px;
    color:#dbeafe;
}
.cards strong{display:block;font-size:15px}
.cards small{display:block;margin-top:6px;color:#e2edff;font-size:13px}

footer{
    margin-top:auto;
    color:#d5e4ff;
    font-size:13px;
}

/* DERECHA */
.right{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 48px;
}

.login-card{
    width:100%;
    max-width:490px;
    min-height:auto;
    background:white;
    border-radius:18px;
    padding:48px 50px;
    box-shadow:0 28px 80px rgba(0,0,0,.22);
}

.login-card h3{
    text-align:center;
    font-size:31px;
    margin-bottom:10px;
    letter-spacing:-.5px;
}

.login-card>p{
    text-align:center;
    color:#64748b;
    font-size:16px;
    margin-bottom:30px;
}

.login-card label{
    display:block;
    margin:17px 0 8px;
    font-size:15px;
    font-weight:900;
}

.login-card input[type=email],
.login-card input[type=password]{
    width:100%;
    height:55px;
    border:1px solid #d6dfed;
    border-radius:12px;
    padding:0 20px;
    font-size:15px;
    outline:none;
    background:#edf4ff;
}

.login-card input:focus{
    background:white;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.options{
    margin:22px 0 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.remember{
    margin:0!important;
    display:flex!important;
    align-items:center;
    gap:8px;
    font-size:14px!important;
    font-weight:900;
}

.remember input{accent-color:#005cff}
.options a{color:#005cff;text-decoration:none;font-size:14px}

button{
    width:100%;
    height:56px;
    border:0;
    border-radius:12px;
    background:#005cff;
    color:white;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}
button:hover{background:#004be0}

.secure{
    margin-top:26px;
    padding-top:20px;
    border-top:1px solid #e5eaf2;
    text-align:center;
    color:#64748b;
    font-size:14px;
}

.alert{
    background:#fee2e2;
    color:#991b1b;
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:16px;
    font-weight:800;
}

/* LAPTOP BAJA */
@media(max-height:700px){
    .left{padding:24px 36px 18px}
    .brand-icon{width:44px;height:44px}
    .brand h1{font-size:27px}
    .tag{margin-top:18px;padding:7px 14px}
    .left h2{font-size:36px;margin-top:22px}
    .left p{font-size:14px;margin-top:16px}
    .cards{margin-top:22px;gap:10px}
    .cards div{min-height:72px;padding:12px}
    .cards div::before{width:20px;height:20px;margin-bottom:6px}
    .cards strong{font-size:14px}
    .cards small{font-size:12px}

    .right{padding:24px 42px}
    .login-card{max-width:460px;padding:36px 44px}
    .login-card h3{font-size:28px}
    .login-card>p{font-size:14px;margin-bottom:22px}
    .login-card label{margin:13px 0 7px}
    .login-card input[type=email],
    .login-card input[type=password]{height:48px}
    .options{margin:18px 0 22px}
    button{height:50px}
    .secure{margin-top:20px;padding-top:16px}
}

/* MÓVIL */
@media(max-width:950px){
    html,body{overflow:auto}
    .login-page{grid-template-columns:1fr;height:auto;min-height:100vh}
    .left{display:none}
    .right{min-height:100vh;padding:24px}
    .login-card{max-width:460px;padding:36px 28px}
}
