* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    background: #0d1511;
    color: #1b1b1b;
}


/* =========================
   CONTENEDOR GENERAL
========================= */

.login-page {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at top left,
            rgba(49, 114, 71, 0.35),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #07100b 0%,
            #102018 45%,
            #162b20 100%
        );
}


/* =========================
   DECORACIÓN
========================= */

.login-decoration {
    position: absolute;

    border-radius: 50%;

    filter: blur(10px);

    opacity: .35;
}

.decoration-one {
    width: 420px;
    height: 420px;

    background: #4b8c59;

    left: -200px;
    top: -180px;
}

.decoration-two {
    width: 360px;
    height: 360px;

    background: #c29841;

    right: -180px;
    bottom: -190px;

    opacity: .18;
}


/* =========================
   TARJETA
========================= */

.login-container {
    position: relative;

    width: 100%;
    max-width: 1080px;

    min-height: 640px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    background: #ffffff;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, .45);

    z-index: 2;
}


/* =========================
   PANEL DE MARCA
========================= */

.brand-panel {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 65px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(9, 40, 24, .98),
            rgba(26, 82, 46, .95)
        );
}

.brand-panel::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 50%;

    right: -150px;
    top: -100px;
}

.brand-panel::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(255, 255, 255, .07);

    border-radius: 50%;

    right: -70px;
    top: -30px;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 45px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #d9b05a,
            #a87824
        );

    color: #ffffff;

    font-size: 28px;
    font-weight: 800;

    letter-spacing: -2px;

    box-shadow:
        0 15px 30px rgba(0, 0, 0, .25);
}

.brand-label {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #d8b768;
}

.brand-panel h1 {
    max-width: 450px;

    margin-bottom: 25px;

    font-size: 52px;

    line-height: 1.05;

    font-weight: 750;

    letter-spacing: -2px;
}

.brand-panel h1 span {
    display: block;

    color: #d8b768;
}

.brand-panel p {
    max-width: 430px;

    font-size: 17px;

    line-height: 1.7;

    color: rgba(255, 255, 255, .74);
}


/* =========================
   CARACTERÍSTICAS
========================= */

.brand-features {
    display: flex;
    flex-direction: column;

    gap: 16px;

    margin-top: 45px;
}

.feature {
    display: flex;
    align-items: center;

    gap: 13px;

    color: rgba(255, 255, 255, .88);

    font-size: 15px;
}

.feature-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(216, 183, 104, .16);

    color: #e3c47e;

    font-size: 13px;

    border: 1px solid rgba(216, 183, 104, .23);
}

.brand-footer {
    position: relative;

    z-index: 2;

    margin-top: 40px;

    font-size: 12px;

    color: rgba(255, 255, 255, .38);
}


/* =========================
   PANEL LOGIN
========================= */

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 60px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f7f5
        );
}

.login-box {
    width: 100%;
    max-width: 390px;
}

.mobile-logo {
    display: none;
}

.login-header {
    margin-bottom: 38px;
}

.welcome {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

    color: #2c7547;
}

.login-header h2 {
    margin-bottom: 10px;

    font-size: 34px;

    letter-spacing: -1px;

    color: #17221b;
}

.login-header p {
    font-size: 14px;

    line-height: 1.6;

    color: #7b857f;
}


/* =========================
   FORMULARIO
========================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 650;

    color: #33443a;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    opacity: .65;
}

.input-container input {
    width: 100%;
    height: 55px;

    padding: 0 18px 0 49px;

    border: 1px solid #dce2de;

    border-radius: 12px;

    outline: none;

    background: #ffffff;

    font-size: 14px;

    color: #233129;

    transition: .2s ease;
}

.input-container input::placeholder {
    color: #a7afaa;
}

.input-container input:focus {
    border-color: #397a50;

    box-shadow:
        0 0 0 4px rgba(57, 122, 80, .09);
}


/* =========================
   BOTÓN
========================= */

.btn-login {
    width: 100%;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 31px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #183f28,
            #28633e
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(24, 63, 40, .22);

    transition: .2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 30px rgba(24, 63, 40, .28);
}

.btn-login span {
    font-size: 20px;
}


/* =========================
   ERROR
========================= */

.alert-error {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    margin-bottom: 22px;

    border-radius: 10px;

    background: #fff0ef;

    border: 1px solid #ffd4d0;

    color: #a94238;

    font-size: 13px;
}

.alert-error span {
    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #c85549;

    color: white;

    font-weight: bold;
}


/* =========================
   SEGURIDAD
========================= */

.security-message {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 25px;

    color: #9aa39d;

    font-size: 11px;
}

.security-message span {
    color: #4f9667;

    font-size: 9px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 820px) {

    .login-page {
        padding: 20px;
    }

    .login-container {
        display: block;

        max-width: 500px;

        min-height: auto;

        border-radius: 20px;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        padding: 50px 35px;
    }

    .mobile-logo {
        width: 65px;
        height: 65px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-bottom: 35px;

        border-radius: 16px;

        background:
            linear-gradient(
                135deg,
                #173e27,
                #36764b
            );

        color: #ffffff;

        font-size: 23px;

        font-weight: 800;
    }

}