* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f7fa;
    color: #1c2534;
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}


/* =========================================
   PANEL IZQUIERDO
========================================= */

.login-brand {
    background:
        linear-gradient(
            135deg,
            rgba(13, 31, 54, 0.98),
            rgba(22, 55, 86, 0.96)
        );

    display: flex;
    align-items: center;

    padding: 80px;

    position: relative;
    overflow: hidden;
}

.login-brand::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    top: -180px;
    right: -180px;

}

.login-brand::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 50%;

    bottom: -120px;
    left: -100px;

}

.brand-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.brand-badge {

    display: inline-block;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #78a8d8;

    margin-bottom: 25px;
}

.brand-content h1 {

    color: white;

    font-size: 52px;

    line-height: 1.1;

    font-weight: 600;

    margin-bottom: 25px;
}

.brand-content > p {

    color: #b9c7d6;

    font-size: 17px;

    line-height: 1.7;

    max-width: 500px;
}

.features {

    margin-top: 50px;

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.feature {

    display: flex;

    align-items: center;

    gap: 14px;

    color: #d7e0e9;

    font-size: 14px;
}

.feature-icon {

    width: 27px;
    height: 27px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(83, 160, 218, 0.15);

    color: #76b9e8;

    font-size: 13px;
}


/* =========================================
   LOGIN
========================================= */

.login-section {

    display: flex;

    justify-content: center;
    align-items: center;

    background: #ffffff;

    padding: 50px;
}

.login-box {

    width: 100%;

    max-width: 430px;
}

.login-header {

    margin-bottom: 35px;
}

.small-title {

    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.6px;

    color: #3578ad;

    margin-bottom: 15px;
}

.login-header h2 {

    font-size: 34px;

    font-weight: 600;

    color: #172337;

    margin-bottom: 12px;
}

.login-header p {

    font-size: 14px;

    line-height: 1.6;

    color: #778394;
}


/* FORM */

.form-group {

    margin-bottom: 22px;
}

.form-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 600;

    color: #364152;
}

.form-group input {

    width: 100%;

    height: 50px;

    padding: 0 15px;

    border: 1px solid #d9dee5;

    border-radius: 7px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition: all .2s ease;
}

.form-group input:focus {

    border-color: #377eb5;

    box-shadow:
        0 0 0 3px rgba(55,126,181,.10);
}

.btn-login {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 7px;

    background: #173b5d;

    color: white;

    font-size: 14px;

    font-weight: 600;

    font-family: inherit;

    cursor: pointer;

    transition: all .2s ease;
}

.btn-login:hover {

    background: #102e49;

    transform: translateY(-1px);
}


/* ALERTAS */

.alert {

    padding: 13px 15px;

    border-radius: 6px;

    margin-bottom: 22px;

    font-size: 13px;
}

.alert-error {

    background: #fff1f1;

    border: 1px solid #ffcaca;

    color: #a43b3b;
}


/* FOOTER */

.login-footer {

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #edf0f3;
}

.login-footer p {

    text-align: center;

    font-size: 12px;

    color: #929baa;

    line-height: 1.6;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-brand {
        display: none;
    }

    .login-section {
        min-height: 100vh;
        padding: 30px;
    }

}