:root {
    --guardian-yellow: #ffba08;
    --guardian-dark: #00171f;
}

.login-container {
    display: flex;
    height: 100vh;
    min-height: 600px;
}

.login-left {
    flex: 1;
    background: url('../images/landing/Recurso_1002x.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    color: white;
    position: relative;
    min-height: 100vh;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.login-left-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.login-logo img {
    height: 150px;
    max-width: 100%;
    object-fit: contain;
}

.login-welcome {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0 30px;
}

.login-blanca {
    filter: brightness(0) invert(1);
}

.login-blanca img {
    max-width: 100%;
    height: auto;
}

.login-right {
    flex: 1;
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    min-height: 100vh;
}

.login-right .form-shell {
    width: 100%;
    max-width: 380px;
}

.login-right .form-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4c5a5f;
}

.login-right .form-title {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #10171a;
}

.login-right .field {
    margin-bottom: 1.15rem;
}

.login-right .field-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4c5a5f;
    margin-bottom: 0.4rem;
}

.login-right .gl-input-group {
    display: flex;
    border: 1.5px solid var(--guardian-dark);
}

.login-right .input-icon {
    flex: 0 0 auto;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guardian-dark);
    border-right: 1.5px solid var(--guardian-dark);
}

.login-right .input-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--guardian-yellow);
}

.login-right .gl-input-group input,
.login-right .gl-input-group select {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    background: #fff;
    color: #10171a;
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    font-family: inherit;
    appearance: none;
}

.login-right .gl-input-group input::placeholder {
    color: #98a3a6;
}

.login-right .gl-input-group:focus-within {
    border-color: #cf9506;
    box-shadow: 0 0 0 3px rgba(255, 186, 8, 0.25);
}

.login-right .row-end {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.55rem;
    margin-bottom: 1rem;
}

.login-right .gl-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4c5a5f;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
}

.login-right .gl-link:hover {
    color: #10171a;
    border-color: var(--guardian-yellow);
}

.login-right .btn-warning {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
}

.login-right .foot {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d6d6d1;
    padding-top: 1rem;
}

.login-right .foot .tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4c5a5f;
}

.login-right .foot .copyright {
    font-size: 0.7rem;
    color: #98a3a6;
}

@media (max-width: 991.98px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left {
        flex: none;
        min-height: 40vh;
        padding: 30px 40px;
        order: 1;
    }

    .login-right {
        flex: none;
        min-height: 60vh;
        padding: 40px;
        order: 2;
    }
}
