/* spot_auth.css — волна 5a переноса холста: вход, регистрация, восстановление пароля (доски Auth, AuthReg1–3, AuthForgot,
   AuthStates, DesktopAuth). Одна разметка на три места (templates/include/auth.php): окно #modal-auth (телефон — шторка снизу,
   десктоп — окно 440px), страница /auth (.spot-auth-page) и форма подачи объявления (.spot-auth--create).
   Цвета и размеры только из токенов spot_ui.css. Мобильный вид первичен, зоны касания ≥ 44px, без зависимости от hover. */

/* ---------- Форма ---------- */
.spot-auth {
    position: relative;
    font-family: var(--spot-font);
    color: var(--spot-ink);
    text-align: right;
}

.spot-auth *,
.spot-auth *::before,
.spot-auth *::after {
    box-sizing: border-box;
}

.spot-auth [hidden] {
    display: none !important;
}

.spot-auth-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 44px;
    margin: 0 0 16px;
}

.spot-auth-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-family: var(--spot-font);
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: var(--spot-ink);
    text-align: center;
    overflow-wrap: anywhere;
}

.spot-auth-title:focus {
    outline: none;
}

.spot-auth-back {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: none;
    color: var(--spot-ink);
    cursor: pointer;
}

.spot-auth-back:active {
    background: var(--spot-bg);
}

/* вкладки — сегменты */
.spot-auth .auth-block-tabs {
    display: flex;
    gap: 4px;
    margin: 0 0 16px;
    padding: 4px;
    border-radius: var(--spot-radius);
    background: var(--spot-field);
}

.spot-auth .auth-block-tabs > [data-tab] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--spot-control-h);
    margin: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--spot-ink-2);
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.spot-auth .auth-block-tabs > [data-tab].active {
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(20, 22, 26, 0.12);
}

/* шаги 2–3 регистрации и восстановление — без вкладок, с кнопкой «назад» */
.spot-auth[data-spot-view="reg2"] .auth-block-tabs,
.spot-auth[data-spot-view="reg3"] .auth-block-tabs,
.spot-auth[data-spot-view="forgot"] .auth-block-tabs {
    display: none;
}

.spot-auth .auth-block-tab {
    margin: 0;
}

.spot-auth-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

/* волна 11: подпись на странице входа, когда гость пришёл с «AI подбор» (после входа/регистрации подбор продолжится) */
.spot-auth-ctx {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: var(--spot-radius, 12px);
    background: var(--spot-field, #f1f1f1);
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-auth-field {
    margin: 0 0 16px;
}

.spot-auth-label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: var(--spot-ink);
}

.spot-auth-control {
    position: relative;
}

.spot-auth .spot-auth-input {
    display: block;
    width: 100%;
    height: var(--spot-control-h-l);
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 16px; /* iOS не увеличивает страницу при фокусе */
    line-height: 22px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.spot-auth .spot-auth-input::placeholder {
    color: var(--spot-mut);
    opacity: 1;
}

.spot-auth .spot-auth-input:focus {
    border-color: var(--spot-ink);
    outline: 2px solid var(--spot-focus);
    outline-offset: 1px;
}

.spot-auth .spot-auth-input[aria-invalid="true"] {
    border-color: var(--spot-red);
}

.spot-auth-has-eye .spot-auth-input {
    padding-left: 52px;
}

.spot-auth-has-flag .spot-auth-input {
    padding-right: 46px;
}

.spot-auth-flag {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    width: 22px;
    height: 16px;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 0 1px var(--spot-line);
    transform: translateY(-50%);
    pointer-events: none;
}

.spot-auth-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spot-auth-eye {
    position: absolute;
    top: 50%;
    left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--spot-ink-2);
    transform: translateY(-50%);
    cursor: pointer;
}

.spot-auth-eye .spot-auth-eye-off,
.spot-auth-eye[aria-pressed="true"] .spot-auth-eye-on {
    display: none;
}

.spot-auth-eye[aria-pressed="true"] .spot-auth-eye-off {
    display: block;
}

.spot-auth .spot-auth-code {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
}

.spot-auth .spot-auth-code::placeholder {
    letter-spacing: 0.2em;
}

.spot-auth .msg-error {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-red-dark-fg);
}

.spot-auth .spot-auth-err {
    margin: 0 0 12px;
}

.spot-auth-hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}

.spot-auth-hint span {
    color: var(--spot-ink);
    font-weight: 600;
    white-space: nowrap;
}

