/* 暗黑简洁主题 - 头部样式（极简扁平设计） */

/* ========== 全局样式 ========== */
html, body {
    background: #1f2833;
    color: #CCCCCC;
}

/* 自定义模板样式 */
article.content {
    background: #1f2833;
    color: #CCCCCC;
}

article.content > div {
    background: #1f2833 !important;
    color: #CCCCCC !important;
}

/* ========== 头部样式 ========== */
.header {
    background: #191F28;
    color: #CCCCCC;
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a3441;
}

/* 未授权提示样式 */
.license-alert-banner {
    background: #1f2833;
    border-top: 1px solid #2a3441;
    border-bottom: 2px solid #fbbf24;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    z-index: 998;
    margin-top: 0;
}

.license-alert-banner-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.license-alert-banner-icon {
    font-size: 18px;
}

.license-alert-banner-text {
    color: #fbbf24;
    font-size: 14px;
    font-weight: 500;
}

.license-alert-banner-link {
    color: #5dade2;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 2px;
    transition: background 0.2s;
}

.license-alert-banner-link:hover {
    background: rgba(93, 173, 226, 0.1);
}

.license-alert-banner-divider {
    color: #fbbf24;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .license-alert-banner-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .license-alert-banner-text {
        font-size: 13px;
    }
    
    .license-alert-banner-divider {
        display: none;
    }
}

.header-container {
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 600;
    cursor: pointer;
    color: #5dade2;
    margin-right: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 6px 12px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-menu a:hover {
    color: #5dade2;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-menu li.active > a {
    color: #5dade2;
    background: transparent;
    font-weight: 500;
    border-bottom: 2px solid #5dade2;
    border: none;
    outline: none;
    box-shadow: none;
}

/* 下拉箭头图标 */
.dropdown-arrow-icon {
    font-size: 10px;
    transition: transform 0.2s;
}

.has-dropdown:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f2833;
    min-width: 150px;
    list-style: none;
    padding: 4px 0;
    margin: 4px 0 0 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 1000;
    border: 1px solid #2a3441;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项 */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 8px 16px;
    color: #CCCCCC;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: #2a3441;
    color: #5dade2;
    border: none;
    outline: none;
    box-shadow: none;
}

.dropdown-menu li.active a {
    color: #5dade2;
    background: transparent;
    font-weight: 500;
    border: none;
    outline: none;
    box-shadow: none;
}

.login-btn {
    background: #5dade2;
    color: white;
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

/* 用户信息显示 */
.user-info-container {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 2px;
    transition: background 0.2s;
    border: 1px solid transparent;
    height: 36px;
}

.user-info:hover {
    background: #2a3441;
    border-color: #2a3441;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a3441;
    border: 1px solid #2a3441;
    transition: border-color 0.2s;
    overflow: hidden;
}

.user-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.user-info:hover .user-avatar {
    border-color: #5dade2;
}

.user-name {
    color: #CCCCCC;
    font-size: 14px;
    font-weight: 400;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 用户文字信息区域 */
.user-text-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

/* 头部用户徽章 */
.user-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
}

/* 下拉菜单 */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1f2833;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 1002;
    border: 1px solid #2a3441;
}

.user-info-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CCCCCC;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dropdown-icon svg {
    width: 100%;
    height: 100%;
    fill: #a0a8b0;
    transition: fill 0.2s;
}

.dropdown-icon svg path {
    fill: currentColor;
}

.dropdown-item:hover .dropdown-icon svg {
    fill: #5dade2;
}

.dropdown-item:hover {
    background: #2a3441;
}

.dropdown-item.logout {
    border-top: 1px solid #2a3441;
}

.dropdown-item.logout:hover {
    background: #2a3441;
}

.dropdown-arrow {
    margin-left: 4px;
    font-size: 11px;
    transition: transform 0.2s;
}

.user-info-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #CCCCCC;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-menu-btn:hover {
    background: #2a3441;
}

