/**
 * 会员系统登录注册页面样式
 * 现代化卡片式设计
 */

@charset "utf-8";

/* ========================================
   基础重置与变量（蓝色+蒂凡尼蓝风格）
   ======================================== */
:root {
    --primary-color: #00B5B8;      /* 蒂凡尼蓝主色 */
    --primary-hover: #009A9D;      /* 蒂凡尼蓝深色 */
    --primary-light: #B2F5EA;      /* 蒂凡尼蓝浅色 */
    --secondary-color: #1E88E5;    /* 蓝色辅助色 */
    --secondary-hover: #1565C0;    /* 蓝色深色 */
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --bg-light: #F0FDFA;           /* 浅青背景 */
    --bg-card: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #1E88E5 0%, #00B5B8 50%, #B2F5EA 100%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   导航栏样式
   ======================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .header {
    padding: 12px 20px;
}

.site-header .row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.header-logo .site-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav .nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.main-nav .nav-item:hover {
    color: var(--primary-color);
}

.main-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.main-nav .nav-item:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-actions .btn {
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-actions .btn-login {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.nav-actions .btn-login:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-actions .btn-register {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
}

.nav-actions .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   主容器布局（调整，避免被导航栏遮挡）
   ======================================== */
.member-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: center;
}

.member-container {
    width: 100%;
    max-width: 960px;
    max-width: calc(100% - 20px);
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

/* 左侧品牌区域 */
.member-brand {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.member-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.member-brand .brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.member-brand .brand-content p{
    color: #333;
}
.member-brand .brand-content .skip-tip {
    color: rgba(255, 255, 255, 0.9);
}
.member-brand .brand-content .btn-text {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
}
.member-brand .brand-content .btn-text:hover {
    text-decoration: underline;
}
.btn-text-primary {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}
.btn-text-primary:hover {
    color: var(--primary-hover);
}
.member-brand .brand-content .form-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.member-brand .brand-content .form-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}
.member-brand .brand-content .form-footer a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.member-brand .brand-content .form-footer a:hover {
    text-decoration: underline;
}
.member-brand .brand-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-brand .brand-logo img {
    width: 30px;
    height: 30px;
}

.member-brand h1 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.member-brand p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.6;
}

/* 右侧表单区域 */
.member-form-area {
    flex: 1;
    padding: 10px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 16px;
}

.member-form-area .form-header {
    text-align: center;
    margin-bottom: 16px;
}

.member-form-area .form-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.member-form-area .form-header p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ========================================
   表单样式
   ======================================== */
.member-form {
    width: 100%;
}

.form-group {
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 75px;
    padding-top: 10px;
    margin-right: 10px;
}

.form-group label.form-checkbox {
    min-width: auto;
    padding-top: 0;
}

.form-group label .required {
    color: var(--danger-color);
    margin-left: 2px;
}

.form-input {
    width: 320px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:hover:not(:focus) {
    border-color: var(--primary-light);
}

/* 输入框提示文字 */
.field-tip {
    padding: 8px 12px;
    padding-left:80px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* 验证码输入框 */
.form-input-small {
    width: 140px;
}

.form-verify-group {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    width: 320px;
}

.form-verify-group .form-input {
    flex: 1;
    height: 38px;
}

.form-verify-group .verify-img {
    height: 38px;
    width: 90px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid var(--border-color);
}

.form-verify-group .verify-img:hover {
    border-color: var(--primary-light);
    transform: scale(1.02);
}

/* 验证码加载状态 */
.form-verify-group .verify-img.loading {
    opacity: 0.5;
}

.form-verify-group.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 90px + 45px);
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 密码输入框组 */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
}

.password-input-group .form-input {
    padding-right: 44px;
    height: 38px;
}

.password-input-group .password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-muted);
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
    font-size: 16px;
    z-index: 10;
}

.password-input-group .password-toggle:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.password-input-group .password-toggle.active {
    color: var(--primary-color);
}

.password-input-group .password-toggle i {
    pointer-events: none;
}

/* 验证码占位状态 - 懒加载 */
.form-verify-group .verify-img[data-loaded="true"] {
    background: none;
}

