body.page-shell--auth {
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
}

.login-page-shell {
    width: min(100%, 560px);
    padding: 28px 18px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(54, 25, 34, 0.16);
}

.header {
    padding: 40px 20px 28px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
}

.title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.subtitle {
    margin: 12px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.tab {
    flex: 1;
    padding: 15px 16px;
    border: 0;
    background: none;
    color: #666666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tab.active {
    color: #ff6b8b;
}

.tab.active::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: 0;
    width: 60%;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #ff6b8b;
}

.tab-content {
    display: none;
    padding: 34px 20px 30px;
    text-align: center;
}

.tab-content.active {
    display: block;
}

.hint {
    margin: 0 0 26px;
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.wechat-panel-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
}

.wechat-panel-hero-icon img {
    width: 64px;
    height: 64px;
    display: block;
}

.wechat-login-btn,
.login-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.wechat-login-btn:hover,
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 107, 139, 0.28);
}

.login-btn[disabled] {
    opacity: 0.72;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.wechat-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wechat-btn-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.bind-resume-card {
    padding: 18px 16px;
    border-radius: 14px;
    background: #fff5f7;
    border: 1px solid #ffd4dc;
    text-align: left;
}

.bind-resume-card strong {
    display: block;
    color: #c64b6c;
    font-size: 15px;
}

.bind-resume-card p {
    margin: 8px 0 0;
    color: #6d5a5f;
    font-size: 13px;
    line-height: 1.7;
}

.account-form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    color: #2d2118;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b8b;
    box-shadow: 0 0 0 4px rgba(255, 107, 139, 0.12);
}

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: #777777;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle svg {
    fill: currentColor;
}

.password-toggle:hover {
    color: #ff6b8b;
}

.auth-status {
    min-height: 24px;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: #7a7073;
}

.auth-status[data-state="error"] {
    color: #d1435b;
}

.auth-status[data-state="success"] {
    color: #1f9d6a;
}

.auth-status[data-state="loading"] {
    color: #9b5d36;
}

.other-login {
    margin-top: 28px;
    text-align: center;
}

.divider {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #999999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e8e8e8;
    margin: 0 10px;
}

.wechat-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease;
}

.wechat-login-icon img {
    width: 30px;
    height: 30px;
    display: block;
}

.wechat-login-icon:hover {
    transform: scale(1.06);
}

@media (max-width: 480px) {
    .login-page-shell {
        padding: 20px 14px;
    }

    .header {
        padding: 32px 16px 24px;
    }

    .logo {
        width: 84px;
        height: 84px;
    }

    .title {
        font-size: 20px;
    }

    .tab-content {
        padding: 28px 16px 24px;
    }
}