/* 登录注册弹窗 */
.auth-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: #1f2833;
    padding: 35px;
    border-radius: 4px;
    width: 90%;
    max-width: 420px;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #2a3441;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #a0a8b0;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-btn:hover {
    color: #CCCCCC;
}

.auth-title {
    font-size: 24px;
    color: #CCCCCC;
    margin-bottom: 6px;
    text-align: center;
    font-weight: 500;
}

.auth-subtitle {
    color: #a0a8b0;
    text-align: center;
    margin-bottom: 25px;
    font-size: 13px;
}

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

.auth-modal .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #CCCCCC;
    font-weight: 400;
    font-size: 13px;
}

.password-input-wrapper {
    position: relative;
}

.auth-modal .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #2a3441;
    border-radius: 2px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background-color: #1f2833;
    color: #CCCCCC;
}

.password-input-wrapper input {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 100%;
    height: 100%;
    transition: fill 0.2s;
}

.password-toggle svg path {
    fill: #a0a8b0;
    transition: fill 0.2s;
}

.password-toggle:hover svg path {
    fill: #5dade2;
}

.auth-modal .form-group input:focus {
    outline: none;
    border-color: #5dade2;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #a0a8b0;
}

.remember-me > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #5dade2;
}

.remember-me label {
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

#forgotPasswordLink {
    color: #5dade2;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    outline: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

#forgotPasswordLink:hover {
    color: #4a9bc7;
}

#forgotPasswordLink:focus {
    outline: none;
    box-shadow: none;
}

#forgotPasswordLink:active {
    outline: none;
    box-shadow: none;
}

/* 忘记密码弹窗样式 */
.forgot-password-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s;
}

.forgot-password-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-content {
    background-color: #1f2833;
    border-radius: 4px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #2a3441;
}

.forgot-password-title {
    font-size: 20px;
    font-weight: 500;
    color: #CCCCCC;
    margin: 0 0 18px 0;
    text-align: center;
}

.forgot-password-alert {
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 2px;
    font-size: 13px;
    display: none;
}

.forgot-password-alert.success {
    background-color: #1f4a2f;
    color: #4ade80;
    border: 1px solid #2a5a3f;
}

.forgot-password-alert.error {
    background-color: #4a1f1f;
    color: #ff6b6b;
    border: 1px solid #5a2a2a;
}

.forgot-password-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid #2a3441;
}

.forgot-tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #a0a8b0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.forgot-tab-btn:hover {
    color: #5dade2;
}

.forgot-tab-btn.active {
    color: #5dade2;
    border-bottom-color: #5dade2;
    font-weight: 500;
}

.forgot-tab-content {
    display: none;
}

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

.forgot-verify-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.forgot-verify-group input {
    flex: 1;
}

.forgot-verify-group .send-code-btn {
    white-space: nowrap;
    padding: 10px 16px;
    background: #5dade2;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 100px;
}

.forgot-verify-group .send-code-btn:hover {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

.forgot-verify-group .send-code-btn:disabled {
    background: #4a5568;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 忘记密码弹窗内的表单样式 */
.forgot-password-content .form-group {
    margin-bottom: 18px;
}

.forgot-password-content .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #CCCCCC;
    font-weight: 400;
    font-size: 13px;
}

.forgot-password-content .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #2a3441;
    border-radius: 2px;
    font-size: 14px;
    color: #CCCCCC;
    background-color: #1f2833;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.forgot-password-content .form-group input:focus {
    outline: none;
    border-color: #5dade2;
}

.forgot-password-content .form-group input::placeholder {
    color: #a0a8b0;
}

.forgot-password-content .password-input-wrapper {
    position: relative;
}

.forgot-password-content .password-input-wrapper input {
    padding-right: 40px;
}

.forgot-password-content .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.forgot-password-content .password-toggle:hover {
    opacity: 1;
}

.forgot-password-content .password-toggle .icon {
    width: 16px;
    height: 16px;
    fill: #a0a8b0;
}

