/* 会员中心统一样式 */
body { 
    background: #f5f6fa !important;
    font-family: '微软雅黑', Arial, sans-serif; 
}

/* 主容器 */
.member-container {
    margin: 40px auto 0 auto;
    display: flex;
    gap: 24px;
}

/* 左侧区域 */
.member-left {
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px;
    height: fit-content;
}

/* 右侧区域 */
.member-right {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px;
}

/* 会员头部信息 */
.member-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    text-align: center;
}

.member-avatar {
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    background: #eee; 
    margin-bottom: 16px; 
    object-fit: cover;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 16px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.avatar-edit-btn:hover {
    background: #e55a2b;
    transform: scale(1.1);
}

/* 生日选择器样式 */
.birthday-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.birthday-select {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.birthday-select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.birthday-select:hover {
    border-color: #ff6b35;
}

.birthday-select option {
    padding: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .birthday-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .birthday-select {
        width: 100%;
    }
}

.member-info h3 { 
    margin: 0 0 8px 0; 
    font-size: 1.3em; 
    color: #333;
}

.member-info .mobile { 
    color: #888; 
    font-size: 0.9em; 
    margin-bottom: 8px; 
}

.member-info .gender { 
    color: #888; 
    font-size: 0.9em; 
    margin-bottom: 8px; 
}

.member-info .status { 
    font-size: 0.9em; 
}

/* 导航菜单 */
.member-nav {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-nav a:hover {
    background: #ffecd6;
    color: #ff6b35;
}

.member-nav a.active {
    background: #ffecd6;
    color: #ff6b35;
}

.member-nav a i {
    width: 16px;
    text-align: center;
}

/* 退出登录 */
.member-logout { 
    color: #e74c3c; 
    font-size: 0.95em; 
    text-decoration: none;
    margin-top: 25px;
    display: inline-block;
    padding-left: 2.5em;
}

.member-logout:hover {
    color: #c0392b;
}

/* 右侧头部 */
.right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.right-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

/* 详情列表 */
.member-detail-list { 
    margin-top: 16px; 
    overflow: hidden;
}

.member-detail-list dt { 
    float: left; 
    width: 120px; 
    color: #666; 
    clear: left; 
    font-weight: 500;
}

.member-detail-list dd { 
    margin-left: 120px; 
    margin-bottom: 15px; 
    color: #333; 
    padding-left: 10px;
}

/* 微信状态 */
.wechat-status { 
    display: inline-block; 
    padding: 2px 10px; 
    border-radius: 12px; 
    font-size: 0.95em; 
}

.wechat-status.yes { 
    background: #e6f7e6; 
    color: #2ecc40; 
    border: 1px solid #b2e2b2; 
}

.wechat-status.no { 
    background: #fff3f3; 
    color: #e74c3c; 
    border: 1px solid #f5b7b1; 
}

/* 个人资料表单 */
.profile-form { 
    max-width: 100%; 
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.profile-form input[type="text"], 
.profile-form input[type="email"],
.profile-form input[type="password"],
.profile-form input[type="date"],
.profile-form select { 
    width: 100%; 
    padding: 12px 16px; 
    margin-bottom: 20px;
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-size: 1em; 
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.profile-form input[type="text"]:focus, 
.profile-form input[type="email"]:focus,
.profile-form input[type="password"]:focus,
.profile-form input[type="date"]:focus,
.profile-form select:focus { 
    outline: none; 
    border-color: #007bff; 
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    background: #fff;
}

.profile-form input[type="password"] {
    letter-spacing: 2px;
}

.profile-form input[type="file"] { 
    width: 100%; 
    padding: 12px 16px; 
    margin-bottom: 20px;
    border: 2px dashed #ddd; 
    border-radius: 6px; 
    font-size: 1em; 
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.profile-form input[type="file"]:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.profile-form button { 
    background: #007bff; 
    color: #fff; 
    border: none; 
    padding: 14px 0; 
    border-radius: 8px; 
    font-size: 1.1em; 
    font-weight: bold; 
    cursor: pointer; 
    width: 100%; 
    transition: all 0.3s ease;
    margin-top: 10px;
}

.profile-form button:hover { 
    background: #0056b3; 
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 密码修改区域 */
.password-section {
    margin-top: 30px;
    padding: 25px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px;
}

.password-section h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.password-section label {
    margin-top: 15px;
    margin-bottom: 8px;
}

.password-section input[type="password"] {
    margin-bottom: 15px;
}

/* 表格样式 */
.zhaopu-table,
.zhuanpu-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0; 
    margin-top: 16px; 
}

.zhaopu-table th, 
.zhaopu-table td,
.zhuanpu-table th,
.zhuanpu-table td { 
    border-bottom: 1px solid #e0e0e0; 
    padding: 12px 8px; 
    text-align: left; 
}

.zhaopu-table th,
.zhuanpu-table th { 
    background: #f7f7f7; 
    color: #333; 
    font-weight: bold; 
    min-width: 80px;
}
.zhuanpu-table th:first-child,
.zhaopu-table th:first-child {
    min-width: 120px;
}
.zhaopu-table th:last-child,
.zhuanpu-table th:last-child {
    min-width: 150px;
}

.zhaopu-table tr:last-child td,
.zhuanpu-table tr:last-child td { 
    border-bottom: none; 
}

.zhaopu-table tr:nth-child(even),
.zhuanpu-table tr:nth-child(even) { 
    background: #fafbfc; 
}

.zhaopu-table .actions a,
.zhuanpu-table .actions a { 
    margin-right: 3px; 
    color: #ffffff; 
    text-decoration: none; 
    padding: 4px 6px; 
    border-radius: 6px; 
    background: #007bff; 
    font-size: 0.88em; 
}

.zhaopu-table .actions a:hover,
.zhuanpu-table .actions a:hover { 
    background: #007bff; 
    color: #fff; 
}

.zhaopu-table .actions a.btn-pay,
.zhuanpu-table .actions a.btn-pay {
    background: #ff6b35;
}

/* 无数据提示 */
.no-data { 
    text-align: center; 
    color: #aaa; 
    padding: 32px 0; 
    font-size: 1.1em; 
}

/* 响应式设计 */
@media (max-width: 768px) {
    .member-container {
        flex-direction: column;
        margin: 20px auto 0 auto;
    }
    .member-left {
        width: 100%;
    }
    .member-right {
        padding: 20px;
    }
}

/* 会员登录页面专用样式 */

/* 增强的输入框效果 */
.form-input {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* 表单验证样式 */
.form-input.error {
    border-color: #e74c3c;
}

.form-input.success {
    border-color: #27ae60;
}

/* 登录页面响应式增强 */
@media (max-width: 480px) {
    .login-container {
        margin: 10px;
        padding: 25px 15px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .login-subtitle {
        font-size: 12px;
    }
    
    .form-input {
        font-size: 14px;
        padding: 14px 14px 14px 42px;
    }
    
    .login-btn {
        padding: 14px;
        font-size: 14px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .login-container {
        background: rgba(30, 30, 30, 0.95);
        color: #fff;
    }
    
    .login-title {
        color: #fff;
    }
    
    .login-subtitle {
        color: #ccc;
    }
    
    .form-group label {
        color: #ddd;
    }
    
    .form-input {
        background: rgba(50, 50, 50, 0.8);
        border-color: #444;
        color: #fff;
    }
    
    .form-input:focus {
        background: rgba(60, 60, 60, 0.9);
        border-color: #667eea;
    }
    
    .divider span {
        background: rgba(30, 30, 30, 0.95);
        color: #ccc;
    }
    
    .social-btn {
        background: rgba(50, 50, 50, 0.8);
        border-color: #444;
        color: #ddd;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .login-container {
        border: 2px solid #000;
    }
    
    .form-input {
        border-width: 2px;
    }
    
    .login-btn {
        border: 2px solid #000;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white !important;
    }
    
    .login-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .login-btn,
    .social-btn {
        border: 1px solid #000;
        background: white !important;
        color: black !important;
    }
}

/* 会员登录页面样式 */
.member-login-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 会员登录页面专用样式 */
.member-login-page .form-input {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-login-page .form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* 表单验证样式 */
.member-login-page .form-input.error {
    border-color: #e74c3c;
}

.member-login-page .form-input.success {
    border-color: #27ae60;
}

.member-login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-login-page .login-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
}

.member-login-page .login-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.member-login-page .login-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    font-size: 24px;
    color: white;
}

.member-login-page .login-text {
    text-align: left;
}

.member-login-page .login-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.member-login-page .login-subtitle {
    color: #666;
    font-size: 14px;
}

.member-login-page .form-group {
    margin-bottom: 20px;
    position: relative;
}

.member-login-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.member-login-page .input-wrapper {
    position: relative;
}

.member-login-page .input-wrapper .pear-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.member-login-page .form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.member-login-page .form-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.member-login-page .form-input:focus + .pear-icon {
    color: #667eea;
}

.member-login-page .login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-login-page .login-btn:hover {
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.member-login-page .login-links {
    margin-top: 25px;
    text-align: center;
}

.member-login-page .login-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin: 0 12px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.member-login-page .login-links a:hover {
    background: rgba(102, 126, 234, 0.1);
}

.member-login-page .divider {
    margin: 25px 0;
    text-align: center;
    position: relative;
}

.member-login-page .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.member-login-page .divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.member-login-page .social-login {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.member-login-page .social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    color: #666;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.member-login-page .social-btn:hover {
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-login-page .social-btn.wechat {
    border-color: #07c160;
    color: #07c160;
}

.member-login-page .social-btn.wechat:hover {
    background: #07c160;
    color: white;
}

.member-login-page .wechat-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* 加载动画 */
.member-login-page .loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.member-login-page .loading.active {
    display: block;
}

.member-login-page .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 登录页面响应式设计 */
@media (max-width: 480px) {
    .member-login-page .login-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .member-login-page .login-title {
        font-size: 24px;
    }

    .member-login-page .social-login {
        flex-direction: column;
    }
}

/* 错误提示样式 */
.member-login-page .error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
    display: none;
}

.member-login-page .success-message {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3c3;
    display: none;
} 