:root {
    --brand-blue: #6f42c1;
    --brand-teal: #8b5fc7;
    --brand-soft: #f3effb;
    --brand-gradient: linear-gradient(135deg, #805ad5, #5b3bb5);
}

body {
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

/* El fondo ya trae la zona blanca y la curva; el panel se coloca encima de esa zona */
.home-login {
    --brand-login-gradient: linear-gradient(100deg, #4f49df 0%, #c47bc9 100%);
    display: flex;
    min-height: 100vh;
    background: #fff url("../../imgs/background-login_1.jpg") left center / cover no-repeat;
}

.home-login__panel {
    display: flex;
    width: 37.5%;
    min-width: 400px;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}

.home-login__content {
    display: flex;
    width: min(100%, 300px);
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-login__gdc {
    width: 92px;
    height: auto;
    margin-bottom: 26px;
}

.home-login__brand-placeholder {
    width: 290px;
    max-width: 100%;
    height: 112px;
    margin-bottom: 64px;
    padding-top: 40px;
    box-sizing: content-box;
    border-top: 1px solid #6e6aa8;
}

.home-login__brand-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-login__content h1 {
    margin: 0;
    background: var(--brand-login-gradient);
    background-clip: text;
    font-size: 2.15rem;
    font-weight: 800;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-login__content > p:not(.home-login__error) {
    margin: 2px 0 42px;
    color: #2b2b3a;
    font-size: 1.18rem;
}

.home-login__button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--brand-login-gradient);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    font-family: inherit;
    font-size: 1.05rem;
    cursor: pointer;
}

.home-login__button:hover {
    color: #fff;
    filter: brightness(0.96);
}

.home-login__form {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c47bc9;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.home-login__remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #c47bc9;
    cursor: pointer;
}

.home-login__error {
    margin: -24px 0 20px;
    color: #9b2c4a;
    font-size: 0.92rem;
}

/* En pantallas angostas la zona blanca del fondo ya no alcanza: panel blanco translúcido */
@media (max-width: 1060px) {
    .home-login {
        background-position: 70% center;
    }

    .home-login__panel {
        width: 100%;
        min-width: 0;
        min-height: 100vh;
        background: rgb(255 255 255 / 85%);
    }

    .home-login__brand-placeholder {
        height: 90px;
        margin-bottom: 48px;
    }

    .home-login__content h1 {
        font-size: 1.8rem;
    }
}
