@charset "utf-8";

/* ========== 登录/注册/支付 公共样式 ========== */
.headerBox {
    background: #f2f2f2;
}

.headerBox .logo span,
.headerBox .logo span a {
    color: #25272E !important;
}

.headerBox .nav ul li,
.headerBox .nav ul li a {
    color: #25272E !important;
}

.headerBox .login ul li,
.headerBox .login ul li a {
    color: #25272E !important;
}

.headerBox .login ul li.navAct,
.headerBox .login ul li.navAct a {
    color: #fff !important;
}
.page-content {
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.form-card {
    width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px 40px 40px;
    text-align: center;
}

.form-card h2 {
    font-size: 28px;
    color: #FF3870;
    font-weight: 400;
    margin-bottom: 8px;
}

.form-card .subtitle {
    font-size: 14px;
    color: #A2A2A2;
    margin-bottom: 36px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #FF3870;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.form-options a {
    color: #FF3870;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #FF3870, #FF4044);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.divider {
    margin: 28px 0 20px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    font-size: 12px;
    color: #ccc;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.social-login a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #eee;
    color: #999;
    font-size: 12px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.social-login a:hover {
    border-color: #FF3870;
    color: #FF3870;
}

/* ========== 支付页面特定样式 ========== */
.payment-amount-section {
    margin-bottom: 28px;
}

.payment-amount-section label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    text-align: left;
}

.amount-presets {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.amount-preset {
    flex: 1;
    min-width: 80px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 44px;
}

.amount-preset:hover,
.amount-preset.active {
    border-color: #FF3870;
    color: #FF3870;
    background: #FFF5F7;
}

.payment-methods {
    margin-bottom: 28px;
    text-align: left;
}

.payment-methods > label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.payment-method-list {
    display: flex;
    gap: 12px;
}

.payment-method {
    flex: 1;
    height: 64px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover,
.payment-method.active {
    border-color: #FF3870;
    color: #FF3870;
    background: #FFF5F7;
}

.payment-method .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
}

.payment-method.active .dot {
    background: currentColor;
}

.order-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.order-summary .row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.order-summary .row:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
    color: #FF3870;
    font-size: 18px;
}

/* ========== 验证码输入 ========== */
.captcha-row {
    display: flex;
    gap: 12px;
}

.captcha-row input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
}

.captcha-img {
    width: 120px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: linear-gradient(135deg, #f5c2c7, #ffb8c6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    letter-spacing: 6px;
    color: #fff;
    font-style: italic;
    cursor: pointer;
    user-select: none;
}

/* ========== 协议勾选 ========== */
.agreement {
    margin-bottom: 20px;
    font-size: 12px;
    color: #999;
    text-align: left;
}

.agreement input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}

.agreement a {
    color: #FF3870;
    text-decoration: none;
}
