/* Local account-page design, scoped away from listing and administration UI. */
body.contact-auth-page { margin: 0; background: #183a2b; color: #243d30; }
.contact-auth-page .auth-page, .contact-auth-page .auth-page :where(:not(.fa)) { font-family: Tajawal, Tahoma, Arial, sans-serif; }
.contact-auth-page .auth-page * { box-sizing: border-box; }
.contact-auth-page .auth-page { display: block; min-height: calc(100svh - 70px) !important; padding: 28px 28px 24px; background-color: #234a35; background-image: linear-gradient(90deg, rgb(12 35 22 / 76%) 0%, rgb(15 43 28 / 57%) 45%, rgb(17 43 29 / 24%) 100%), url("/images/ui/login-residential-v1.webp"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.contact-auth-page .auth-page::after { display: none; }
.auth-page .auth-topbar { max-width: 1120px; margin: 0 auto 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-page .auth-brand { display: flex; align-items: center; gap: 18px; padding: 10px 14px; border-radius: 12px; background: #fffffff5; text-decoration: none; color: #65745f; }
.auth-page .auth-brand img { display: block; width: 138px; height: auto; }
.auth-page .auth-brand > span { border-inline-start: 1px solid #d9dfd3; padding-inline-start: 18px; font-size: 12px; color: #65745f; }
.auth-page .auth-back { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; color: #f3f6ec; text-decoration: none; }
.auth-page .auth-back .fa { font-size: 11px; }
.auth-page .auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: center; gap: 24px; max-width: 1020px; margin: auto; }
.auth-page .auth-card { width: 100%; min-height: 0; margin: 0; padding: 34px 38px 24px; display: block; border: 1px solid #ffffff8c; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px #061b1240; }
.auth-page .auth-tabs { display: flex; width: 100%; height: auto; padding: 5px; margin: 0 0 30px; gap: 4px; border: 1px solid #e5eade; border-radius: 10px; background: #f5f7f1; box-shadow: none; }
.auth-page .auth-tabs > button, .auth-page .auth-tabs > button:first-of-type { flex: 1; height: 40px; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 7px; color: #65745f; background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; }
.auth-page .auth-tabs > button.active_lo_re { background: #fff; color: #20523a !important; box-shadow: 0 2px 7px #26412e0d; font-weight: 700; }
.auth-page .auth-eyebrow { display: block; margin: 0 0 8px; color: #65745f; font-size: 11px; font-weight: 500; }
.auth-page .auth-intro { margin-bottom: 27px; }
.auth-page .auth-intro h1 { margin: 0 0 9px; font-size: 30px; line-height: 1.5; font-weight: 800; letter-spacing: -.5px; color: #214c35; }
.auth-page .auth-intro > p { margin: 0; color: #65745f; font-size: 13px; line-height: 1.7; }
.auth-page .auth-form { display: block; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; animation: none; }
.auth-page [hidden], .auth-page .hidden { display: none !important; }
.auth-page .auth-field { width: 100%; margin: 0 0 19px; }
.auth-page .auth-field > label { display: block; margin: 0 0 9px; color: #3d5541; font-size: 12px; font-weight: 700; line-height: 1.5; }
.auth-page .auth-input { display: flex; align-items: center; position: relative; height: 50px; border: 1px solid #dde4d6; border-radius: 9px; background: #fcfdfb; }
.auth-page .auth-input:focus-within { border-color: #598364; box-shadow: 0 0 0 3px #3e745414; background: #fff; }
.auth-page .auth-input > i:first-child { flex: none; width: 42px; border: 0; height: auto; font-size: 16px; color: #81937b; background: transparent; }
.auth-page .auth-form .auth-input input { display: block; flex: 1; width: 0; min-width: 0; height: 48px !important; padding: 10px 0 10px 12px; margin: 0; border: 0 !important; outline: none; border-radius: 9px; background: transparent; box-shadow: none; color: #294232; text-align: start; font-size: 14px; line-height: 1.5; }
.auth-page .auth-input input::placeholder { color: #68775f; font-size: 12px; }
.auth-page .auth-input input::-webkit-input-placeholder { color: #68775f; font-size: 12px; }
.auth-page .auth-form .auth-password-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: 0 2px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #81937b; cursor: pointer; }
.auth-page .auth-password-toggle:hover { color: #244e37; background: #edf2e7; }
.auth-page .auth-password-toggle .fa { font-size: 15px; }
.auth-page .auth-form .auth-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 50px; height: auto; padding: 12px 18px; margin: 25px 0 0; border: 1px solid #20513a; border-radius: 9px; background: #20513a; color: #fff; box-shadow: 0 4px 10px #20513a12; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.auth-page .auth-form .auth-submit:disabled { opacity: .7; cursor: wait; }
.auth-page .auth-submit .fa { font-size: 12px; }
.auth-page :is(button,a,input,summary):focus-visible { outline: 2px solid #b88d51; outline-offset: 3px; }
.auth-page .auth-form input:focus-visible { outline: none; }
.auth-page .auth-help { margin: 20px 0 0; text-align: center; }
.auth-page .auth-help > summary { display: inline-block; color: #65745f; font-size: 12px; cursor: pointer; list-style: none; }
.auth-page .auth-help > summary::-webkit-details-marker { display: none; }
.auth-page .auth-help > p { padding: 12px; margin: 10px 0 0; border-radius: 8px; background: #f5f7f0; color: #61715d; font-size: 12px; line-height: 1.9; text-align: start; }
.auth-page .auth-help a { color: #20513a; text-decoration: underline; text-underline-offset: 3px; }
.auth-page .auth-card-foot { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 20px 0 0; margin-top: 26px; border-top: 1px solid #edf0e7; color: #65745f; font-size: 10px; line-height: 1.7; }
.auth-page .auth-card-foot .fa { font-size: 11px; }
.auth-page .auth-welcome { position: relative; padding: 32px 38px; color: #fff; }
.auth-page .auth-welcome-tag { display: inline-flex; align-items: center; gap: 8px; color: #e0e9d7; font-size: 11px; }
.auth-page .auth-welcome-tag > span { width: 5px; height: 5px; background: #c7b47c; border-radius: 50%; }
.auth-page .auth-welcome h2 { margin: 23px 0 18px; color: #f7f8ef; font-size: 37px; font-weight: 700; line-height: 1.55; letter-spacing: -.6px; }
.auth-page .auth-welcome-copy { max-width: 320px; margin: 0; color: #dbe6d5; font-size: 13px; line-height: 1.9; }
.auth-page .auth-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 20px 0 0; margin: 36px 0 0; list-style: none; border-top: 1px solid #ecf2e540; }
.auth-page .auth-benefits > li { min-width: 0; color: #e4edde; font-size: 10px; line-height: 1.8; }
.auth-page .auth-benefits a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 88px; padding: 12px 10px; border: 1px solid transparent; border-radius: 10px; color: inherit; text-decoration: none; }
.auth-page .auth-benefits .fa { color: #c6b77b; font-size: 17px; }
.auth-page .auth-explore { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 15px; border: 1px solid #e2ecd05c; border-radius: 8px; background: #173c2b4d; color: #f4f7ef; font-size: 12px; text-decoration: none; }
.auth-page .auth-explore .fa { font-size: 10px; }
.auth-page .auth-bottom-note { margin: 24px auto 0; text-align: center; color: #e5edde; font-size: 11px; }
.auth-page .auth-feedback { width: 100%; padding: 12px 14px; margin: 16px 0 0; border: 1px solid #e5c9c2; border-radius: 8px; color: #944a3c; background: #fbf3ef; font-size: 12px; line-height: 1.8; text-align: start; }
.auth-page .auth-feedback.is-success { border-color: #cfddbf; color: #2e5a35; background: #f1f6e8; }
.auth-page .auth-input:has([aria-invalid=true]), .auth-page .auth-input:has(.error_input) { border-color: #b16b59; }
.auth-page .auth-form .auth-field > .result { width: 100%; height: auto; min-height: 0; padding: 4px 0 0; margin: 0; color: #a45644; font-size: 11px; line-height: 1.7; }
.auth-page .auth-input > .fa-info, .auth-page .auth-input > .fa-check { position: static; width: 28px; height: 28px; border: 0; border-radius: 5px; flex: none; font-size: 11px; }
.auth-page .auth-form-note { margin: 0 0 20px; color: #65745f; font-size: 12px; line-height: 1.8; }
.auth-page .auth-form .auth-add-phone { display: inline-flex; align-items: center; gap: 7px; width: auto; min-height: 40px; height: auto; padding: 8px 0; margin: 0; background: transparent; color: #4b744e; font-size: 12px; border: 0; cursor: pointer; }
.auth-page .auth-extra-phones { display: block; width: 100%; padding: 0; margin: 0; }
.auth-page .auth-extra-phones > .auth-phone-extra { display: block; width: 100%; margin: 0; }
.auth-page .auth-form .auth-phone-remove { flex: none; width: 40px; min-height: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 6px; background: transparent; color: #9a6554; }
.auth-page .auth-noscript { font-size: 12px; color: #945a42; line-height: 1.8; }
.contact-auth-page > .copy_right { background: #183a2b; border-top: 1px solid #e9eddf29; }
.contact-auth-page .copy_right .cf-shell { max-width: 1120px; }
@media (max-width: 900px) {
    .auth-page .auth-layout { max-width: 600px; display: block; }
    .auth-page .auth-welcome { display: none; }
    .auth-page .auth-card { padding: 30px 36px 25px; }
    .auth-page .auth-topbar { max-width: 600px; margin-bottom: 30px; }
}
@media (max-width: 480px) {
    .contact-auth-page .auth-page { padding: 22px 18px 24px; background-position: 30% center; }
    .auth-page .auth-topbar { margin-bottom: 28px; gap: 10px; }
    .auth-page .auth-brand { padding: 9px 11px; border-radius: 9px; }
    .auth-page .auth-brand img { width: 116px; }
    .auth-page .auth-brand > span { display: none; }
    .auth-page .auth-back { gap: 7px; font-size: 11px; }
    .auth-page .auth-card { padding: 25px 22px 21px; border-radius: 16px; }
    .auth-page .auth-tabs { margin-bottom: 27px; }
    .auth-page .auth-intro h1 { font-size: 28px; }
    .auth-page .auth-intro > p { font-size: 12px; }
    .auth-page .auth-form .auth-input input { font-size: 16px; }
    .auth-page .auth-card-foot { font-size: 9px; gap: 5px; }
    .auth-page .auth-bottom-note { margin-top: 20px; }
    .contact-auth-page .contact-footer-bottom .cf-bottom-inner { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { .auth-page * { scroll-behavior: auto; animation: none !important; transition: none !important; } }

/* Legacy mobile forms use an ID-bearing selector; keep this override equally specific. */
.auth-page #login_container.auth-form, .auth-page #member_creation.auth-form { padding: 0; }
.auth-page .auth-optional { color: #65745f; font-size: 10px; font-weight: 400; }
.contact-auth-page .contact-footer-bottom, .contact-auth-page .contact-footer-bottom p, .contact-auth-page .contact-footer-bottom .cf-credit { color: #d7e2cb; }
.contact-auth-page .contact-footer-bottom .cf-socials a { color: #d7e2cb; border-color: #c5cfba66; }

/* Links and controls share restrained feedback without shifting their layout. */
.auth-page :is(a,button,summary) { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.auth-page :is(a,button) > .fa { transition: color .18s ease, transform .18s ease; }
.auth-page .auth-benefits a:focus-visible { background: #ffffff18; border-color: #ddcd9a8c; color: #fff; }
.auth-page .auth-explore:focus-visible { background: #eff4e5; border-color: #eff4e5; color: #204e39; }
.auth-page .auth-help :is(summary,a):focus-visible { color: #204e39; text-decoration: underline; text-underline-offset: 4px; }
.auth-page .auth-form .auth-submit:active:not(:disabled) { background: #143b28; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
    .auth-page .auth-benefits a:hover { color: #fff; background: #ffffff18; border-color: #ddcd9a8c; transform: translateY(-3px); }
    .auth-page .auth-benefits a:hover > .fa { color: #f0da9c; transform: scale(1.08); }
    .auth-page .auth-explore:hover { color: #204e39; background: #eff4e5; border-color: #eff4e5; box-shadow: 0 7px 18px #071e2a24; transform: translateY(-2px); }
    .auth-page .auth-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #ddcd9a; }
    .auth-page :is(.auth-explore,.auth-back):hover > .fa { transform: translateX(-3px); }
    .auth-page .auth-brand:hover { background: #fff; box-shadow: 0 5px 18px #071e2a2b; }
    .auth-page .auth-form .auth-submit:hover:not(:disabled) { background: #163f2b; box-shadow: 0 7px 18px #20513a30; transform: translateY(-2px); }
    .auth-page .auth-submit:hover:not(:disabled) > .fa { transform: translateX(-3px); }
    .auth-page .auth-tabs > button:hover:not(.active_lo_re) { background: #e7eee0; color: #204e39; }
    .auth-page .auth-tabs > button.active_lo_re:hover { box-shadow: 0 3px 10px #26412e1a; }
    .auth-page .auth-help :is(summary,a):hover { color: #204e39; text-decoration: underline; text-underline-offset: 4px; }
    .auth-page .auth-form .auth-add-phone:hover { color: #204e39; text-decoration: underline; text-underline-offset: 4px; }
    .auth-page .auth-form .auth-phone-remove:hover { color: #914332; background: #f8eee8; }
}
.contact-auth-page .contact-footer-bottom .cf-socials a:is(:hover,:focus-visible) { color: #204e39; background: #eff4e5; border-color: #eff4e5; }
@media (prefers-reduced-motion: reduce) {
    .auth-page :is(a,button,summary), .auth-page :is(a,button) > .fa { transform: none !important; }
}
