.auth-card {
    position: relative;
    max-width: 420px;
}
.auth-card__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}
.auth-card .auth-panel {
    padding: 28px 28px 22px;
}
.login-card .auth-panel {
    padding: 0;
}
.auth-title {
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #172033;
    text-align: center;
}
.auth-card .auth-title {
    font-size: 22px;
    text-align: left;
    padding-right: 36px;
}
.auth-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 999px;
    background: #f3f6fb;
}
.auth-tabs__btn,
.auth-modes__btn,
.auth-code__btn,
.auth-submit {
    font-family: inherit;
    cursor: pointer;
}
.auth-tabs__btn {
    flex: 1;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}
.auth-tabs__btn.is-active {
    background: #fff;
    color: #172033;
    box-shadow: 0 4px 12px rgba(23, 32, 51, 0.08);
}
.auth-modes {
    display: flex;
    gap: 18px;
    margin: 0 0 16px;
}
.auth-modes__btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 600;
}
.auth-modes__btn.is-active {
    color: #2f86f5;
}
.auth-field {
    display: block;
    margin-bottom: 14px;
}
.auth-field > span {
    display: block;
    margin-bottom: 6px;
    color: #3a4454;
    font-size: 13px;
    font-weight: 600;
}
.auth-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.auth-input:focus {
    border-color: #67b6ff;
    box-shadow: 0 0 0 3px rgba(59, 147, 255, 0.15);
}
.auth-input--locked,
.auth-input--locked:focus {
    background: #f3f5f8;
    color: #98a2b3;
    border-color: #e6eaf0;
    box-shadow: none;
    cursor: default;
}
.auth-code {
    display: flex;
    gap: 8px;
}
.auth-code .auth-input {
    flex: 1;
    min-width: 0;
}
.auth-code__btn {
    flex-shrink: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d7e6ff;
    border-radius: 12px;
    background: #f4f9ff;
    color: #2f86f5;
    font-size: 13px;
    font-weight: 600;
}
.auth-code__btn:disabled {
    color: #98a2b3;
    cursor: not-allowed;
}
.auth-submit {
    width: 100%;
    height: 44px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #67b6ff, #3b93ff);
    box-shadow: 0 8px 20px rgba(59, 147, 255, 0.26);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.auth-submit:hover {
    background: linear-gradient(180deg, #4aa8ff, #2f86f5);
}
.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.wx-box { min-height: 220px; }
.wx-frame { display: block; width: 300px; height: 400px; margin: 0 auto; border: 0; }
.wx-agree { display: block; margin: 0 0 12px; color: #243044; font-size: 13px; line-height: 1.6; }
.wx-agree label { cursor: pointer; }
.wx-agree input { margin: 0 6px 0 0; vertical-align: -1px; }
.wx-agree a { color: #2f86f5; text-decoration: underline; cursor: pointer; }
.auth-tip {
    margin: 12px 0 0;
    text-align: center;
    color: #98a2b3;
    font-size: 12px;
}
.auth-error {
    margin: 0 0 10px;
    color: #d14343;
    font-size: 13px;
    line-height: 1.5;
}
