/* Shared sign-in and registration pages, modal and form controls. */
.auth-page, .auth-modal { --auth-ink: #141b3c; --auth-muted: #65718e; --auth-border: #e1e6f0; }
.redesign.auth-page .page-breadcrumbs { margin-bottom: 0; background: #f5f7fc; }
.auth-page .auth-main { padding: 12px 0 42px; background: #f5f7fc; }
.auth-card { display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden; border: 1px solid #eef0f7; border-radius: 22px; background: #fff; box-shadow: 0 12px 42px #293e6910; }
.auth-welcome { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; min-height: 770px; padding: 78px clamp(32px, 4.5vw, 68px) 64px; overflow: hidden; color: #fff; background: #18222b; }
.auth-welcome__image { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.auth-welcome::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(120deg, #080e16e6 0%, #0c1622bb 56%, #0c16225e 100%); }
.auth-welcome__eyebrow { margin: 0 0 22px; color: #e7ebef; font-size: 11px; font-weight: 500; letter-spacing: .28em; line-height: 1.6; text-transform: uppercase; }
.auth-welcome h2 { margin: 0 0 19px; color: #fff; font: 700 clamp(34px, 3.6vw, 50px)/1.1 Georgia, 'Times New Roman', serif; text-shadow: 0 2px 6px #0003; }
.auth-welcome__description { max-width: 440px; margin: 0; color: #f1f3f6; font-size: 15px; line-height: 1.65; }
.auth-welcome__features { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.auth-welcome__features li { display: flex; align-items: center; gap: 20px; }
.auth-welcome__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: #edf4ff24; font-size: 22px; }
.auth-welcome__features h3 { margin: 0 0 4px; color: #fff; font: 700 15px/1.4 Inter, Arial, sans-serif; }
.auth-welcome__features p { margin: 0; color: #e8edf3; font-size: 13px; line-height: 1.55; }
.auth-welcome__quote { margin: auto 0 0; padding-top: 72px; }
.auth-welcome__quote p { margin: 0 0 12px; color: #fff; font: italic 28px/1.2 Georgia, 'Times New Roman', serif; }
.auth-welcome__quote cite { color: #e2e6ed; font: 12px/1.5 Inter, Arial, sans-serif; }
.auth-panel { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 56px clamp(30px, 4.5vw, 68px) 50px; color: var(--auth-ink); background: #fff; }
.auth-panel__inner { width: 100%; max-width: 430px; }
.auth-panel__heading { margin-bottom: 34px; }
.auth-panel__heading h1 { margin: 0 0 12px; color: var(--auth-ink); font: 700 34px/1.2 Inter, Arial, sans-serif; letter-spacing: -.035em; }
.auth-panel__heading p { margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.auth-form { margin: 0; }
.auth-form__field + .auth-form__field { margin-top: 23px; }
.auth-form__field > label { display: block; margin: 0 0 8px; color: var(--auth-ink); font-size: 13px; font-weight: 700; line-height: 1.5; }
.auth-form__input-wrap { position: relative; }
.auth-form__input-wrap > i { position: absolute; z-index: 1; top: 50%; left: 17px; transform: translateY(-50%); color: #485577; font-size: 16px; pointer-events: none; }
.auth-form .auth-form__input { display: block; width: 100%; height: 50px; margin: 0; padding: 12px 16px 12px 47px; border: 1px solid var(--auth-border); border-radius: 9px; color: var(--auth-ink); background-color: #fff; background-image: none; font: 14px/1.5 Inter, Arial, sans-serif; box-shadow: 0 1px 2px #18244703; transition: border-color .16s, box-shadow .16s; }
.auth-form .auth-form__input::placeholder { color: #a1aabc; opacity: 1; }
.auth-form .auth-form__input:focus { outline: none; border-color: #8d84ff; box-shadow: 0 0 0 3px #473bf012; }
.auth-form .auth-form__input.is-invalid { border-color: #d77b86; }
.auth-form .auth-form__input.is-invalid:focus { box-shadow: 0 0 0 3px #d77b861a; }
.auth-form__input-wrap--password .auth-form__input { padding-right: 50px; }
.auth-form__password-toggle { position: absolute; right: 3px; top: 3px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; color: #485577; background: transparent; font-size: 15px; cursor: pointer; }
.auth-form__password-toggle[hidden] { display: none; }
.auth-form__password-toggle:hover { color: var(--site-accent); background: #f5f4ff; }
.auth-form__options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 18px 0 30px; font-size: 12px; line-height: 1.6; }
.auth-form__remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.auth-form .auth-form__checkbox { position: static; appearance: auto; -webkit-appearance: checkbox; flex: 0 0 17px; width: 17px; height: 17px; margin: 0; padding: 0; float: none; border-radius: 4px; accent-color: var(--site-accent); cursor: pointer; }
.auth-form__options > a { color: var(--site-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.auth-form__options > a:hover { color: #3026b3; }
.auth-form__button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; font: 500 14px/1.5 Inter, Arial, sans-serif; text-align: center; cursor: pointer; transition: background .16s, border-color .16s, box-shadow .16s; }
.auth-form__button--primary { min-height: 54px; color: #fff; border-color: var(--site-accent); background: var(--site-accent); box-shadow: 0 4px 10px #473bf01a; }
.auth-form__button--primary:hover { border-color: #362bcb; background: #362bcb; box-shadow: 0 5px 16px #473bf02b; }
.auth-form__button:disabled { opacity: .7; cursor: wait; box-shadow: none; }
.auth-form__button--primary > i { font-size: 13px; }
.auth-form__button--outline { color: var(--site-accent); border-color: #aaa2ff; background: #fff; }
.auth-form__button--outline:hover { color: #362bcb; border-color: var(--site-accent); background: #f7f6ff; }
.auth-form__button--outline > i { font-size: 17px; }
.auth-form__divider { display: flex; align-items: center; gap: 18px; margin: 25px 0; color: var(--auth-muted); font-size: 12px; line-height: 1.5; }
.auth-form__divider::before, .auth-form__divider::after { content: ''; flex: 1; height: 1px; background: var(--auth-border); }
.auth-panel__registration { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 22px; border: 1px solid transparent; border-radius: 12px; background: #f5f6fe; color: var(--site-accent); }
.auth-panel__registration:hover { color: #362bcb; border-color: #dedaff; background: #f0efff; }
.auth-panel__registration > i:first-child { flex-shrink: 0; font-size: 34px; }
.auth-panel__registration > span { flex: 1; min-width: 0; }
.auth-panel__registration strong { display: block; margin-bottom: 5px; color: var(--auth-ink); font-size: 13px; font-weight: 700; line-height: 1.4; }
.auth-panel__registration > span > span { display: block; color: var(--auth-muted); font-size: 12px; line-height: 1.55; }
.auth-panel__registration > i:last-child { flex-shrink: 0; font-size: 12px; }
.auth-form .auth-form__error { margin: 0 0 22px; padding: 13px 15px; border: 1px solid #f1d5da; border-radius: 9px; color: #953c4a; background: #fff3f5; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-form .invalid-feedback { display: block; margin-top: 7px; color: #a74353; font-size: 12px; line-height: 1.5; }
.auth-modal { color: var(--auth-ink); }
.auth-modal .modal-dialog { width: calc(100% - 32px); max-width: 460px; min-height: calc(100% - 40px); margin: 20px auto; }
.auth-modal .modal-dialog::before { display: none; }
.auth-modal .modal-content { position: relative; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: hidden; border: 1px solid #e8ebf4; border-radius: 22px; background: #fff; box-shadow: 0 24px 80px #101b403d; }
.auth-modal__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 32px; -webkit-overflow-scrolling: touch; }
.auth-modal__close { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: #7b849c; background: #fff; font-size: 15px; cursor: pointer; }
.auth-modal__close:hover { color: var(--site-accent); background: #f3f2ff; }
.auth-modal__heading { margin-bottom: 26px; text-align: center; }
.auth-modal__mark { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 15px; color: var(--site-accent); background: #efedff; font-size: 23px; }
.auth-modal__heading h2 { margin: 0 0 9px; color: var(--auth-ink); font: 700 26px/1.25 Inter, Arial, sans-serif; letter-spacing: -.025em; }
.auth-modal__heading p { margin: 0; color: var(--auth-muted); font-size: 13px; line-height: 1.6; }
.auth-modal .auth-form__options { margin-bottom: 24px; }
.auth-modal .auth-form__divider { margin: 21px 0; }
@media (max-width: 1199px) {
    .auth-welcome { padding: 64px 36px 48px; }
    .auth-panel { padding: 48px 36px; }
    .auth-panel__heading h1 { font-size: 30px; }
    .auth-welcome h2 { font-size: 41px; }
    .auth-welcome__eyebrow { font-size: 10px; letter-spacing: .23em; }
    .auth-welcome__description { font-size: 14px; }
    .auth-welcome__features li { gap: 16px; }
    .auth-panel__registration { gap: 15px; padding: 20px 18px; }
}
@media (max-width: 991px) {
    .auth-card { grid-template-columns: .95fr 1.05fr; border-radius: 18px; }
    .auth-welcome { min-height: 730px; padding: 50px 27px 40px; }
    .auth-panel { padding: 40px 27px; }
    .auth-welcome h2 { font-size: 35px; }
    .auth-welcome__icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 19px; }
    .auth-welcome__features li { gap: 13px; }
    .auth-welcome__features h3 { font-size: 13px; }
    .auth-welcome__features p { font-size: 12px; }
    .auth-welcome__quote p { font-size: 25px; }
    .auth-panel__heading h1 { font-size: 28px; }
    .auth-panel__heading p { font-size: 13px; }
    .auth-panel__registration { gap: 12px; }
    .auth-panel__registration > i:first-child { font-size: 28px; }
}
@media (max-width: 767px) {
    .auth-page .auth-main { padding: 12px 0 28px; }
    .auth-card { display: flex; flex-direction: column; max-width: 580px; margin: 0 auto; border-radius: 16px; }
    .auth-panel { order: -1; padding: 32px 28px; }
    .auth-panel__inner { max-width: none; }
    .auth-panel__heading { margin-bottom: 28px; }
    .auth-panel__heading h1 { font-size: 29px; }
    .auth-panel__heading p { font-size: 14px; }
    .auth-form .auth-form__input { min-height: 50px; font-size: 16px; }
    .auth-form__options { gap: 14px; margin-bottom: 26px; }
    .auth-panel__registration { margin-top: 28px; padding: 20px; }
    .auth-welcome { min-height: 0; padding: 36px 28px; }
    .auth-welcome__image { object-position: center; }
    .auth-welcome h2 { font-size: 36px; }
    .auth-welcome__description { max-width: 430px; }
    .auth-welcome__features { gap: 18px; margin-top: 25px; }
    .auth-welcome__features h3 { font-size: 14px; }
    .auth-welcome__features p { font-size: 12px; }
    .auth-welcome__quote { margin-top: 32px; padding-top: 0; }
    .auth-welcome__quote p { font-size: 25px; }
}
@media (max-width: 399px) {
    .auth-modal .modal-dialog { width: calc(100% - 24px); min-height: calc(100% - 24px); margin: 12px auto; }
    .auth-modal .modal-content { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
    .auth-modal__body { padding: 28px 20px 22px; }
    .auth-modal__heading h2 { font-size: 24px; }
    .auth-panel { padding: 28px 20px; }
    .auth-panel__heading h1 { font-size: 26px; }
    .auth-panel__heading p { font-size: 13px; }
    .auth-form__options { column-gap: 9px; font-size: 11px; }
    .auth-form__button { gap: 9px; padding-right: 12px; padding-left: 12px; font-size: 13px; }
    .auth-panel__registration { gap: 12px; padding: 17px 14px; }
    .auth-panel__registration > i:first-child { font-size: 25px; }
    .auth-welcome { padding: 32px 22px; }
    .auth-welcome h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-form .auth-form__input, .auth-form__button { transition: none; }
}

.auth-form__remember .form-check,
.registration-consents__row .form-check{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}
