.auth-shell--centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(180deg, #f5f4f8 0%, #efedf4 100%);
    box-sizing: border-box;
}

.auth-centered-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 392px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(26, 32, 44, 0.08);
    padding: 24px 22px 20px;
    box-sizing: border-box;
}

.auth-card--setup {
    max-width: 434px;
}

.auth-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
    margin-bottom: 14px;
}

.auth-logo-image {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.auth-card-head {
    margin: 0 0 16px;
}

.auth-card-head--center {
    text-align: center;
}

.auth-card-head h1 {
    margin: 0;
    color: #1f2937;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
}

.auth-card-head p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.auth-alert {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
}

.auth-alert--compact {
    margin-top: 2px;
}

.auth-alert.is-success {
    background: #eef8f0;
    color: #24573a;
    border: 1px solid #bdd9c6;
}

.auth-alert.is-error {
    background: #fff3f3;
    color: #7a2c2c;
    border: 1px solid #e0bcbc;
}

.auth-alert.is-info {
    background: #f1f5ff;
    color: #27408b;
    border: 1px solid #c9d6ff;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #eff1f5;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 14px;
}

.auth-tab {
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 10px;
    min-height: 42px;
    font-size: 15px;
    font-weight: 800;
    color: #7a7f8d;
    cursor: pointer;
}

.auth-tab.is-active {
    background: #ffffff;
    color: #2b2f38;
    box-shadow: 0 4px 12px rgba(26, 30, 53, 0.08);
}

.auth-form--boxed {
    width: 100%;
}

.auth-input-group {
    border: 1px solid #d7dbe3;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.auth-input-group--boxed-list {
    margin-top: 2px;
}

.auth-input-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 14px;
    box-sizing: border-box;
}

.auth-input-row--last {
    border-bottom: 0;
}

.auth-input-row label {
    color: #2f3542;
    font-weight: 800;
    font-size: 15px;
}

.auth-input-row input {
    width: 100%;
    min-height: 40px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #111827;
    padding: 0;
    box-sizing: border-box;
}

.auth-input-row input::placeholder {
    color: #a0a5af;
}

.auth-captcha-box {
    margin-top: 14px;
    border: 1px solid #d7dbe3;
    border-radius: 14px;
    background: #fafafa;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-captcha-box--setup {
    margin-top: 16px;
}

.auth-captcha-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-primary-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    background: #6b5aa6;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(84, 64, 111, 0.16);
}

.auth-primary-btn:hover {
    background: #5f4c99;
}

.auth-note {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.auth-card-footer-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
}

.auth-card-footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 700;
}

.auth-card-footer-links a:hover {
    color: #6b5aa6;
}

@media (max-width: 720px) {
    .auth-shell--centered {
        padding: 20px 14px;
    }

    .auth-card,
    .auth-card--setup {
        max-width: 100%;
        border-radius: 18px;
        padding: 22px 18px 18px;
    }

    .auth-logo-image {
        width: 46px;
        height: 46px;
    }

    .auth-card-head h1 {
        font-size: 30px;
    }

    .auth-card-head p {
        font-size: 14px;
    }

    .auth-input-row {
        grid-template-columns: 1fr;
        gap: 4px;
        align-items: center;
        min-height: auto;
        padding: 12px 14px;
    }

    .auth-input-row label {
        font-size: 14px;
    }

    .auth-input-row input {
        min-height: 44px;
        font-size: 15px;
    }

    .auth-tab {
        min-height: 44px;
        font-size: 15px;
    }

    .auth-primary-btn {
        min-height: 50px;
        font-size: 17px;
    }
}