/* прод (release-2026-10-07-4): согласие на новости при регистрации и мягкая подсказка к e-mail из чёрного списка */
.spot-auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink);
    cursor: pointer;
}

.spot-auth-check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--spot-red);
}

.spot-auth .spot_email_hint {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-amber);
}

.spot-auth-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 8px;
}

.spot-auth-link {
    display: inline-flex;
    align-items: center;
    min-height: var(--spot-control-h);
    margin: 0 0 0 -4px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--spot-focus);
    font-family: var(--spot-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.spot-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: var(--spot-control-h-l);
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--spot-radius);
    font-family: var(--spot-font);
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
}

.spot-auth-primary {
    background: var(--spot-red);
    color: #fff;
}

.spot-auth-primary:active {
    background: var(--spot-red-dark);
}

.spot-auth-btn[disabled] {
    opacity: .75;
    cursor: default;
}

.spot-auth-btn .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.spot-auth button:focus-visible,
.spot-auth a:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

/* логин для менеджера паролей на шаге 3 — не виден */
.spot-auth .spot-auth-username {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

/* «Пароль отправлен» */
.spot-auth-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 0 0;
    text-align: center;
}

.spot-auth-done-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: var(--spot-green-soft);
    color: var(--spot-green-fg);
}

.spot-auth-done-text {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: var(--spot-ink);
}

.spot-auth-done-text:focus {
    outline: none;
}

/* вход через сервисы */
.spot-auth-social {
    margin: 16px 0 0;
}

.spot-auth-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
    text-align: center;
}

.spot-auth-or::before,
.spot-auth-or::after {
    content: "";
    flex: 1 1 0;
    height: 1px;
    background: var(--spot-line);
}

.spot-auth .auth-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.spot-auth .auth-list > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: var(--spot-control-h-l);
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink) !important;
    font-family: var(--spot-font);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
}

.spot-auth .auth-list > a:active {
    background: var(--spot-bg);
}

.spot-auth .auth-list > a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* бонус за регистрацию (uni_settings bonus_program.register) */
.spot-auth-bonus {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: var(--spot-radius);
    background: var(--spot-amber-soft);
    color: var(--spot-amber);
}

.spot-auth-bonus-ic {
    flex: 0 0 auto;
    display: inline-flex;
}

.spot-auth-bonus p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-auth-bonus strong {
    color: var(--spot-amber);
    font-weight: 700;
}

.spot-auth-agree {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: var(--spot-ink-2);
    text-align: center;
}

.spot-auth-agree a {
    color: var(--spot-focus);
}

/* сервисы, бонус и соглашение — только на первом экране входа и регистрации */
.spot-auth[data-spot-view="reg2"] .spot-auth-social,
.spot-auth[data-spot-view="reg3"] .spot-auth-social,
.spot-auth[data-spot-view="forgot"] .spot-auth-social,
.spot-auth[data-spot-view="reg2"] .spot-auth-bonus,
.spot-auth[data-spot-view="reg3"] .spot-auth-bonus,
.spot-auth[data-spot-view="forgot"] .spot-auth-bonus,
.spot-auth[data-spot-view="reg2"] .spot-auth-agree,
.spot-auth[data-spot-view="forgot"] .spot-auth-agree {
    display: none;
}

/* ---------- Окно #modal-auth ---------- */
#modal-auth .modal-custom {
    max-width: 440px !important;
    padding: 20px 24px 24px;
    border-radius: var(--spot-radius-l);
    box-shadow: 0 16px 48px rgba(20, 22, 26, 0.24);
}

#modal-auth .modal-auth-content {
    text-align: right;
}

#modal-auth .modal-custom-close {
    top: 26px;
    left: 24px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 16px;
    background: var(--spot-bg);
    color: var(--spot-ink);
    box-shadow: none;
}

#modal-auth .modal-custom-close::after {
    content: "";
    position: absolute;
    inset: -6px;
}

#modal-auth .modal-custom-close i {
    font-size: 18px;
    transition: none;
    transform: none;
}

/* десктоп: заголовок слева, как на доске DesktopAuth; справа место под крестик */
@media (min-width: 768px) {
    #modal-auth .spot-auth-head {
        grid-template-columns: auto minmax(0, 1fr) 44px;
    }

    #modal-auth .spot-auth-back {
        margin-left: 4px;
    }

    #modal-auth .spot-auth-title {
        font-size: 20px;
        line-height: 26px;
        font-weight: 800;
        text-align: right;
    }
}

