.auth-page { background: #f6f8fa; }
.auth-page [hidden] { display: none !important; }
.auth-shell { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100svh; }
.auth-intro { display: flex; flex-direction: column; position: relative; padding: 42px clamp(32px, 5vw, 88px) 28px; overflow: hidden; color: #fff; background: #153e43; background-image: radial-gradient(ellipse at 0 100%, #24615d 0, transparent 65%); }
.auth-brand { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; max-width: 100%; color: #fff; font-size: 21px; font-weight: 500; text-decoration: none; }
.auth-brand-copy { min-width: 0; line-height: 1.45; }
.auth-brand-divider { color: #92b9b8; font-weight: 400; }
.auth-brand-description { font-size: 14px; font-weight: 400; }
.auth-brand:hover, .auth-brand:focus { color: #b5f2e4; text-decoration: none; }
.auth-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid rgba(181, 242, 228, .35); border-radius: 12px; color: #b5f2e4; background: rgba(181, 242, 228, .06); }
.auth-brand-mark svg { width: 30px; height: 30px; }
.auth-intro-content { width: 100%; max-width: 520px; margin: auto 0; padding: 64px 0 36px; }
.auth-page .auth-eyebrow { margin: 0 0 18px; color: #a9d9d1; font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 1.9px; }
.auth-intro-title { margin: 0 0 22px; font-size: clamp(30px, 3.1vw, 48px); font-weight: 500; line-height: 1.22; letter-spacing: -1.5px; }
.auth-intro-title span { color: #a1e6d7; }
.auth-page .auth-intro-description { max-width: 360px; margin: 0; color: #c0d9db; font-size: 16px; line-height: 1.7; }
.auth-features { display: grid; gap: 18px; margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(179, 223, 220, .2); list-style: none; }
.auth-features li { display: flex; align-items: center; gap: 12px; color: #e1f1ed; font-size: 14px; line-height: 1.5; }
.auth-features li::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #80dfca; box-shadow: 0 0 0 5px rgba(128, 223, 202, .08); }
.auth-small-mark { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #117565; }
.auth-main { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 48px clamp(28px, 6vw, 96px) 30px; background: #fbfcfd; }
.auth-main-top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; color: #627480; font-size: 12px; }
.auth-small-mark { background: #117565; }
.auth-content { width: 100%; max-width: 392px; margin: auto 0; padding: 56px 0; }
.auth-form-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 25px; border: 1px solid #d5e8e2; border-radius: 14px; color: #117565; background: #edf7f3; }
.auth-form-icon svg { width: 25px; height: 25px; }
.auth-form-heading .auth-eyebrow { margin-bottom: 9px; color: #617781; font-size: 10px; letter-spacing: 1.7px; }
.auth-form-heading h1 { margin: 0 0 12px; color: #203840; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.7px; }
.auth-form-heading > p:last-child { margin: 0 0 30px; color: #627480; font-size: 14px; line-height: 1.65; }
.auth-page .auth-form { display: block; width: 100%; }
.auth-page .form-group > label { display: block; margin: 0 0 8px; color: #334e59; font-size: 13px; font-weight: 500; }
.auth-page .form-control { min-height: 50px; padding: 13px 15px; font-size: 14px; border-radius: 9px; }
.auth-password { position: relative; }
.auth-page .auth-password .form-control { padding-right: 52px; }
.auth-password-toggle { display: grid; place-items: center; position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; color: #6a7e88; background: transparent; cursor: pointer; }
.auth-password-toggle:hover { color: #117565; background: #eef5f3; }
.auth-password-toggle svg { width: 20px; height: 20px; }
.auth-eye-slash { display: none; }
.auth-password-toggle[aria-pressed='true'] .auth-eye-slash { display: block; }
.auth-page .auth-caps-lock { margin: 7px 0 0; color: #8b5a13; font-size: 12px; }
.auth-form-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 5px 0 26px; font-size: 12px; }
.auth-remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #536974; font-weight: 400; cursor: pointer; }
.auth-page .auth-remember input { width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.auth-content a { color: #117565; text-underline-offset: 3px; }
.auth-content a:hover { color: #0b584c; text-decoration: underline; }
.auth-page .auth-submit { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 13px 20px; border-radius: 9px; font-size: 14px; box-shadow: 0 4px 10px rgba(17, 117, 101, .12); }
.auth-submit svg { width: 19px; height: 19px; }
.auth-page .auth-error { margin-bottom: 24px; font-size: 13px; }
.auth-main-footer { color: #71838d; font-size: 11px; line-height: 1.6; text-align: center; }
.auth-account { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 13px; }
/* FOS recovery and registration templates use the same accessible form surface. */
.auth-content .panel { margin-bottom: 24px; }
.auth-content .panel-title, .auth-content > h2 { font-size: 22px; line-height: 1.4; }
.auth-content .form-horizontal .form-group { margin-left: 0; margin-right: 0; }
.auth-content .form-horizontal .control-label, .auth-content .form-horizontal .col-sm-9 { float: none; width: 100%; padding-left: 0; padding-right: 0; text-align: left; }
.auth-content .fos_user_resetting_request label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.auth-content .fos_user_resetting_request input[type='text'] { width: 100%; min-height: 50px; margin-bottom: 20px; padding: 13px 15px; border: 1px solid #cbd8df; border-radius: 9px; background: #fff; }
.auth-content .fos_user_resetting_request input[type='submit'] { width: 100%; padding: 13px 15px; border: 1px solid #117565; border-radius: 9px; color: #fff; background: #117565; cursor: pointer; }
@media (min-width: 1600px) {
    .auth-intro-content { align-self: center; }
}
@media (max-width: 1000px) {
    .auth-shell { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .auth-intro { padding-left: 30px; padding-right: 30px; }
    .auth-intro-title { font-size: 32px; letter-spacing: -.8px; }
    .auth-main { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 760px) {
    .auth-shell { display: flex; flex-direction: column; }
    .auth-intro { padding: 24px 28px; }
    .auth-brand { font-size: 19px; }
    .auth-brand-mark { width: 36px; height: 36px; border-radius: 10px; }
    .auth-intro-content { display: none; }
    .auth-main { flex: 1; padding: 24px 28px; }
    .auth-main-top { justify-content: flex-start; max-width: 392px; }
    .auth-content { padding: 38px 0 44px; }
    .auth-form-heading h1 { font-size: 30px; }
    .auth-page .form-control,
    .auth-content .fos_user_resetting_request input[type='text'] { font-size: 16px; }
}
@media (max-width: 360px) {
    .auth-intro { padding: 20px; }
    .auth-main { padding: 20px; }
    .auth-form-options { font-size: 11px; gap: 10px; }
    .auth-form-heading h1 { font-size: 28px; }
    .auth-desktop-break { display: none; }
}
