body:is(.connexion, .inscription-page) {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #123247;
    background: radial-gradient(circle at 12% 12%, #def2f5, transparent 40%), #f8fbfc;
}
body:is(.connexion, .inscription-page) > main {
    box-sizing: border-box;
    flex: 1;
    width: 100%;
    padding: 48px 20px 64px;
}
body:is(.connexion, .inscription-page) .form-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid #d5e7ed;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px #07384712;
}
.auth-form, .auth-form * { box-sizing: border-box; min-width: 0; }
.auth-form { display: grid; gap: 18px; }
.auth-form .auth-kicker { margin: 0; color: #087f95; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.auth-form .form-title { margin: 0; color: #073847; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; text-transform: none; text-align: left; }
.auth-form .auth-intro { margin: -6px 0 4px; color: #55708a; line-height: 1.6; }
.auth-form .form-group { display: grid; gap: 8px; margin: 0; }
.auth-form label { font-weight: 700; color: #123247; font-size: .95rem; }
.auth-form input:is([type="text"], [type="email"], [type="password"]) {
    width: 100%; min-height: 48px; margin: 0; padding: 12px 14px;
    border: 1px solid #bdd8e2; border-radius: 10px; background: #f8fbfc;
    color: #123247; font: inherit; font-size: 16px;
}
.auth-form input:focus-visible, .auth-form a:focus-visible, .auth-form button:focus-visible { outline: 3px solid #078fa6; outline-offset: 3px; }
.auth-form .custom-button {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 10px;
    background: #07869a; color: #fff; font: inherit; font-weight: 800;
    text-align: center; cursor: pointer;
}
.auth-form .custom-button:hover { background: #056c7e; }
.auth-form .google-signin {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; min-height: 48px; padding: 12px; border: 1px solid #747775;
    border-radius: 10px; background: white; color: #1f1f1f;
    font: 500 15px/1.4 Arial, sans-serif; text-decoration: none;
}
.auth-form .google-signin:hover { background: #f3f7f9; }
.auth-form .google-signin-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.auth-form .choose-mail { display: flex; align-items: center; gap: 10px; margin: 0; color: #55708a; font-size: .9rem; text-align: center; }
.auth-form .choose-mail::before, .auth-form .choose-mail::after { content: ""; height: 1px; flex: 1; background: #d8e8ee; }
.auth-form :is(.inscription, .inscription-link) { margin: 0; font-size: .95rem; line-height: 1.5; text-align: center; }
.auth-form a { color: #087f95; font-weight: 700; text-underline-offset: 3px; }
.auth-form .error:empty { display: none; }
.auth-form .error { padding: 12px; border: 1px solid #edc5c5; border-radius: 10px; background: #fff3f3; color: #9b3131; line-height: 1.5; }
.auth-form .consent-checkbox { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #d8e8ee; border-radius: 10px; background: #f8fbfc; font-weight: 400; line-height: 1.5; }
.auth-form .consent-checkbox input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #07869a; }
@media (max-width: 560px) {
    body:is(.connexion, .inscription-page) > main { padding: 20px 12px 36px; }
    body:is(.connexion, .inscription-page) .form-container { padding: 24px 18px; border-radius: 18px; }
    .auth-form { gap: 16px; }
}
