@font-face{font-family:HouseAuth;src:url('./fonts/SuisseIntl-Regular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:HouseAuth;src:url('./fonts/SuisseIntl-Bold.otf') format('opentype');font-weight:700 900;font-display:swap}
body.auth-popup-page{margin:0;height:100dvh;overflow:hidden;background:#d3c6b3;color:#f4eee7;font-family:HouseAuth,Arial,sans-serif}
body .portal-login.auth-popup-surface{min-height:100dvh;background:#d3c6b3;display:block}
body .portal-login.auth-popup-surface[hidden]{display:none!important}
.auth-popup{box-sizing:border-box;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:32px;border:1px solid #8d5a3e;background:#1b1713;color:#f4eee7;box-shadow:0 24px 100px #0008;font-family:HouseAuth,Arial,sans-serif;overflow:auto;overscroll-behavior:contain;color-scheme:dark;border-radius:0}
.auth-popup::backdrop{background:#30241833}
.auth-popup *{box-sizing:border-box}
.auth-popup .auth-popup-logo{display:block;width:190px;max-width:75%;height:auto;margin:0 auto 28px;filter:brightness(0) invert(1)}
.auth-popup .auth-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.auth-popup :is(form,#login-form){display:grid;gap:18px;margin:0}
.auth-popup :is(.field,#login-form>label){display:grid;gap:7px;margin:0;color:#dec6b2;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.025em;text-transform:none}
.auth-popup :is(input[name=username],input[name=login],input[name=password]){display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:11px 12px;border:1px solid #795e49;background:#302720;color:#fff5ec;font-family:inherit;font-size:16px;font-weight:400;line-height:1.35;letter-spacing:0;border-radius:0;outline:none}
.auth-popup input::placeholder{color:#c1ad9c;opacity:1}
.auth-popup input:focus-visible{border-color:#dfa27c;outline:none;outline-offset:0}
.auth-popup .login-password{display:flex;align-items:stretch;min-width:0;border:1px solid #795e49;background:#302720}
.auth-popup .login-password input{flex:1;min-width:0;border:0}
.auth-popup .login-password button{flex:none;width:auto;min-width:65px;min-height:44px;margin:0;padding:8px 10px;border:0;border-left:1px solid #795e49;background:transparent;color:#ead8c9;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer}
.auth-popup :is(.button,.login-submit,.auth-cancel){display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:4px 0 0;padding:11px 14px;border:1px solid #b57853;background:#95573c;color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1.35;letter-spacing:.025em;text-align:center;text-transform:none;text-decoration:none;cursor:pointer;border-radius:0}
.auth-popup :is(.button,.login-submit,.auth-cancel,.login-password button):is(:hover,:focus-visible){background:#b86f4d;color:#fff;border-color:#b86f4d;filter:none!important;transform:none}
.auth-popup :is(button,a):focus-visible{outline:2px solid #dfa27c;outline-offset:3px}
.auth-popup .auth-cancel{background:transparent;border-color:#795e49;color:#f4eee7;margin-top:10px}
.auth-popup :is(.error,.login-status){margin:0;padding:10px 12px;border-left:3px solid #dfa27c;background:#47271f;color:#ffece6;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.auth-popup .error{margin-bottom:18px}
.auth-popup .login-status:empty{display:none}
.auth-popup .auth-logout-title{margin:0 0 22px;color:#f4eee7;text-align:center;font-size:24px;line-height:1.2;letter-spacing:-.03em}
.auth-popup button:disabled{opacity:.65;cursor:wait}
@media(max-width:520px){.auth-popup{padding:26px 22px}.auth-popup .auth-popup-logo{width:175px;margin-bottom:24px}}

.auth-popup .error:empty{display:none}
.auth-popup{position:fixed;background:#30261e;padding:28px 32px;box-shadow:0 18px 65px #30241840}
.auth-popup .auth-popup-logo{margin-bottom:24px;width:190px}
.auth-popup .auth-house-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;margin:0;border:1px solid #c6b9aa;background:#f2eee7;color:#171411;cursor:pointer;border-radius:0}
.auth-house-close span{position:relative;width:16px;height:16px;display:block}
.auth-house-close span:before,.auth-house-close span:after{content:"";position:absolute;left:7px;top:-1px;width:2px;height:17px;background:currentColor;transform:rotate(45deg)}
.auth-house-close span:after{transform:rotate(-45deg)}
.auth-popup .auth-house-close:is(:hover,:focus-visible){background:#a86143;color:#fff;border-color:#a86143}
.auth-popup .auth-forgot{display:block;width:max-content;max-width:100%;min-height:28px;padding:2px 0;margin:0;border:0;background:transparent;color:#e5b994;font:inherit;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.auth-popup .auth-forgot:hover{color:#fff}
.auth-popup .auth-reset-title{font-size:22px;line-height:1.2;margin:0 0 14px;color:#fff5ec}
.auth-popup .auth-reset-copy{font-size:13px;line-height:1.5;color:#e5d1bd;margin:0 0 16px}
.auth-popup input[type=email],.auth-popup input[autocomplete=new-password]{width:100%;min-width:0;min-height:44px;margin:0;padding:11px 12px;border:1px solid #9f8166;background:#3c3026;color:#fff5ec;font:inherit;font-size:16px;border-radius:0}
.auth-popup [hidden],.auth-popup form[hidden]{display:none!important}
.auth-popup .auth-recovery>.auth-forgot{margin-top:14px}
.auth-popup #reset-status{margin-top:14px}
.auth-popup #reset-login{margin-top:14px}
.auth-popup input:-webkit-autofill{-webkit-text-fill-color:#fff5ec;-webkit-box-shadow:0 0 0 1000px #3c3026 inset;caret-color:#fff5ec}
@media(max-width:520px){.auth-popup{padding:30px 24px 22px}.auth-popup .auth-house-close{width:32px;height:32px;top:12px;right:12px}.auth-popup .auth-popup-logo{width:170px}}

/* Website sichtbar lassen; 30 Prozent schwarze Abdunklung. */
body.auth-popup-page{background:#100f0d}
body .portal-login.auth-popup-surface{background:transparent}
.auth-popup::backdrop{background:rgba(0,0,0,.3);backdrop-filter:none}
.auth-popup{background:#1b1713;box-shadow:0 20px 70px #0008}
.auth-website-background{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#100f0d;color:#fff;font-family:HouseAuth,Arial,sans-serif}
.auth-website-background iframe{position:absolute;inset:0;border:0;width:100%;height:100%;pointer-events:none;background:#100f0d}
.auth-background-header{height:112px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 4vw;background:#100f0d}
.auth-background-header img{width:208px;max-width:40vw;filter:brightness(0) invert(1)}
.auth-background-header span{font-size:12px;font-weight:700;word-spacing:24px;white-space:nowrap}
.auth-background-hero{position:absolute;inset:112px 0 0;display:flex;align-items:center;padding:5vw;background:linear-gradient(90deg,#0008,transparent),url('./img/hyrox-slider/06-training-together.jpg') center/cover}
.auth-background-hero strong{font-size:clamp(48px,8vw,116px);line-height:.95;letter-spacing:-.055em;color:#fff;max-width:750px}
@media(max-width:700px){.auth-background-header{height:86px}.auth-background-header span{display:none}.auth-background-hero{top:86px}}

.auth-popup .auth-forgot,.auth-popup .auth-forgot:is(:hover,:focus-visible){text-decoration:none}

/* Ein einzelner Fokusrahmen, auch bei Passwortfeldern mit Anzeigen-Schaltfläche. */
.auth-popup .login-password:focus-within{border-color:#dfa27c}
.auth-popup .login-password input:focus-visible{border:0;outline:none}

.auth-popup[data-auth-popup="member"] .auth-popup-logo{margin-bottom:14px}
.auth-popup .auth-member-title{margin:0 0 24px;text-align:center;color:#f4eee7;font-family:inherit;font-size:21px;font-weight:700;line-height:1.25;letter-spacing:-.02em}

/* Identical eye controls for member and management login. */
.auth-popup .login-password>[data-password-toggle]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:10px;border-radius:0;color:#ead8c9}
.auth-popup .login-password>[data-password-toggle] svg{display:block;flex:none;width:22px;height:22px;pointer-events:none}
.auth-popup .login-password>[data-password-toggle]:is(:hover,:focus-visible){background:#995938;color:#fff}
.auth-popup .login-password input::-ms-reveal,.auth-popup .login-password input::-ms-clear{display:none}