.forgot-password-content .submit-btn {
    width: 100%;
    padding: 12px;
    background: #5dade2;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.forgot-password-content .submit-btn:hover {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

.forgot-password-content .submit-btn:active {
    background: #3d8bb5;
}

.forgot-password-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    color: #a0a8b0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-content .close-btn:hover {
    color: #CCCCCC;
    background: #2a3441;
}

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

.captcha-group input {
    flex: 1;
}

.captcha-code {
    padding: 10px 16px;
    background: #2a3441;
    border: 1px solid #2a3441;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #5dade2;
    text-align: center;
    min-width: 90px;
    transition: border-color 0.2s;
}

.captcha-code:hover {
    border-color: #5dade2;
    background: #1f2833;
}

.send-code-btn {
    padding: 10px 16px;
    background: #5dade2;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
    min-width: 90px;
    font-size: 13px;
}

.send-code-btn:hover:not(:disabled) {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

.send-code-btn:disabled {
    background: #4a5568;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #5dade2;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled {
    background: #4a5568;
    cursor: not-allowed;
}

.submit-btn.loading {
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 第三方登录样式 */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: #a0a8b0;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #2a3441;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.social-login-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid #2a3441;
    border-radius: 2px;
    background: #1f2833;
    color: #CCCCCC;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s;
}

.social-login-btn:hover {
    border-color: #5dade2;
    background: #2a3441;
    transform: none;
    box-shadow: none;
}

.phone-login-btn:hover {
    border-color: #5dade2;
    background: #2a3441;
    transform: none;
    box-shadow: none;
}

.qq-login-btn:hover {
    border-color: #12B7F5;
    background: #2a3441;
    transform: none;
    box-shadow: none;
}

.social-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #a0a8b0;
}

.auth-link {
    color: #5dade2;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #4a9bc7;
    text-decoration: none;
}

.auth-alert {
    padding: 10px 12px;
    border-radius: 2px;
    margin-bottom: 18px;
    font-size: 13px;
    animation: fadeInAlert 0.2s;
    display: none;
}

@keyframes fadeInAlert {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.auth-alert.success {
    background: #1f4a2f;
    color: #4ade80;
    border: 1px solid #2a5a3f;
}

.auth-alert.error {
    background: #4a1f1f;
    color: #ff6b6b;
    border: 1px solid #5a2a2a;
}

.auth-alert.info {
    background: #1f2f4a;
    color: #60a5fa;
    border: 1px solid #2f3f5a;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

/* 服务条款文本样式 */
.terms-text {
    font-size: 12px;
    color: #a0a8b0;
    margin-top: 12px;
    line-height: 1.5;
    text-align: center;
}

.terms-link {
    color: #5dade2;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.terms-link:hover {
    color: #4a9bc7;
    text-decoration: none;
}

/* 服务条款弹窗样式 */
.terms-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.terms-modal.active {
    opacity: 1;
    visibility: visible;
}

.terms-modal-content {
    background: #1f2833;
    padding: 25px;
    border-radius: 4px;
    width: 90%;
    max-width: 750px;
    max-height: 80vh;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    border: 1px solid #2a3441;
}

.terms-modal-title {
    font-size: 20px;
    color: #CCCCCC;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2a3441;
    font-weight: 500;
}

.terms-modal-body {
    flex: 1;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #a0a8b0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terms-modal-body::-webkit-scrollbar {
    width: 6px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: #2a3441;
    border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0a8b0;
}

/* 手机注册成功弹窗样式 */
.phone-register-success-content {
    background: #1f2833;
    padding: 25px;
    border-radius: 4px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #2a3441;
}

.phone-register-success-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: #a0a8b0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.phone-register-success-content .close-btn:hover {
    background: #2a3441;
    color: #CCCCCC;
}

.phone-register-success-title {
    font-size: 18px;
    font-weight: 500;
    color: #CCCCCC;
    margin: 0 0 20px 0;
    text-align: center;
    padding-right: 35px;
}

.phone-register-success-body {
    padding: 0;
}

.login-info-section {
    margin-bottom: 18px;
}

.info-title {
    font-size: 13px;
    color: #a0a8b0;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.login-info-box {
    background: #2a3441;
    border: 1px solid #2a3441;
    border-radius: 2px;
    padding: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #2a3441;
}

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

.info-label {
    font-size: 13px;
    color: #a0a8b0;
    min-width: 70px;
}

.info-value-text {
    font-size: 14px;
    font-weight: 500;
    color: #CCCCCC;
    letter-spacing: 0.5px;
}

.info-value-text.password-text {
    color: #f44336;
}

.warning-section {
    background: #1f2833;
    border: 1px solid #ffd700;
    border-radius: 2px;
    padding: 12px;
    margin-bottom: 20px;
}

.warning-title {
    font-size: 13px;
    font-weight: 500;
    color: #fbbf24;
    margin: 0 0 8px 0;
}

.warning-list {
    margin: 0;
    padding-left: 18px;
    color: #fbbf24;
    line-height: 1.6;
    font-size: 12px;
}

.warning-list li {
    margin-bottom: 6px;
}

.warning-list li:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #f44336;
    font-weight: 500;
}

