﻿/* =========================================================
   JUNGLA CUSTOM STUDIO
   Login y seguridad
   ========================================================= */

.login-body {
    margin: 0;
    color: #223027;
    background: #eef2ef;
}

.login-page {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
}

.login-brand-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px;
    color: #ffffff;
    background: radial-gradient(circle at 18% 18%, rgba(224, 174, 77, 0.24), transparent 24%), radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 26%), linear-gradient( 145deg, #0f281b 0%, #173523 52%, #4d4829 100%);
}

    .login-brand-panel::after {
        position: absolute;
        width: 520px;
        height: 520px;
        right: -270px;
        bottom: -270px;
        content: "";
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
    }

.login-brand-content {
    position: relative;
    z-index: 1;
    width: min(100%, 510px);
}

.login-brand-mark {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    color: #153020;
    background: #e3b04c;
    border-radius: 18px;
    font-size: 1.45rem;
}

.login-kicker,
.password-kicker {
    display: block;
    color: #e4b14b;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.login-brand-content h1 {
    margin: 5px 0 0;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -.06em;
}

.login-brand-content > p {
    max-width: 460px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 1rem;
    line-height: 1.7;
}

.login-feature-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 35px;
}

    .login-feature-list span {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: rgba(255,255,255,.86);
        font-size: .82rem;
        font-weight: 700;
    }

    .login-feature-list i {
        color: #e3b04c;
    }

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px 30px;
}

.login-form-card,
.password-card {
    width: min(100%, 470px);
    padding: 38px;
    background: #ffffff;
    border: 1px solid #dbe2dc;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(20, 40, 27, .1);
}

.login-form-heading > span {
    color: #b67f24;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.login-form-heading h2,
.password-card h1 {
    margin: 7px 0 0;
    color: #18241c;
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -.035em;
}

.login-form-heading p,
.password-card > p {
    margin: 9px 0 28px;
    color: #6e7971;
    font-size: .84rem;
    line-height: 1.55;
}

.login-field {
    margin-bottom: 17px;
}

    .login-field label {
        display: block;
        margin-bottom: 7px;
        color: #344139;
        font-size: .72rem;
        font-weight: 850;
    }

.login-input-wrap {
    position: relative;
}

    .login-input-wrap > i {
        position: absolute;
        top: 50%;
        left: 14px;
        color: #738078;
        transform: translateY(-50%);
    }

    .login-input-wrap input {
        width: 100%;
        height: 49px;
        padding: 0 14px 0 42px;
        color: #263129;
        background: #f8faf8;
        border: 1px solid #d6ded8;
        border-radius: 12px;
        outline: none;
        transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    }

        .login-input-wrap input:focus {
            background: #ffffff;
            border-color: #6f9279;
            box-shadow: 0 0 0 4px rgba(72,108,84,.1);
        }

.login-field .text-danger {
    display: block;
    margin-top: 5px;
    font-size: .68rem;
}

.login-validation-summary {
    margin-bottom: 16px;
    color: #8d3535;
    background: #fff3f3;
    border: 1px solid #efd2d2;
    border-radius: 10px;
    font-size: .72rem;
}

    .login-validation-summary:empty {
        display: none;
    }

    .login-validation-summary ul {
        margin: 0;
        padding: 10px 14px 10px 30px;
    }

.login-submit-button {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 6px;
    color: #ffffff;
    background: #486c54;
    border: 1px solid #486c54;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 900;
}

    .login-submit-button:hover {
        color: #ffffff;
        background: #365a42;
        border-color: #365a42;
    }

.login-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    color: #7b857e;
    border-top: 1px solid #e7ebe8;
    font-size: .7rem;
}

.password-page {
    display: flex;
    min-height: calc(100vh - 160px);
    align-items: center;
    justify-content: center;
    padding: 45px 20px 65px;
    background: #f1f4f1;
}

.password-card {
    text-align: left;
}

.password-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    color: #ffffff;
    background: #486c54;
    border-radius: 15px;
    font-size: 1.2rem;
}

.password-icon-danger {
    background: #a84848;
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 330px;
        padding: 42px 28px;
    }

    .login-form-panel {
        padding: 30px 18px 50px;
    }
}

@media (max-width: 575.98px) {
    .login-brand-content h1 {
        font-size: 2.6rem;
    }

    .login-form-card,
    .password-card {
        padding: 28px 20px;
    }
}
