body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5C4 100%);
    font-family: 'Lato', Arial, sans-serif;
}
.login-root {
    display: flex;
    min-height: 100vh;
}
.login-left {
    flex: 1 1 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 0 0 0 4vw;
    background: transparent;
}
.login-logo {
    position: absolute;
    top: 32px;
    left: 48px;
    width: 150px;
    height: auto;
}
.login-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.login-card {
    background: transparent;
    border: none;
    box-shadow: none;
}
.login-title {
    font-size: 2rem;
    font-weight: 450;
    color: #757575;
    text-align: center;
    margin-bottom: 0.5rem;
}
.login-subtitle {
    font-size: 1.4rem;
    color: #b0b0b0;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 400;
}
.form-label {
    color: #888;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.form-control {
    border-radius: 12px;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    background: #fff;
}
.input-icon-right {
    position: relative;
}
.input-icon-right input {
    padding-right: 2.5rem;
}
.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    color: #888;
    cursor: pointer;
    z-index: 2;
    font-size: 1.3rem;
}
.forgot-link {
    color: #b0b0b0;
    font-size: 1rem;
    text-align: right;
    display: block;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
    text-decoration: underline;
}
.forgot-link:hover {
    color: #757575;
}
.btn-yellow {
    background: #FFE25B;
    color: #444;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    padding: 0.9rem 0;
    transition: background 0.2s;
}
.btn-yellow:hover {
    background: #FFD600;
    color: #222;
}
.login-terms {
    position: absolute;
    left: 48px;
    bottom: 32px;
    color: #222;
    font-size: 1rem;
    text-decoration: underline;
}
.login-right {
    flex: 2 1 66.66%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
.login-illustration {
    position: absolute;
    top: 0;
    left: 0;
    padding-right : 48px;
    padding-left : 48px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    justify-content: flex-end;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    z-index: 1;
}
/* Pour que les overlays restent au-dessus de l'image si besoin */
.login-right > *:not(.login-illustration) {
    position: relative;
    z-index: 2;
}
@media (max-width: 1200px) {
    .login-left {
        padding-left: 2vw;
    }
    .login-right {
        border-radius: 0;
    }
    .login-illustration {
        border-radius: 0;
    }
}
/* Pour que les overlays restent au-dessus de l'image si besoin */
.login-right > *:not(.login-illustration) {
    position: relative;
    z-index: 2;
}

/* Responsive : tablette et moins, on masque l'image et on centre le login */
@media (max-width: 900px) {
    .login-root {
        flex-direction: column;
    }
    .login-left, .login-right {
        flex: 1 1 100%;
        padding: 0;
        justify-content: center;
        min-height: unset;
    }
    .login-right {
        display: none;
    }
    .login-left {
        align-items: center;
        padding: 0;
    }
}