.phone-register-success-btn {
    width: 100%;
    background: #5dade2;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.phone-register-success-btn:hover {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

/* 悬浮客服按钮样式 */
.floating-service {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(20px);
    z-index: 9998;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #1f2833;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    position: relative;
    border: 1px solid #2a3441;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-icon:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-qrcode {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2833;
    padding: 12px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    border: 1px solid #2a3441;
}

.floating-service:hover .service-qrcode {
    opacity: 1;
    visibility: visible;
    right: 70px;
    pointer-events: auto;
}

.qrcode-content {
    text-align: center;
    min-width: 180px;
}

.qrcode-content img {
    width: 160px;
    height: 160px;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
}

.qrcode-tip {
    margin-top: 8px;
    font-size: 12px;
    color: #a0a8b0;
    font-weight: 400;
}

/* 授权提示弹窗样式 */
.license-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    animation: fadeIn 0.2s;
    justify-content: center;
    align-items: center;
}

.license-alert-modal.active {
    display: flex;
}

.license-alert-content {
    background: #1f2833;
    padding: 35px;
    border-radius: 4px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2a3441;
}

.license-alert-icon {
    font-size: 50px;
    margin-bottom: 18px;
}

.license-alert-title {
    font-size: 20px;
    color: #CCCCCC;
    margin-bottom: 12px;
    font-weight: 500;
}

.license-alert-message {
    font-size: 14px;
    color: #a0a8b0;
    line-height: 1.6;
    margin-bottom: 8px;
}

.license-alert-wechat {
    font-size: 16px;
    color: #4ade80;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px;
    background: #1f2833;
    border-radius: 2px;
    display: inline-block;
}

/* 桌面端样式：隐藏移动端用户信息 */
.mobile-user-info {
    display: none;
}

