body {
    --text-secondary: #344b63;
    min-height: 100svh;
    height: auto;
    overflow: auto;
    padding: 40px 24px;
    background: radial-gradient(ellipse at 10% 10%, #dce8f5, transparent 55%),
        radial-gradient(ellipse at 95% 95%, #d9eceb, transparent 50%), #f0f4f8;
    color: #18324d;
}
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; width: min(1080px, 100%); border-radius: 30px; overflow: hidden; box-shadow: 0 28px 90px #102b4826; background: #fff; border: 1px solid #ffffffb3; }
.season-panel { position: relative; display: flex; flex-direction: column; padding: 42px; min-width: 0; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(circle at 90% 15%, #47a5ab55, transparent 45%), linear-gradient(155deg, #102b48 5%, #124774 60%, #087c8b); }
.season-panel::before, .season-panel::after { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid #ffffff16; border-radius: 50%; z-index: -1; pointer-events: none; }
.season-panel::before { inset: -180px -170px auto auto; box-shadow: 0 0 0 40px #ffffff04, 0 0 0 80px #ffffff04; }
.season-panel::after { bottom: -210px; left: -120px; }
.season-brand { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; font-weight: 700; }
.season-brand i { color: #f0ce7b; }
.clinic-welcome{margin-block:auto;padding-block:56px;position:relative;z-index:1}
.clinic-eyebrow{display:inline-block;color:#9fe5df;font-size:12px;font-weight:700;letter-spacing:.04em;margin-bottom:18px}
.clinic-welcome h1{font-size:clamp(28px,3vw,42px);line-height:1.65;font-weight:700;color:#fff;margin:0 0 22px;max-width:440px}
.clinic-welcome p{font-size:16px;line-height:2;color:#d7e7f3;margin-bottom:28px;max-width:420px}
.clinic-welcome ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.clinic-welcome li{display:flex;align-items:center;gap:12px;color:#edf7ff;font-size:14px}
.clinic-welcome li i{color:#96e1d8;font-size:19px}
.clinic-caption{font-size:12px;color:#c2dbe9;margin:0;line-height:1.8}
.auth-shell .season-panel{background:linear-gradient(155deg,#102b48 5%,#124774 60%,#075b68)}
.auth-shell .season-brand,.auth-shell .clinic-welcome h1{color:#fff;font-weight:700}
.auth-shell .clinic-welcome p,.auth-shell .clinic-welcome li,.auth-shell .clinic-caption{color:#fff;font-weight:500}
.auth-shell .clinic-eyebrow{color:#c2fff4;font-size:13px}
.auth-shell .login-title{color:#102a43;font-weight:700}
.auth-shell .login-subtitle,.auth-shell .form-check-label,.auth-shell .auth-footer{color:#344b63;font-weight:500}
.auth-shell .form-brand{color:#125180}
.auth-shell .form-floating>.form-control{color:#152d44;background:#f8fafc;font-weight:500;border-color:#9cafc1}
.auth-shell .form-floating>label,.auth-shell .form-floating>.form-control:focus~label,.auth-shell .form-floating>.form-control:not(:placeholder-shown)~label{color:#30475d!important;opacity:1;font-weight:600}
.auth-shell .login-language-cards .language-names strong{color:#19354e}
.auth-shell .login-language-cards .language-names small{color:#425b72;font-weight:500}
.auth-shell .auth-footer a{color:#164f78!important;font-weight:700}
@media(max-width:767px){.clinic-welcome{padding-block:24px}.clinic-welcome h1{font-size:25px;margin-bottom:12px}.clinic-welcome p{font-size:14px;margin-bottom:0}.clinic-welcome ul,.clinic-caption{display:none}}
.season-copy { position: relative; z-index: 1; margin-top: 58px; }
.season-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #f0ce7b55; border-radius: 30px; background: #ffffff08; padding: 7px 16px; color: #f0ce7b; font-size: .85rem; }
.season-copy h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.7; margin: 22px 0 14px; font-weight: 700; color: #fff; }
.season-copy p { color: #d2e3ee; font-size: .95rem; max-width: 360px; }
.season-caption { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; font-size: .78rem; color: #d2e3ee; }
.season-caption span { width: 22px; height: 2px; background: #f0ce7b; flex-shrink: 0; }
.login-card { width: 100%; max-width: none; border-radius: 0; box-shadow: none; padding: 32px 46px; display: flex; flex-direction: column; justify-content: center; overflow: visible; }
.login-card::before { display: none; }
.auth-languages { display: flex; justify-content: center; gap: 5px; padding: 4px; background: #f2f6fa; border-radius: 12px; margin-bottom: 30px; }
.auth-languages a { flex: 1; text-align: center; font-size: .8rem; padding: 6px 8px; text-decoration: none; color: #63758b; border-radius: 9px; }
.auth-languages a[aria-current] { background: #fff; color: #124774; font-weight: 700; box-shadow: 0 2px 8px #102b4810; }
.brand-logo { width: 54px; height: 54px; margin-bottom: 12px; background: #edf5fa; color: #1762a0; font-size: 26px; }
.form-brand { font-size: .88rem; font-weight: 700; letter-spacing: .06em; color: #1762a0; margin-bottom: 10px; }
.login-title { font-size: 1.65rem; color: #102b48; }
.login-subtitle { font-size: .88rem; line-height: 1.9; margin-bottom: 25px; }
.form-floating > .form-control { border: 1px solid #dce5ee; background: #f8fafc; height: 64px; min-height: 64px; border-radius: 12px; }
.form-floating > label { padding-inline: 1rem; font-size: .92rem; }
.form-floating > .form-control:focus { background: #fff; border-color: #1762a0; box-shadow: 0 0 0 4px #1762a018; }
.form-check-input:checked { background-color: #1762a0; border-color: #1762a0; }
.btn-primary { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; font-size: 1rem; letter-spacing: 0; background: linear-gradient(110deg, #1762a0, #124774); box-shadow: 0 6px 14px #1762a024; }
.btn-primary:hover { background: #124774; box-shadow: 0 8px 18px #1762a033; }
.btn-primary:focus-visible, .auth-languages a:focus-visible { outline: 3px solid #d3a344; outline-offset: 4px; }
.auth-footer { font-size: .7rem; line-height: 1.9; margin-top: 27px; color: #748497; }
@media (max-width: 767px) {
    body { padding: 20px 14px; align-items: flex-start; }
    .auth-shell { grid-template-columns: 1fr; max-width: 480px; border-radius: 23px; }
    .season-panel { padding: 25px; }
    .season-brand { font-size: 1.4rem; }
    .season-copy { margin-top: 20px; }
    .season-copy h1 { font-size: 1.55rem; margin-block: 12px 6px; }
    .season-copy p { margin: 0; font-size: .85rem; }
    .season-chip { font-size: .75rem; padding: 4px 12px; }
    .season-caption { display: none; }
    .login-card { padding: 25px; }
    .auth-languages { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .btn-primary { transition: none; } .btn-primary:hover { transform: none; } }
/* Allow every grid/flex child to shrink to the actual phone viewport. */
.auth-shell{min-width:0;width:min(1080px,calc(100vw - 48px));grid-template-columns:repeat(2,minmax(0,1fr))}
.auth-shell :is(.login-card,.clinic-welcome,.login-language-cards,.language-option,.language-names,form){min-width:0;max-width:100%}
.auth-shell :is(h1,p,.auth-footer){overflow-wrap:anywhere}
.auth-shell .form-control{min-width:0;width:100%;font-size:16px}
@media(max-width:767px){
 .auth-shell{width:calc(100vw - 28px);grid-template-columns:minmax(0,1fr)}
 .auth-shell .login-card,.auth-shell .season-panel{padding:24px 20px}
 .auth-shell .clinic-welcome h1{font-size:25px;line-height:1.65}
 .auth-shell .login-language-cards{gap:6px;padding:6px}
 .auth-shell .login-language-cards .language-option{padding:14px 4px;min-height:98px}
 .auth-shell .login-language-cards .language-names strong{font-size:13px}
 .auth-shell .login-language-cards .language-names small{font-size:10px}
 .auth-shell .form-floating>label{max-width:100%;font-size:14px}
 .auth-shell .auth-footer{font-size:12px}
}
@media(max-width:350px){.auth-shell .login-card,.auth-shell .season-panel{padding:22px 14px}.auth-shell .clinic-welcome h1{font-size:23px}.auth-shell .login-language-cards .language-option img{width:30px;height:20px}}
