/* Страница входа и регистрации личного кабинета /personal-vue/ */

.lk-auth-page {
    --lk-auth-accent: #d6232c;
    --lk-auth-accent-dark: #b01a22;
    --lk-auth-ink: #1c1c1c;
    --lk-auth-muted: #6b7280;
    --lk-auth-line: #e5e7eb;
    margin: 24px 0 56px;
    color: var(--lk-auth-ink);
    font-size: 14px;
    line-height: 1.5;
}

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

.lk-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--lk-auth-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .1);
}

/* ---------- Promo side ---------- */

.lk-auth-promo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding: 32px 28px;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(150deg, #e52a33 0%, #c91d25 58%, #9e141b 100%);
    color: #fff;
}

.lk-auth-promo__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
}

.lk-auth-promo__logo:hover {
    color: #fff;
    text-decoration: none;
}

.lk-auth-promo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    font-size: 13px;
    letter-spacing: .04em;
}

.lk-auth-promo__copy {
    margin-top: 48px;
}

.lk-auth-promo__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.01em;
}

.lk-auth-promo__text {
    margin: 10px 0 0;
    max-width: 320px;
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
    line-height: 1.5;
}

.lk-auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.lk-auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.4;
}

.lk-auth-benefits__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
}

/* ---------- Form side ---------- */

.lk-auth-main {
    padding: 28px 32px 32px;
}

.lk-auth-main__head {
    margin-bottom: 16px;
}

.lk-auth-main__title {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.lk-auth-main__subtitle {
    margin: 5px 0 0;
    color: var(--lk-auth-muted);
    font-size: 13px;
}

.lk-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    border-radius: 10px;
    background: #f3f4f6;
}

.lk-auth-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.lk-auth-tab:hover {
    color: var(--lk-auth-ink);
    text-decoration: none;
}

.lk-auth-tab--active {
    background: #fff;
    color: var(--lk-auth-ink);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
}

.lk-auth-tab--disabled {
    opacity: .55;
    cursor: not-allowed;
}

.lk-auth-hint a,
.lk-auth-text a {
    color: var(--lk-auth-accent);
}

.lk-auth-form__body {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.lk-auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.lk-auth-form__links {
    margin-top: 2px;
    text-align: center;
}

.lk-auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.lk-auth-form--register .lk-auth-form__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
    width: 80%;
    margin: 0 auto;
}

.lk-auth-form--register .lk-auth-field--phone {
    grid-column: 1 / -1;
}

.lk-auth-form--register .lk-auth-alert,
.lk-auth-form--register .lk-auth-checkbox,
.lk-auth-form--register .lk-auth-submit,
.lk-auth-form--register .lk-auth-hint--center,
.lk-auth-form--register .lk-auth-captcha-field {
    grid-column: 1 / -1;
}

.lk-auth-label {
    color: #344054;
    font-size: 12px;
    font-weight: 600;
}

.lk-auth-required {
    margin-left: 2px;
    color: var(--lk-auth-accent);
    font-style: normal;
}

.lk-auth-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #fff;
    color: var(--lk-auth-ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lk-auth-input:focus {
    outline: none;
    border-color: #ef8c91;
    box-shadow: 0 0 0 3px rgba(214, 35, 44, .1);
}

.lk-auth-input--textarea {
    min-height: 88px;
    resize: vertical;
}

.lk-auth-hint {
    color: var(--lk-auth-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.lk-auth-hint--center {
    margin: 0;
    text-align: center;
}

.lk-auth-text {
    margin: 0;
    color: var(--lk-auth-muted);
    font-size: 13px;
}

.lk-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.45;
    cursor: pointer;
}

.lk-auth-checkbox input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--lk-auth-accent);
}

.lk-auth-link {
    color: var(--lk-auth-accent);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

.lk-auth-link:hover {
    text-decoration: underline;
}

.lk-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--lk-auth-accent);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.lk-auth-submit:hover {
    background: var(--lk-auth-accent-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(214, 35, 44, .22);
}

.lk-auth-submit:focus-visible {
    outline: 3px solid rgba(214, 35, 44, .3);
    outline-offset: 2px;
}

.lk-auth-alert {
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.45;
}

.lk-auth-alert--error {
    border-color: #f3c1bd;
    background: #fff5f4;
    color: #b42318;
}

.lk-auth-alert--success {
    border-color: #b7dfc2;
    background: #f0fdf4;
    color: #166534;
}

.lk-auth-alert--info {
    border-color: #c7d7fe;
    background: #eff4ff;
    color: #1d4ed8;
}

.lk-auth-captcha {
    display: block;
    width: 180px;
    height: 40px;
    border: 1px solid var(--lk-auth-line);
    border-radius: 6px;
}

.lk-auth-services {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lk-auth-line);
    text-align: center;
}

.lk-auth-services__title {
    margin-bottom: 10px;
    color: var(--lk-auth-muted);
    font-size: 12px;
}

.lk-auth-resend {
    margin-top: 10px;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .lk-auth-shell {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .lk-auth-promo {
        gap: 16px;
        padding: 22px 24px;
    }

    .lk-auth-promo__title {
        font-size: 22px;
    }

    .lk-auth-benefits {
        display: none;
    }
}

@media (max-width: 560px) {
    .lk-auth-page {
        margin: 12px 0 36px;
    }

    .lk-auth-shell {
        border-radius: 14px;
    }

    .lk-auth-main {
        padding: 20px 18px 24px;
    }

    .lk-auth-main__title {
        font-size: 20px;
    }

    .lk-auth-form--register .lk-auth-form__body {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .lk-auth-promo {
        padding: 18px 18px;
    }

    .lk-auth-promo__text {
        display: none;
    }
}