.mobile-controls {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding: 8px 0;
        position: fixed;
        width: 100%;
    }
    body {
        padding-top: 60px;
    }
    
    .header-container {
        padding: 0 5%;
        gap: 6px;
    }
    
    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 4px;
    }
    
    .mobile-user-info {
        display: block !important;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo img {
        max-height: 50px !important;
        max-width: 120px !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1f2833;
        border: 1px solid #2a3441;
        border-top: none;
        flex-direction: column;
        padding: 15px;
        gap: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 移动端下拉菜单样式 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 4px 0 0 12px;
        padding: 4px 0;
        background: #2a3441;
        border-radius: 2px;
        display: none;
    }
    
    .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-arrow-icon {
        margin-left: auto;
    }
    
    .has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 22px;
        padding: 6px 8px;
        background: none;
        border: none;
        color: #CCCCCC;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .mobile-menu-btn:hover {
        background: #2a3441;
    }
    
    .mobile-login-btn {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
        margin-left: 0;
    }
    
    .login-btn {
        display: none;
    }
    
    .mobile-login-btn {
        display: block;
    }
    
    .desktop-user-info {
        display: none;
    }
    
    .mobile-user-info {
        position: relative;
    }
    
    .mobile-user-info .user-info {
        padding: 4px 8px;
        height: 32px;
        gap: 6px;
    }
    
    .mobile-user-info .user-avatar {
        width: 22px;
        height: 22px;
    }
    
    .mobile-user-info .user-name {
        font-size: 12px;
        max-width: 55px;
    }
    
    .mobile-user-info .user-badge {
        font-size: 9px;
        padding: 1px 4px;
        line-height: 1.2;
    }
    
    .mobile-user-info .dropdown-arrow {
        font-size: 9px;
        margin-left: 3px;
    }
    
    .mobile-user-info .user-text-info {
        gap: 1px;
    }
    
    /* 移动端用户下拉菜单 */
    .mobile-user-info .user-dropdown {
        right: 0;
        min-width: 130px;
        top: calc(100% + 6px);
    }
    
    .mobile-user-info .dropdown-item {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    /* 移动端登录注册弹窗 */
    .auth-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        margin: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .auth-modal .form-group input {
        padding: 12px;
        font-size: 16px;
    }
    
    .password-input-wrapper input {
        padding-right: 45px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    /* 忘记密码弹窗移动端样式 */
    .forgot-password-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        margin: 15px;
    }
    
    .forgot-password-title {
        font-size: 18px;
    }
    
    .forgot-password-tabs {
        margin-bottom: 12px;
    }
    
    .forgot-tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .forgot-verify-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .forgot-verify-group .send-code-btn {
        width: 100%;
    }
    
    .captcha-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .captcha-code {
        width: 100%;
        text-align: center;
    }
    
    /* 移动端悬浮客服按钮 */
    .floating-service {
        position: fixed;
        right: 12px;
        bottom: 70px;
        top: auto;
        transform: none;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
    }
    
    .service-qrcode {
        right: 55px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }
    
    .floating-service:hover .service-qrcode {
        right: 60px;
    }
    
    .qrcode-content {
        min-width: 150px;
    }
    
    .qrcode-content img {
        width: 140px;
        height: 140px;
    }
    
    /* 移动端授权提示弹窗 */
    .license-alert-content {
        width: 95%;
        max-width: 95%;
        padding: 25px 15px;
        margin: 15px;
    }
    
    .license-alert-title {
        font-size: 18px;
    }
    
    .license-alert-message {
        font-size: 13px;
    }
    
    .license-alert-wechat {
        font-size: 14px;
    }
}

/* ========== 全站搜索按钮样式（暗黑简洁主题） ========== */
.header-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    border: 1px solid #2a3441;
    background: #1f2833;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.header-search-btn svg {
    width: 16px;
    height: 16px;
    color: #a0a8b0;
    fill: none;
    stroke: currentColor;
}

.header-search-btn:hover {
    background: #2a3441;
    border-color: #5dade2;
    box-shadow: none;
    transform: none;
}

.header-search-btn:hover svg {
    color: #5dade2;
}

/* ========== 全站搜索弹窗样式（暗黑简洁主题） ========== */
.global-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    backdrop-filter: none;
}

.global-search-modal.active {
    display: flex;
}

.global-search-content {
    width: 96%;
    max-width: 720px;
    background: #1f2833;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 25px;
    box-sizing: border-box;
    animation: fadeInScale 0.2s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a3441;
    position: relative;
    margin: auto;
}

.global-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.global-search-title {
    font-size: 18px;
    font-weight: 500;
    color: #CCCCCC;
    display: flex;
    align-items: center;
    gap: 6px;
}

.global-search-close {
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #a0a8b0;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.global-search-close:hover {
    background: #2a3441;
    color: #CCCCCC;
}

.global-search-input-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}

.global-search-input {
    flex: 1;
    border-radius: 2px;
    border: 1px solid #2a3441;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #1f2833;
    color: #CCCCCC;
}

.global-search-input:focus {
    border-color: #5dade2;
    box-shadow: none;
}