/* телефон: шторка снизу */
@media (max-width: 767.98px) {
    #modal-auth.modal-custom-bg {
        padding: 0;
        overflow: hidden;
        background: var(--spot-scrim);
    }

    #modal-auth .modal-custom {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        width: auto;
        max-width: none !important;
        max-height: calc(100% - 40px - var(--spot-safe-top, 0px));
        margin: 0;
        padding: 22px calc(16px + var(--spot-safe-left, 0px)) calc(16px + var(--spot-safe-bottom, 0px)) calc(16px + var(--spot-safe-right, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: var(--spot-radius-sheet) var(--spot-radius-sheet) 0 0;
        box-shadow: var(--spot-shadow-sheet);
        animation: spot-sheet-up .24s cubic-bezier(.2, .8, .2, 1);
    }

    #modal-auth .modal-custom::before {
        content: "";
        position: absolute;
        top: 8px;
        right: 50%;
        width: 36px;
        height: 4px;
        border-radius: 2px;
        background: var(--spot-line);
        transform: translateX(50%);
    }

    #modal-auth .modal-custom-close {
        top: 28px;
        left: calc(16px + var(--spot-safe-right, 0px));
    }
}

/* анимация spot-sheet-up — из spot_overlays.css */
@media (prefers-reduced-motion: reduce) {
    #modal-auth .modal-custom {
        animation: none;
    }
}

/* ---------- Страница /auth ---------- */
.spot-auth-page {
    display: block;
    padding: 16px calc(16px + var(--spot-safe-left, 0px)) calc(32px + var(--spot-safe-bottom, 0px)) calc(16px + var(--spot-safe-right, 0px));
    background: var(--spot-surface);
}

.spot-auth-page-in {
    max-width: 440px;
    margin: 0 auto;
}

.spot-auth-aside {
    display: none;
}

.spot-auth-page .spot-auth-title {
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
}

@media (min-width: 992px) {
    .spot-auth-page {
        padding: 48px var(--spot-gutter-desktop) 64px;
        background: var(--spot-bg);
    }

    .spot-auth-page-in {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 48px;
        max-width: 1000px;
    }

    .spot-auth-aside {
        display: block;
        flex: 1 1 0;
        max-width: 420px;
        padding: 40px 0 0;
        font-family: var(--spot-font);
        color: var(--spot-ink);
    }

    .spot-auth-aside-title {
        margin: 0 0 12px;
        font-size: 30px;
        line-height: 36px;
        font-weight: 800;
    }

    .spot-auth-aside-desc {
        margin: 0 0 28px;
        font-size: 16px;
        line-height: 24px;
        color: var(--spot-ink-2);
    }

    .spot-auth-aside-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .spot-auth-aside-list li {
        position: relative;
        margin: 0 0 18px;
        padding: 0 40px 0 0;
        font-size: 15px;
        line-height: 22px;
        color: var(--spot-ink-2);
    }

    .spot-auth-aside-list li strong {
        display: block;
        color: var(--spot-ink);
        font-weight: 700;
    }

    .spot-auth-aside-list li::before {
        content: "";
        position: absolute;
        top: 1px;
        right: 0;
        width: 28px;
        height: 28px;
        border-radius: 14px;
        background: var(--spot-red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23D8232A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
    }

    .spot-auth-card {
        flex: 0 0 440px;
        padding: 24px 28px 28px;
        border-radius: var(--spot-radius-l);
        background: var(--spot-surface);
        box-shadow: 0 1px 2px rgba(20, 22, 26, 0.06), 0 8px 24px rgba(20, 22, 26, 0.06);
    }

    .spot-auth-page .spot-auth-head {
        grid-template-columns: auto minmax(0, 1fr) 0;
    }

    .spot-auth-page .spot-auth-back {
        margin-left: 4px;
    }

    .spot-auth-page .spot-auth-title {
        text-align: right;
    }
}

/* телефон и планшет (< 992px): колонка преимуществ не прячется целиком — под формой компактный список из трёх пунктов
   (li[data-spot-compact] в auth.tpl), без заголовка и описания. Контейнер становится колонкой flex, чтобы aside,
   стоящий в разметке первым, встал после карточки формы; правила самой формы не меняются. Галочка — маска, цвет из токена. */
@media (max-width: 991.98px) {
    .spot-auth-page-in {
        display: flex;
        flex-direction: column;
    }

    .spot-auth-aside--compact {
        display: block;
        order: 2;
        margin: 28px 0 0;
        padding: 20px 0 0;
        border-top: 1px solid var(--spot-line);
        font-family: var(--spot-font);
        color: var(--spot-ink);
    }

    .spot-auth-aside--compact .spot-auth-aside-title,
    .spot-auth-aside--compact .spot-auth-aside-desc,
    .spot-auth-aside--compact .spot-auth-aside-list > li:not([data-spot-compact]) {
        display: none;
    }

    .spot-auth-aside--compact .spot-auth-aside-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .spot-auth-aside--compact .spot-auth-aside-list > li {
        position: relative;
        margin: 0;
        padding: 0 36px 0 0;
        font-size: 13px;
        line-height: 18px;
        color: var(--spot-ink-2);
        overflow-wrap: anywhere;
    }

    .spot-auth-aside--compact .spot-auth-aside-list > li strong {
        display: block;
        margin: 0 0 2px;
        font-size: 15px;
        line-height: 20px;
        font-weight: 700;
        color: var(--spot-ink);
    }

    .spot-auth-aside--compact .spot-auth-aside-list > li::before,
    .spot-auth-aside--compact .spot-auth-aside-list > li::after {
        content: "";
        position: absolute;
        top: -2px;
        right: 0;
        width: 24px;
        height: 24px;
    }

    .spot-auth-aside--compact .spot-auth-aside-list > li::before {
        border-radius: 12px;
        background: var(--spot-red-soft);
    }

    .spot-auth-aside--compact .spot-auth-aside-list > li::after {
        background-color: var(--spot-red);
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 12.4l3.1 3.1 6-6.3' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 12.4l3.1 3.1 6-6.3' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
    }
}

/* ---------- Форма подачи объявления ---------- */
.spot-auth--create .spot-auth-title {
    font-size: 18px;
}

@media (min-width: 768px) {
    .spot-auth--create {
        max-width: 440px;
    }
}

/* ---------- Ключи доступа (passkeys, волна 14): кнопка входа на /auth и «Вход без пароля» в кабинете ---------- */
.spot-pk-login {
    margin: 16px 0 0;
}

.spot-pk-login .spot-auth-or {
    margin-bottom: 12px;
}

.spot-auth-btn.spot-pk-login-btn {
    border: 1.5px solid var(--spot-ink);
    background: var(--spot-surface);
    color: var(--spot-ink);
}

.spot-auth-btn.spot-pk-login-btn:active {
    background: var(--spot-bg);
}

.spot-pk-login-btn svg {
    flex: 0 0 auto;
}

.spot-pk-hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
    text-align: center;
}

