/* ЛК login: переключатель «код / пароль» и показ пароля (подключается к lk_login.css) */
.lk-auth-tablist {
    display: flex;
    gap: 0;
    margin-bottom: 1.15rem;
    padding: 4px;
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.lk-auth-tab {
    flex: 1;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    border: none;
    border-radius: 11px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s,
        box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.lk-auth-tab:hover {
    color: #334155;
}

.lk-auth-tab[aria-selected="true"] {
    color: #1e293b;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.lk-auth-tab:focus-visible {
    outline: 2px solid var(--lk-auth-violet);
    outline-offset: 2px;
}

.lk-auth-tabpanel .lk-auth-hint {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.9rem;
    line-height: 1.45;
}

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

.lk-auth-password-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.lk-auth-password-wrap input {
    flex: 1;
    padding-right: 3rem;
}

.lk-auth-toggle-pw {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.lk-auth-toggle-pw:hover {
    background: #f1f5f9;
    color: #334155;
}

.lk-auth-toggle-pw:focus-visible {
    outline: 2px solid var(--lk-auth-violet);
    outline-offset: 1px;
}

.lk-auth-toggle-pw svg {
    width: 20px;
    height: 20px;
    display: block;
}