.global-search-input::placeholder {
    color: #a0a8b0;
}

.global-search-btn {
    border: none;
    border-radius: 2px;
    padding: 10px 20px;
    background: #5dade2;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    transition: background 0.2s;
    align-self: center;
}

.global-search-btn:hover {
    background: #4a9bc7;
    transform: none;
    box-shadow: none;
}

.global-search-btn svg {
    width: 16px;
    height: 16px;
}

.global-search-notice {
    margin-top: 12px;
    font-size: 12px;
    color: #a0a8b0;
    line-height: 1.7;
    text-align: center;
}

/* 移动端搜索按钮和弹窗适配 */
@media (max-width: 768px) {
    .header-search-btn {
        width: 28px;
        height: 28px;
    }
    
    .header-search-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .global-search-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 18px;
    }
    
    .global-search-title {
        font-size: 16px;
    }
    
    .global-search-input {
        padding: 12px;
        font-size: 16px;
    }
    
    .global-search-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

/* ========== 我的购买弹窗样式（暗黑简洁主题） ========== */
.my-authorized-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.my-authorized-modal.active {
    display: flex;
}

.my-authorized-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
}

.my-authorized-modal-content {
    position: relative;
    background: #1f2833;
    border-radius: 4px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #2a3441;
    animation: fadeInScale 0.2s ease;
    z-index: 10001;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.my-authorized-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #2a3441;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.my-authorized-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #CCCCCC;
    margin: 0;
}

.my-authorized-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #a0a8b0;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    border-radius: 2px;
}

.my-authorized-modal-close:hover {
    background: #2a3441;
    color: #CCCCCC;
}

.my-authorized-modal-tip {
    padding: 12px 25px;
    background: #2a3441;
    border-bottom: 1px solid #2a3441;
    flex-shrink: 0;
}

.my-authorized-modal-tip-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a0a8b0;
    line-height: 1.6;
    font-weight: 400;
}

.my-authorized-modal-tip-text::before {
    content: '💡';
    font-size: 14px;
    flex-shrink: 0;
}

.my-authorized-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.my-authorized-modal-body::-webkit-scrollbar {
    width: 8px;
}

.my-authorized-modal-body::-webkit-scrollbar-track {
    background: #2a3441;
    border-radius: 10px;
}

.my-authorized-modal-body::-webkit-scrollbar-thumb {
    background: #3a4451;
    border-radius: 10px;
}

.my-authorized-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4a5461;
}

.my-authorized-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-authorized-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid #2a3441;
    border-radius: 2px;
    background: #1f2833;
    transition: border-color 0.2s, background 0.2s;
}

.my-authorized-item:hover {
    border-color: #5dade2;
    background: #2a3441;
}

.my-authorized-item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    background: #2a3441;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-authorized-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-authorized-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.my-authorized-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #CCCCCC;
    margin: 0;
    line-height: 1.4;
}

.my-authorized-item-description {
    font-size: 13px;
    color: #a0a8b0;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.my-authorized-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.my-authorized-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #f44336;
}

.my-authorized-download-btn {
    padding: 8px 18px;
    background: #5dade2;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}

.my-authorized-download-btn:hover {
    background: #4a9bc7;
}

.my-authorized-no-download {
    font-size: 13px;
    color: #a0a8b0;
    padding: 8px 18px;
}

/* 加载提示和错误提示的暗黑主题样式 */
#myAuthorizedList > div[style*="color: #999"] {
    color: #a0a8b0 !important;
}

#myAuthorizedList > div[style*="color: #f44336"] {
    color: #ef4444 !important;
}

@media (max-width: 768px) {
    .my-authorized-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .my-authorized-modal-header {
        padding: 18px 20px;
    }

    .my-authorized-modal-body {
        padding: 18px 20px;
    }

    .my-authorized-item {
        flex-direction: column;
    }

    .my-authorized-item-image {
        width: 100%;
        height: 200px;
    }
}

