.auth-page .lp-shell { position: relative; }
.auth-page [hidden] { display: none !important; }
.auth-scene { position: fixed; width: min(48vw, 640px); height: auto; right: -180px; bottom: 25px; opacity: .045; filter: brightness(.35) sepia(1) saturate(2) hue-rotate(290deg); pointer-events: none; }
.auth-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 9px 14px; border: 1px solid #dfbbc5; border-radius: 7px; background: #fff; color: var(--lp-red-dark); font-size: .88rem; text-decoration: none; }
.auth-home-button:hover { background: #fcf1f4; border-color: #c17489; }
.auth-home-button svg { width: 18px; height: 18px; }
.auth-main { display: flex; align-items: center; justify-content: center; flex: 1; padding-block: 30px; outline: none; min-width: 0; }
.auth-card { width: min(100%, 500px); min-width: 0; padding: 32px 36px 26px; border: 1px solid var(--lp-border); border-top: 4px solid var(--lp-red); border-radius: 11px; background: #fff; box-shadow: 0 20px 60px #62213910; }
.auth-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; color: var(--lp-red); border: 1px solid #f0dce2; background: #fcf0f3; }
.auth-icon svg { width: 29px; height: 29px; }
.auth-card h1 { margin: 0 0 5px; color: var(--lp-red-dark); font-size: 2rem; line-height: 1.4; }
.auth-description { margin: 0 0 25px; color: var(--lp-muted); font-size: .88rem; overflow-wrap: anywhere; }
.auth-field { margin-bottom: 19px; min-width: 0; }
.auth-field label { display: block; margin-bottom: 7px; color: #49343f; font-weight: 700; font-size: .91rem; }
.auth-card :is(input[type="password"], input[type="text"], input[type="search"], select) { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 13px; color: #342b32; background: #fff; border: 1px solid #d8c9d0; border-radius: 7px; font: inherit; font-size: .94rem; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.auth-card select { text-overflow: ellipsis; padding-right: 6px; }
.auth-card input::placeholder { color: #97858f; opacity: 1; }
.auth-card :is(input, select):focus { outline: 2px solid #e4a4b4; outline-offset: 1px; border-color: #bd5d76; box-shadow: 0 0 0 3px #b62b4609; }
.auth-card :is(input, select)[aria-invalid="true"], .auth-card .input-validation-error { border-color: #bd304c; background-color: #fff9fa; }
.auth-password-control { position: relative; }
.auth-password-control input { padding-right: 54px !important; }
.auth-password-toggle { position: absolute; top: 1px; bottom: 1px; right: 1px; width: 46px; padding: 0; border: 0; border-radius: 0 6px 6px 0; background: transparent; color: #806271; cursor: pointer; }
.auth-password-toggle:hover { color: var(--lp-red); background: #fcf0f3; }
.auth-password-toggle svg { width: 21px; height: 21px; vertical-align: middle; }
.auth-password-toggle:focus-visible { outline: 2px solid #c94e6a; outline-offset: 1px; }
.auth-card select.select2-hidden-accessible { min-height: 0; }
.auth-card .select2-container { max-width: 100%; min-width: 0; font-size: .94rem; }
.auth-card .select2-container--default .select2-selection--single { display: flex; align-items: center; min-height: 48px; height: auto; border: 1px solid #d8c9d0; border-radius: 7px; background: #fff; }
.auth-card .select2-container--default .select2-selection--single .select2-selection__rendered { width: 100%; padding: 11px 34px 11px 13px; color: #342b32; line-height: 1.5; }
.auth-card .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #97858f; }
.auth-card .select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 8px; transform: translateY(-50%); }
.auth-card .select2-container--focus .select2-selection, .auth-card .select2-container--open .select2-selection { outline: 2px solid #e4a4b4; outline-offset: 1px; border-color: #bd5d76; box-shadow: 0 0 0 3px #b62b4609; }
.auth-card .select2-selection[aria-invalid="true"] { border-color: #bd304c; background: #fff9fa; }
.auth-card .select2-dropdown { border-color: #bd5d76; border-radius: 7px; overflow: hidden; box-shadow: 0 8px 24px #62213914; }
.auth-card .select2-search--dropdown { padding: 9px; }
.auth-card .select2-search--dropdown .select2-search__field { min-height: 42px; padding: 8px 10px; font-size: .86rem; border-color: #d8c9d0; }
.auth-card .select2-container--default .select2-results > .select2-results__options { max-height: min(240px, 40vh); overscroll-behavior: contain; }
.auth-card .select2-results__option { padding: 9px 13px; font-size: .9rem; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; }
.auth-card .select2-container--default .select2-results__option[aria-selected="true"] { background: #f9e9ee; color: var(--lp-red-dark); }
.auth-card .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--lp-red); color: #fff; }
.auth-hint { display: block; font-size: .76rem; color: #7b6370; margin-top: 6px; }
.auth-remember { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 23px; padding-block: 3px; cursor: pointer; color: #655360; font-size: .85rem; }
.auth-remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--lp-red); cursor: pointer; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 12px 18px; border: 1px solid var(--lp-red); border-radius: 7px; background: var(--lp-red); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px #9a284319; transition: background .15s; }
.auth-submit:hover { background: var(--lp-red-dark); }
.auth-submit:focus-visible { outline: 3px solid #d9768e; outline-offset: 3px; }
.auth-submit:disabled { opacity: .75; cursor: wait; }
.auth-submit svg { width: 19px; height: 19px; }
.auth-spinner { width: 16px; height: 16px; border: 2px solid #ffffff55; border-top-color: white; border-radius: 50%; animation: auth-spin .8s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-back { display: block; padding: 13px 10px; text-align: center; color: #8e5465; text-decoration: none; font-size: .83rem; }
.auth-back:hover { text-decoration: underline; }
.auth-help { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid #f0e8eb; color: var(--lp-muted); text-align: center; font-size: .75rem; overflow-wrap: anywhere; }
.auth-help a { color: var(--lp-red-dark); text-underline-offset: 3px; }
.auth-field-error { display: block; margin-top: 6px; color: #af2742; font-size: .78rem; }
.auth-field-error:empty { display: none; }
.auth-summary.validation-summary-valid { display: none; }
.auth-summary.validation-summary-errors { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #eab7c3; border-radius: 7px; color: #92223d; background: #fff4f6; font-size: .85rem; }
.auth-summary ul { margin: 0; padding-left: 18px; }
@media (max-width: 850px) { .auth-main { padding-block: 12px; } }
@media (max-width: 480px) { .auth-page .lp-header { flex-wrap: nowrap; align-items: flex-start; flex-direction: column; } .auth-home-button { align-self: flex-start; min-height: 40px; padding: 7px 10px; font-size: .78rem; } .auth-card { padding: 25px 22px 21px; } .auth-main { padding-block: 0; } .auth-icon { margin-bottom: 14px; width: 43px; height: 43px; } .auth-card h1 { font-size: 1.7rem; } .auth-description { font-size: .82rem; margin-bottom: 22px; } .auth-scene { display: none; } .auth-card .auth-field label { font-size: .85rem; } .auth-help { font-size: .72rem; } }
@media (max-width: 340px) { .auth-card { padding-inline: 17px; } }
@media (prefers-reduced-motion: reduce) { .auth-spinner { animation: none; } }
