.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--br-lg);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    padding: 36px 32px;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.auth-brand-logo {
    width: 36px;
    height: 36px;
}

.auth-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #16305c;
}

.auth-brand-title-accent {
    font-weight: 500;
    color: #3f7fd1;
}

.auth-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg);
    border-radius: var(--br-md);
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 10px;
    font-size: var(--font-md);
    color: var(--gray-mid);
    border-radius: var(--br-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.auth-tab-active {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.auth-form-hidden {
    display: none;
}

.auth-form-hint {
    font-size: var(--font-md);
    color: var(--gray-mid);
    margin: 0 0 18px;
    text-align: center;
}

.auth-form-success {
    color: #2e7d32;
}

.auth-form-error-text {
    color: #dc3545;
}

.auth-submit {
    width: 100%;
    margin-top: 6px;
    justify-content: center;
    display: flex;
}

.auth-alt-link {
    text-align: center;
    font-size: var(--font-md);
    color: var(--gray-mid);
    margin: 18px 0 0;
}

.auth-alt-link a {
    color: #3f7fd1;
    font-weight: 600;
    text-decoration: none;
}

.phone-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-prefix {
    color: var(--gray-mid);
    font-weight: 600;
}