/* ========== 个人中心弹窗样式（暗黑简洁主题） ========== */
.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #2a3441;
    padding-bottom: 0;
}

.profile-tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #a0a8b0;
    background: transparent;
    border-bottom: 3px solid transparent;
}

.profile-tab svg {
    fill: currentColor;
}

.profile-tab:hover {
    background: #2a3441;
    color: #5dade2;
}

.profile-tab.active {
    color: #5dade2;
    background: #1f2833;
    border-bottom-color: #5dade2;
}

.profile-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.profile-panel.active {
    display: block;
}

/* 订单容器滚动条样式 */
#userOrdersContainer {
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #2a3441;
}

#userOrdersContainer::-webkit-scrollbar {
    width: 8px;
}

#userOrdersContainer::-webkit-scrollbar-track {
    background: #2a3441;
    border-radius: 4px;
}

#userOrdersContainer::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

#userOrdersContainer::-webkit-scrollbar-thumb:hover {
    background: #a0a8b0;
}

.profile-avatar-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #2a3441;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: visible;
    position: relative;
    transition: all 0.3s ease;
}

.profile-avatar-large:hover {
    box-shadow: 0 6px 20px rgba(93, 173, 226, 0.4);
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    z-index: 1;
}

.profile-avatar-large:hover .avatar-upload-overlay {
    opacity: 1;
}

.avatar-upload-icon {
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.profile-avatar-large:hover .avatar-upload-icon {
    transform: scale(1.1);
}

.avatar-upload-edit-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #5dade2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(93, 173, 226, 0.4);
    border: 2px solid #1f2833;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.profile-avatar-large:hover .avatar-upload-edit-icon {
    opacity: 1;
    transform: scale(1);
}

.avatar-upload-edit-icon svg {
    fill: white;
}

.edit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.profile-avatar-large svg {
    width: 100%;
    height: 100%;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #2a3441;
    border-radius: 8px;
    border: 1px solid #2a3441;
}

.profile-info-label {
    min-width: 100px;
    font-weight: 500;
    color: #a0a8b0;
    font-size: 14px;
}

.profile-info-value {
    flex: 1;
    color: #CCCCCC;
    font-size: 14px;
}

.vip-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 会员等级徽章样式 */
.vip-badge-default {
    background: linear-gradient(135deg, #4a5568 0%, #2a3441 100%);
}

.vip-badge-primary {
    background: linear-gradient(135deg, #5dade2 0%, #4a9bc7 100%);
}

.vip-badge-success {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.vip-badge-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.vip-badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.vip-badge-info {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.vip-badge-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.vip-badge-silver {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.vip-badge-bronze {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.vip-badge-diamond {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.vip-badge-platinum {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.vip-badge-purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.vip-badge-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 表单输入框暗黑主题样式 */
.profile-form .form-group input,
.profile-form .form-group textarea {
    background: #1f2833 !important;
    border: 1px solid #2a3441 !important;
    color: #CCCCCC !important;
}

.profile-form .form-group input:focus,
.profile-form .form-group textarea:focus {
    border-color: #5dade2 !important;
    background: #1f2833 !important;
    color: #CCCCCC !important;
}

.profile-form .form-group input::placeholder,
.profile-form .form-group textarea::placeholder {
    color: #a0a8b0 !important;
}

.profile-form .form-group label {
    color: #a0a8b0 !important;
}

.profile-form .form-group small {
    color: #a0a8b0 !important;
}

/* 修改邮箱按钮样式 */
.edit-btn {
    background: #5dade2 !important;
    color: #ffffff !important;
    border: none !important;
}

.edit-btn:hover {
    background: #4a9bc7 !important;
}

/* 兑换说明区域 */
.profile-panel div[style*="background: #f9fafb"] {
    background: #2a3441 !important;
    border: 1px solid #2a3441 !important;
}

.profile-panel div[style*="background: #f9fafb"] h4 {
    color: #CCCCCC !important;
}

.profile-panel div[style*="background: #f9fafb"] ul {
    color: #a0a8b0 !important;
}

.profile-panel div[style*="color: #999"] {
    color: #a0a8b0 !important;
}

/* 订单加载提示 */
#userOrdersContainer div[style*="color: #999"] {
    color: #a0a8b0 !important;
}

/* 邮箱输入框样式 */
#emailInput {
    background: #1f2833 !important;
    border: 1px solid #2a3441 !important;
    color: #CCCCCC !important;
}

#emailInput:focus {
    border-color: #5dade2 !important;
}

#emailInput::placeholder {
    color: #a0a8b0 !important;
}

/* 保存和取消按钮 */
#saveEmailBtn {
    background: #4ade80 !important;
    color: #ffffff !important;
}

#saveEmailBtn:hover {
    background: #22c55e !important;
}

#cancelEmailBtn {
    background: #4a5568 !important;
    color: #ffffff !important;
}

#cancelEmailBtn:hover {
    background: #6b7280 !important;
}