.form-verify-group .verify-img:not([src]),
.form-verify-group .verify-img[src=""] {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-verify-group .verify-img:not([src])::before,
.form-verify-group .verify-img[src=""]::before {
    content: '点击获取验证码';
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 复选框样式 */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding-top: 0;
    min-width: auto;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox span {
    font-size: 12px;
    color: var(--text-secondary);
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* 提交按钮 */
.form-submit {
    width: 400px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    letter-spacing: 2px;
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

/* ========================================
   密码强度检测器
   ======================================== */

/* 密码强度检测器 */
.password-strength {
    margin-top: 4px;
    margin-left: 75px;
    width: 320px;
}

.strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-fill.level-1 { background: #EF4444; }
.strength-fill.level-2 { background: #F59E0B; }
.strength-fill.level-3 { background: #10B981; }
.strength-fill.level-4 { background: #1E88E5; }
.strength-fill.level-5 { background: #00B5B8; }

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* 密码匹配提示 */
.password-match-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.password-match-message.match-success {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.password-match-message.match-error {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

.password-match-message i {
    font-size: 14px;
}

/* ========================================
   表单提示框
   ======================================== */
.form-alert {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    margin-bottom: 2px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.3s ease;
    width:400px;
    min-width: 200px;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-all;
    overflow-wrap: break-word;
}

.form-alert-success {
    background: #D1FAE5;
    border: 1px solid #10B981;
    color: #065F46;
}

.form-alert-error {
    background: #FEE2E2;
    border: 1px solid #EF4444;
    color: #991B1B;
}

.form-alert i {
    font-size: 18px;
}

/* 输入框错误状态 */
.form-input.input-error {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
}

.form-input.input-success {
    border-color: #10B981 !important;
}

/* 表单底部链接 */
.form-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    font-size: 12px;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

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

/* 忘记密码链接 */
.forget-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: -10px;
    margin-bottom: 20px;
}

.forget-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.forget-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   提示信息样式
   ======================================== */
.form-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.form-tip-warning {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    color: #92400E;
}

.form-tip-info {
    background: #DBEAFE;
    border: 1px solid var(--primary-light);
    color: #1E40AF;
}

.form-tip-success {
    background: #D1FAE5;
    border: 1px solid var(--success-color);
    color: #065F46;
}

/* 错误提示 */
.error-message {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   社交登录
   ======================================== */
.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
}

.social-login-title::before,
.social-login-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--border-color);
}

.social-login-title::before {
    left: 30%;
}

.social-login-title::after {
    right: 30%;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-btn.wechat { background: #07C160; }
.social-btn.qq { background: #12B7F5; }
.social-btn.weibo { background: #E6162D; }

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .member-container {
        flex-direction: column;
        max-width: 420px;
    }

    .member-brand {
        padding: 40px 30px;
    }

    .member-brand h1 {
        font-size: 22px;
    }

    .member-brand p {
        font-size: 13px;
    }

    .member-form-area {
        padding: 40px 30px;
    }

    .form-verify-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .form-verify-group .form-input {
        width: 100% !important;
        height: 38px !important;
    }

    .form-input-small {
        width: 100% !important;
        height: 38px !important;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.member-form-area {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.member-brand {
    animation: slideIn 0.5s ease-out;
}

/* ========================================
   会员中心样式
   ======================================== */
.member-center {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.member-center .center-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #764BA2 100%);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.member-center .user-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.member-center .user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 3px solid rgba(255,255,255,0.3);
}

.member-center .user-details h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.member-center .user-details p {
    opacity: 0.9;
    font-size: 14px;
}

.member-center .center-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.member-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.member-card ul {
    list-style: none;
}

.member-card ul li {
    margin-bottom: 12px;
}

.member-card ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.member-card ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* ========================================
   页脚
   ======================================== */
.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========================================
   邮箱验证页面样式 (从 verify_email.htm 整合)
   ======================================== */

/* 邮箱验证框 */
.email-verify-box {
    text-align: center;
}

.email-verify-box h2 {
    font-size: 22px;
    color: white;
    margin: 15px 0 10px;
}

.email-verify-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 20px;
}

.email-verify-box .form-actions {
    text-align: center;
    margin: 25px 0 15px;
}

.email-verify-box .skip-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* 基础按钮样式（低优先级） */
.email-verify-box .btn-text {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
}

.email-verify-box .btn-text:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

/* 跳过按钮（进入会员中心）样式 - 使用ID选择器，最高优先级 */
#btn_skip.btn-skip-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-weight: normal !important;
    line-height: normal !important;
    text-align: center !important;
}

#btn_skip.btn-skip-link:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transform: translateX(3px);
}

#btn_skip.btn-skip-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

#btn_skip.btn-skip-link:hover i {
    transform: translateX(3px);
}

.email-verify-box .btn-text.btn-small {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px !important;
}

.email-verify-box .btn-text.btn-small:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

.email-verify-box .form-footer {
    margin-top: 15px;
}

.email-verify-box .form-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.email-verify-box .form-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* 邮箱表单样式 */
.email-verify-form {
    text-align: left;
}

.current-email {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.current-email i {
    color: var(--primary-color);
    font-size: 16px;
}

.current-email span {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
}

/* 新邮箱提示样式 */
.new-email-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #d4edda;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    font-size: 13px;
    color: #155724;
}

.new-email-hint i {
    font-size: 14px;
}

.new-email-value {
    font-weight: 600;
    color: #007bff;
}

.change-email-inline {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.change-email-inline .form-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

.verify-code-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.verify-code-row .form-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

/* 邮箱提示样式 */
.email-verified-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #d4edda;
    color: #155724;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-size: 14px;
}

.email-verified-tip i {
    font-size: 16px;
}

.email-optional-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-size: 14px;
    flex-wrap: wrap;
}

.email-optional-tip i {
    color: var(--text-muted);
}

.email-optional-tip span {
    flex: 1;
    color: var(--text-primary);
}

/* 表单区域样式 */
.form-section {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.section-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
}

.section-status.verified {
    background: #d4edda;
    color: #155724;
}

.section-status.unverified {
    background: #f8d7da;
    color: #721c24;
}

.section-status.optional {
    background: #e2e3e5;
    color: #6c757d;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.email-display i {
    color: var(--primary-color);
    font-size: 18px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-value {
    padding: 10px 12px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    flex: 1;
}

/* 通用按钮样式 */
.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-secondary {
    padding: 10px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 自动完成列表 */
.city-selector {
    position: relative;
}

.form-group:has(.autocomplete-list) {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.autocomplete-item:hover {
    background: var(--bg-light);
}

.selected-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.city-tag, .dict-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
}

.city-tag i {
    cursor: pointer;
    opacity: 0.7;
}

.city-tag i:hover {
    opacity: 1;
}

/* ========================================
   登录页面样式调整 (从 login_pc.htm 整合)
   ======================================== */
.login-pc .member-form-area {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.login-pc .member-form {
    flex: 1;
}

.login-pc .forget-links {
    text-align: right;
    margin: 15px 0;
    padding: 0;
}

.login-pc .forget-links a {
    color: var(--primary-color);
    font-size: 13px;
    text-decoration: none;
}

.login-pc .forget-links a:hover {
    text-decoration: underline;
}

.login-pc .form-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-pc .form-footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.login-pc .form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-pc .form-footer a:hover {
    text-decoration: underline;
}



/* Tooltip样式 */
.tooltip-wrapper {
    margin-left: 5px;
    position: relative;
    display: inline;
    cursor: help;
    color: #999;
    flex-shrink: 0;
}

.tooltip-wrapper:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    transform: none;
    background: #fff;
    color: #333;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    white-space: normal;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 100;
    border: 1px solid #e8ecf0;
    max-width: 400px;
    min-width: 200px;
}

.tooltip-wrapper:hover::before {
    content: '';
    position: absolute;
    top: calc(100%);
    left: 10px;
    transform: none;
    border: 8px solid transparent;
    border-color: transparent transparent #e8ecf0 transparent;
    z-index: 101;
}

/* ========================================
   响应式设计（手机端适配）
   ======================================== */
@media (max-width: 768px) {
    /* 邮箱验证页面手机适配 */
    .email-verify-box h2 {
        font-size: 18px;
    }

    .email-verify-box p {
        font-size: 13px;
    }

    #btn_skip.btn-skip-link {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .current-email,
    .new-email-hint {
        padding: 10px 12px;
    }

    .change-email-inline,
    .verify-code-row {
        flex-direction: column;
    }

    .change-email-inline .form-input,
    .verify-code-row .form-input {
        width: 100%;
    }

    .form-section {
        padding: 15px;
    }

    .section-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-title {
        flex: none;
        width: 100%;
    }

    .selected-cities {
        gap: 6px;
    }

    .city-tag, .dict-tag {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* 登录页面手机适配 */
    .login-pc .forget-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    #btn_skip.btn-skip-link {
        padding: 5px 10px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }
}

/* ==================== 可疑登录提醒样式 ==================== */
.suspicious-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e6 100%);
    border: 1px solid #ffd9b3;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease-out;
}

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

.suspicious-warning .warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9933 0%, #ff6600 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suspicious-warning .warning-icon i {
    color: white;
    font-size: 18px;
}

.suspicious-warning .warning-content {
    flex: 1;
}

.suspicious-warning .warning-content h4 {
    margin: 0 0 6px 0;
    color: #cc5500;
    font-size: 14px;
    font-weight: 600;
}

.suspicious-warning .warning-content p {
    margin: 0 0 10px 0;
    color: #8b4513;
    font-size: 13px;
    line-height: 1.5;
}

.suspicious-warning .suspicious-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.suspicious-warning .detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a0522d;
    font-size: 12px;
}

.suspicious-warning .detail-item i {
    font-size: 12px;
}

/* 二次验证密码区域样式 */
#second-verify-section {
    background: rgba(255, 153, 51, 0.05);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

#second-verify-section label {
    display: block;
    margin-bottom: 8px;
    color: #cc5500;
    font-weight: 600;
}

#second-verify-section .form-tip {
    margin: 8px 0 0 0;
    color: #a0522d;
    font-size: 12px;
}

/* 可疑登录响应式适配 */
@media (max-width: 768px) {
    .suspicious-warning {
        padding: 12px;
    }
    
    .suspicious-warning .warning-icon {
        width: 32px;
        height: 32px;
    }
    
    .suspicious-warning .warning-icon i {
        font-size: 14px;
    }
    
    .suspicious-warning .suspicious-details {
        flex-direction: column;
        gap: 4px;
    }
}
