* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

/* CONTENEDOR GENERAL */

.login-page {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 40% 60%;
    background: #000;
    overflow: hidden;
}

/* PANEL IZQUIERDO - LOGIN */

.login-left {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-card {
    width: 520px;
    max-width: 100%;
    animation: fadeLogin .8s ease;
}

    .login-card h1 {
        margin: 0;
        font-size: 42px;
        font-weight: 900;
        color: #000;
        letter-spacing: -1px;
        text-transform: uppercase;
    }

    .login-card p {
        margin-top: 8px;
        margin-bottom: 45px;
        color: #777;
        font-size: 16px;
    }

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        margin-bottom: 9px;
        color: #000;
        font-weight: 700;
    }

    .form-group input {
        width: 100%;
        height: 54px;
        padding: 0 16px;
        border: 1px solid #bbbbbb;
        background: #fff;
        color: #000;
        font-size: 15px;
        outline: none;
    }

        .form-group input:focus {
            border-color: #000;
            box-shadow: 0 0 0 2px rgba(0,0,0,.08);
        }

.password-group {
    position: relative;
}

    .password-group input {
        padding-right: 52px;
    }

.eye-btn {
    position: absolute;
    right: 12px;
    bottom: 11px;
    width: 34px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 28px;
    font-size: 15px;
}

    .login-options label {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .login-options a,
    .register-link a {
        color: #000;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid #000;
    }

.btn-login {
    width: 100%;
    height: 56px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background .25s ease, transform .15s ease;
}

    .btn-login:hover {
        background: #222;
        transform: translateY(-1px);
    }

.separator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 28px 0;
}

    .separator span {
        flex: 1;
        height: 1px;
        background: #d0d0d0;
    }

    .separator small {
        color: #000;
        font-weight: 700;
    }

.register-link {
    text-align: center;
    font-size: 16px;
}

/* PANEL DERECHO - BRANDING */

.brand-right {
    background: linear-gradient( rgba(0, 0, 0, .82), rgba(0, 0, 0, .82) ), url("../img/login-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
}

.brand-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeBrand 1s ease;
}

.brand-logo {
    width: 520px;
    max-width: 80%;
    margin-bottom: 50px;
}

.brand-line {
    width: 420px;
    max-width: 70%;
    height: 1px;
    background: #333;
    margin: 0 auto 45px;
}

.brand-content h2 {
    margin: 0;
    color: #fff;
    font-size: 60px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    text-transform: uppercase;
}

/* ANIMACIONES */

@keyframes fadeLogin {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeBrand {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .login-page {
        grid-template-columns: 45% 55%;
    }

    .login-left {
        padding: 45px;
    }

    .login-card {
        width: 460px;
    }

        .login-card h1 {
            font-size: 36px;
        }

    .brand-logo {
        width: 420px;
    }

    .brand-content h2 {
        font-size: 48px;
    }
}

@media (max-width: 850px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .brand-right {
        display: none;
    }

    .login-left {
        min-height: 100vh;
        padding: 35px;
    }

    .login-card {
        width: 100%;
        max-width: 430px;
    }
}
.brand-right {
    position: relative;
    overflow: hidden;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-plane {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(1100px, 100%);
    opacity: 0.80;
    z-index: 1;
}
.login-validation {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-left: 3px solid #b00020;
    background: #111;
    color: #fff;
    font-size: 14px;
}

    .login-validation:empty {
        display: none;
    }

    .login-validation ul {
        margin: 0;
        padding-left: 18px;
    }

.field-validation {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #b00020;
    font-size: 13px;
}

.input-validation-error {
    border-color: #b00020 !important;
}