body:has(> .iz-sso-page) { margin: 0; background: #fbfbfa; }
.iz-sso-page { box-sizing: border-box; min-height: 100svh; padding: 0 16px clamp(32px,7vw,80px); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.iz-sso-masthead { margin: 0 -16px; padding: 16px; background: #8b1a1a; color: #fff; text-align: center; font-size: clamp(21px,4vw,29px); font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.iz-sso-panel { box-sizing: border-box; width: 100%; max-width: 440px; margin: clamp(24px,5vw,56px) auto 0; padding: clamp(20px,5vw,32px); border: 1px solid #dedbd8; border-radius: 22px; background: #fff; color: #151313; box-shadow: 0 12px 36px rgb(58 33 27 / 7%); }
.iz-sso-panel h1 { margin: 16px 0 12px; font-size: clamp(25px,5vw,30px); font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.iz-sso-panel h2 { margin-top: 28px; font-size: 21px; letter-spacing: -.02em; }
.iz-sso-panel p { font-size: 14px; line-height: 1.6; }
.iz-sso-panel > a:first-child { font-size: 13px; text-decoration: none; }
.iz-sso-panel a { color: #8b1a1a; overflow-wrap: anywhere; text-underline-offset: 3px; }
.iz-sso-panel label { display: block; margin: 16px 0; font-size: 13px; font-weight: 600; }
.iz-sso-panel input { display: block; width: 100%; box-sizing: border-box; min-height: 46px; margin-top: 8px; padding: 11px 13px; border: 1px solid #c8c4c0; border-radius: 9px; font: inherit; font-size: 16px; }
.iz-sso-panel button, .iz-sso-button { display: block; box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 16px; margin: 12px 0; font-family: inherit; font-size: 14px; font-weight: 650; text-align: center; border: 1px solid #8b1a1a; border-radius: 9px; background: #8b1a1a; color: white; cursor: pointer; text-decoration: none; line-height: 1.4; transition: background-color 160ms ease, border-color 160ms ease; }
.iz-sso-panel a.iz-sso-button { color: #fff; }
.iz-sso-panel button.iz-sso-secondary { border-color: #918a85; background: #fff; color: #151313; }
.iz-sso-panel button.iz-sso-cancel { width: fit-content; max-width: 100%; margin: 12px auto 0; border-color: transparent; background: transparent; color: #6d6865; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.iz-sso-panel button.iz-sso-secondary:hover, .iz-sso-panel button.iz-sso-cancel:hover { background: #f5f4f2; }
.iz-sso-panel button:disabled { opacity: .6; cursor: wait; }
.iz-sso-panel :focus-visible, .iz-sso-buttons :focus-visible { outline: 2px solid #8b1a1a; outline-offset: 3px; }
.iz-sso-buttons { clear: both; margin: 20px 0; }
.iz-sso-buttons .iz-sso-button--google { background: #fff; color: #242020; border-color: #c8c4c0; }
.iz-sso-buttons .iz-sso-button--google:hover { background: #f5f4f2; border-color: #8f8580; }
.iz-sso-buttons .iz-sso-button--apple { background: #000; border-color: #000; color: #fff; }
.iz-sso-buttons .iz-sso-button--apple:hover { background: #242020; border-color: #242020; }
.iz-sso-panel [role="alert"] { padding: 12px; border-left: 3px solid #8b1a1a; background: #faf1ef; }
.iz-sso-panel dialog { box-sizing: border-box; max-width: min(500px,calc(100vw - 32px)); border: 1px solid #8f8580; border-radius: 8px; padding: 24px; }
.iz-sso-panel dialog::backdrop { background: rgb(0 0 0 / .45); }
.iz-sso-management { margin-top: 32px; }
.iz-sso-provider { max-width: 360px; min-height: 40px; margin: 20px auto 0; }
#appleid-signin { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .iz-sso-panel button, .iz-sso-button { transition: none; }
}
