* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', '思源黑体', 'Microsoft YaHei', sans-serif;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background: #f6f7f9;
    color: #333;
}

.container {
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 32px 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: #1d2129;
}

.page-desc {
    text-align: center;
    color: #86909c;
    font-size: 14px;
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #4e5969;
    margin-bottom: 8px;
}

.input-control {
    width: 100%;
    height: 48px;
    border: 1px solid #e5e6eb;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-control:focus {
    border-color: #409eff;
}

.input-control:disabled {
    background: #f7f8fa;
    color: #86909c;
}

.captcha-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-group input {
    flex: 1;
}

.captcha-img {
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e5e6eb;
}

.btn {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-primary {
    background: #409eff;
    color: #fff;
}

.btn-primary:hover {
    background: #3385e0;
}

.btn-danger {
    background: #f53f3f;
    color: #fff;
    margin-bottom: 12px;
}

.btn-danger:hover {
    background: #d93636;
}

.btn-light {
    background: #f2f3f5;
    color: #4e5969;
}

.btn-light:hover {
    background: #e5e6eb;
}

.tip {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.tip-success {
    background: #e8f7ed;
    color: #00b42a;
}

.tip-error {
    background: #fee7e6;
    color: #f53f3f;
}

.link-group {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.link-group a {
    color: #409eff;
    text-decoration: none;
}

.link-group a:hover {
    text-decoration: underline;
}

.pwd-box {
    position: relative;
}

.show-pwd {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #86909c;
    font-size: 18px;
}

.card-row {
    padding: 14px 0;
    border-bottom: 1px solid #f2f3f5;
    display: flex;
    justify-content: space-between;
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    color: #4e5969;
    font-size: 14px;
}

.card-value {
    color: #1d2129;
    font-size: 14px;
    font-weight: 500;
}

.user-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99;
}

.user-menu button {
    background: #409eff;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.user-menu .menu {
    display: none;
    position: absolute;
    top: 44px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    width: 140px;
    overflow: hidden;
}

.user-menu .menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.user-menu .menu a:hover {
    background: #f6f7f9;
}

@media (max-width: 480px) {
    .container {
        margin: 20px 12px;
        padding: 24px 16px;
    }

    .page-title {
        font-size: 22px;
    }
}