/* Flowbureau authentication layout: reusable customer card and fixed provider panel. */
.auth-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:100svh;padding:0;align-items:stretch;background:var(--bg)}
.auth-page .auth-card{display:contents}
.auth-page .auth-visual{display:flex;flex-direction:column;justify-content:flex-start;max-width:none;min-width:0;padding:clamp(32px,4vw,64px);padding-bottom:30px;min-height:100svh;background:radial-gradient(120% 80% at 50% 100%,#2a3170 0%,#1f2031 65%);color:#fff;overflow:hidden}
.flow-headline{color:#ff4765;font-size:clamp(27px,2.5vw,42px);font-weight:750;line-height:1.16;letter-spacing:-.8px;margin:4px 0 28px}
.flow-headline span{color:#fff}.flow-illustration{display:block;width:100%;height:auto;max-height:46vh;object-fit:contain;margin:auto 0;padding:25px 0}
.auth-visual.custom{background-size:cover;background-position:center}.auth-visual.custom .flow-illustration{visibility:hidden}
.flow-contact{padding-top:24px;margin-top:30px;border-top:1px solid #ffffff24;color:#c0c1d1;font-size:12px;line-height:1.5}
.flow-contact-logo{display:inline-flex;margin-bottom:15px}.flow-contact-logo img{width:132px;height:auto;max-height:none}
.flow-contact ul{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;list-style:none;margin:0;padding:0}.flow-contact li,.flow-contact li a{display:inline-flex;align-items:center;gap:7px}.flow-contact a{color:inherit;text-decoration:none}.flow-contact a:hover{text-decoration:underline;color:white}.flow-contact .icon{width:15px;height:15px;color:#ff4765}
.auth-side{min-width:0;display:flex;align-items:center;justify-content:center;padding:40px 30px}
.auth-page .auth-form{display:flex;flex-direction:column;justify-content:flex-start;flex:0 1 440px;width:100%;max-width:440px;padding:28px 38px 25px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:0 14px 36px #1f203111}
.auth-page .auth-top{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0 0 24px;padding:0;border:0}
.auth-page .auth-theme{display:flex;justify-content:flex-end;margin:0 0 20px}
.auth-page .auth-brand{display:flex;justify-content:center;align-items:center;gap:12px;min-width:0;flex:none;color:var(--text)}
.auth-page .auth-brand img{width:40px;height:46px;object-fit:contain;flex-shrink:0}
.auth-page .auth-brand span{font-size:24px;font-weight:750;line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}
.auth-page .auth-brand.custom{flex-direction:column;gap:8px}
.auth-page .auth-brand.custom img{width:auto;max-width:min(var(--logo-size),100%);height:auto;max-height:64px;padding:0;background:none;border-radius:0}
.auth-page .auth-brand.custom span{display:none}.auth-page .auth-brand.custom span[contenteditable]{display:block;font-size:13px;color:var(--muted)}
.auth-page .step-icon,.auth-page .eyebrow{display:none}
.auth-page .auth-form h1{font-size:28px;letter-spacing:-.7px;margin:0 0 7px;line-height:1.2}
.auth-page .auth-form .subtitle{font-size:14px;line-height:1.6;margin:0 0 26px}
.auth-page .auth-form .field{margin-bottom:19px}.auth-page .auth-form input{min-height:46px;font-size:15px}
.auth-page .auth-form .btn{min-height:46px;border-radius:8px;font-size:15px}
.auth-page .auth-form .error:empty{min-height:0;margin:0 0 8px}
.auth-page .auth-links{margin-top:18px}
.auth-page .auth-footer{position:static;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;max-width:none;margin-top:20px;padding:0;border:0;font-size:10px;color:var(--muted)}
.auth-help{margin-top:25px;padding-top:20px;border-top:1px solid var(--border);text-align:center;font-size:12px;color:var(--muted)}.auth-help a{color:inherit;text-underline-offset:2px}
.password-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.password-label .link{font-weight:400;font-size:11px;text-decoration:underline;text-underline-offset:2px;line-height:1.4;text-align:right}
.password-wrap{position:relative}.auth-page .password-wrap input{padding-right:46px!important}.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:36px;height:36px;background:none;border:0;border-radius:6px;color:var(--muted);display:grid;place-items:center}.password-toggle:hover{background:var(--bg);color:var(--text)}
@media(max-width:1100px){.auth-page .auth-visual{padding:38px 32px 28px}.flow-headline{font-size:30px}.auth-side{padding:32px 22px}.auth-page .auth-form{padding:25px 28px}.flow-contact ul{gap:10px 15px}}
@media(max-width:900px){.auth-page{grid-template-columns:minmax(0,1fr)}.auth-page .auth-visual{display:none}.auth-side{padding:32px 18px;min-height:100svh}.auth-page .auth-form{max-width:440px}.auth-page .auth-brand.custom img{background:var(--sidebar);padding:9px;border-radius:8px}}
@media(max-width:600px){.auth-side{padding:24px 16px}.auth-page .auth-form{padding:24px}.auth-page .auth-form input{font-size:16px}.auth-page .auth-brand span{font-size:23px}.auth-page .auth-form h1{font-size:27px}.auth-page .auth-top{margin-bottom:25px}.auth-page .auth-theme{margin-bottom:22px}.auth-page .auth-footer{gap:10px}.auth-help{margin-top:24px}}
@media(max-width:360px){.auth-side{padding:18px 12px}.auth-page .auth-form{padding:21px}.password-label .link{font-size:10px}}

/* Keep existing Prijsbeheer username opt-in; session duration and MFA stay unchanged. */
.auth-page .remember-username{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);margin:4px 0 18px}.auth-page .remember-username input{width:17px;height:17px;min-height:0;margin:0;accent-color:var(--primary)}
.auth-page .auth-form .btn{background:#1f2031;color:#fff}.auth-page .auth-form .btn:hover{background:#34365a}:root[data-theme=dark] .auth-page .auth-form .btn{background:#f4f4f7;color:#1f2031}:root[data-theme=dark] .auth-page .auth-form .btn:hover{background:#d9dce8}
.flow-contact-logo{position:relative;line-height:0;width:132px}.flow-contact-logo::after{content:'';position:absolute;inset:0;background:#fff;mask:url('/static/flowbureau-logo.png') center/contain no-repeat;clip-path:inset(0 0 0 11%);pointer-events:none}