/* ========== 我的订单样式（暗黑简洁主题） ========== */
/* 订单列表容器 */
#userOrdersContainer > div[style*="display: flex"] {
    gap: 15px;
}

/* 订单卡片 - 使用更通用的选择器 */
#userOrdersContainer > div > div {
    background: #2a3441 !important;
    border: 1px solid #2a3441 !important;
    border-color: #2a3441 !important;
    color: #CCCCCC !important;
}

/* 订单号文字 */
#userOrdersContainer div[style*="color: #666"],
#userOrdersContainer div[style*="color: #666;"] {
    color: #a0a8b0 !important;
}

/* 订单号值 */
#userOrdersContainer span[style*="color: #333"],
#userOrdersContainer span[style*="color: #333;"] {
    color: #CCCCCC !important;
}

/* 商品标题 */
#userOrdersContainer div[style*="color: #333"][style*="font-weight: 500"],
#userOrdersContainer div[style*="font-weight: 500"][style*="color: #333"] {
    color: #CCCCCC !important;
}

/* 价格 */
#userOrdersContainer div[style*="color: #e65100"],
#userOrdersContainer div[style*="color: #e65100;"] {
    color: #fbbf24 !important;
}

/* 状态标签 - 已支付 */
#userOrdersContainer span[style*="background: #e8f5e9"],
#userOrdersContainer span[style*="background: #e8f5e9;"] {
    background: #1f4a2f !important;
    color: #4ade80 !important;
}

/* 状态标签 - 待支付 */
#userOrdersContainer span[style*="background: #fff3e0"],
#userOrdersContainer span[style*="background: #fff3e0;"] {
    background: #4a2f1f !important;
    color: #fbbf24 !important;
}

/* 状态标签 - 支付失败 */
#userOrdersContainer span[style*="background: #ffebee"],
#userOrdersContainer span[style*="background: #ffebee;"] {
    background: #4a1f1f !important;
    color: #ef4444 !important;
}

/* 状态标签 - 已取消 */
#userOrdersContainer span[style*="background: #f5f5f5"],
#userOrdersContainer span[style*="background: #f5f5f5;"] {
    background: #2a3441 !important;
    color: #a0a8b0 !important;
}

/* 支付信息 */
#userOrdersContainer div[style*="color: #999"],
#userOrdersContainer div[style*="color: #999;"] {
    color: #a0a8b0 !important;
}

/* 分割线 */
#userOrdersContainer div[style*="border-top: 1px solid #f0f0f0"],
#userOrdersContainer div[style*="border-top: 1px solid #f0f0f0;"] {
    border-top: 1px solid #2a3441 !important;
    border-top-color: #2a3441 !important;
}

/* 暂无订单提示 */
#userOrdersContainer > div[style*="color: #999"],
#userOrdersContainer > div[style*="color: #999;"] {
    color: #a0a8b0 !important;
}

/* 订单卡片悬停效果 */
#userOrdersContainer > div > div:hover {
    background: #2a3441 !important;
    box-shadow: 0 2px 8px rgba(93, 173, 226, 0.2) !important;
}