.spot-pk-err {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-red-dark-fg);
    text-align: center;
}

.spot-pk [hidden],
.spot-pk-login[hidden],
.spot-pk-err[hidden] {
    display: none !important;
}

.spot-pk-lead {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-pk-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.spot-pk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 0;
    border-top: 1px solid var(--spot-line);
}

.spot-pk-item:last-child {
    border-bottom: 1px solid var(--spot-line);
}

.spot-pk-ic {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--spot-red-soft);
    color: var(--spot-red-dark-fg);
}

.spot-pk-txt {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.spot-pk-name {
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: var(--spot-ink);
    overflow-wrap: anywhere;
}

.spot-pk-meta {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}

.spot-pk-del {
    flex: 0 0 auto;
    min-height: var(--spot-control-h);
    padding: 0 8px;
    border: 0;
    border-radius: var(--spot-radius-s);
    background: none;
    color: var(--spot-red-dark-fg);
    font-family: var(--spot-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.spot-pk-del:active {
    background: var(--spot-red-soft);
}

.spot-pk-empty,
.spot-pk-unsupported {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-cab-btn.spot-pk-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    white-space: normal;
}

.spot-pk-reauth {
    margin: 0 0 12px;
}

.spot-pk-reauth label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--spot-ink);
}

.spot-pk-reauth-row {
    display: flex;
    gap: 8px;
}

.spot-pk-reauth-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--spot-control-h);
}

.spot-pk-reauth-row .spot-cab-btn {
    flex: 0 0 auto;
}

.spot-pk-cancel {
    min-height: var(--spot-control-h);
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--spot-focus);
    font-family: var(--spot-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.spot-pk-pass-err {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-red-dark-fg);
}

.spot-pk-msg {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 20px;
}

.spot-pk-msg:empty {
    display: none;
}

.spot-pk-msg.is-ok {
    color: var(--spot-green-fg);
}

.spot-pk-msg.is-err {
    color: var(--spot-red-dark-fg);
}

.spot-pk button:focus-visible,
.spot-pk-login button:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .spot-cab-btn.spot-pk-add {
        width: auto;
    }
}
