/* 分类信息会员中心样式 - 参考 https://www.czxxg.net/ 风格 */

/* ===========================================
   CSS 变量定义
   =========================================== */
:root {
    /* 主题色 */
    --primary-color: #3092d5;
    --primary-hover: #2578b8;
    --secondary-color: #5ba7de;
    --pink-color: #d82b75;
    --pink-hover: #a02056;
    
    /* 状态色 */
    --success-color: #28a745;
    --success-bg: #d4edda;
    --success-border: #c3e6cb;
    --danger-color: #dc3545;
    --danger-bg: #f8d7da;
    --danger-border: #f5c6cb;
    --warning-color: #ffc107;
    --warning-bg: #fff3cd;
    --warning-border: #ffeaa7;
    --info-color: #17a2b8;
    --info-bg: #d1ecf1;
    --info-border: #bee5eb;
    
    /* 文字色 */
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --text-white: #fff;
    
    /* 背景色 */
    --bg-white: #fff;
    --bg-gray: #f8f9fa;
    --bg-light: #f5f5f5;
    --bg-dark: #4a5c6c;
    
    /* 边框色 */
    --border-color: #ddd;
    --border-light: #eee;
    --border-lighter: #f0f0f0;
    
    /* 间距 */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    
    /* 圆角 */
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-round: 50%;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    
    /* 字号 */
    --font-xs: 11px;
    --font-sm: 12px;
    --font-base: 13px;
    --font-md: 14px;
    --font-lg: 16px;
    --font-xl: 18px;
    --font-2xl: 20px;
    --font-3xl: 24px;
}

/* ===========================================
   右侧内容区顶部粉红色导航栏
   =========================================== */
.content-top-nav {
    background: var(--pink-color);
    padding: 0;
}

.content-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 var(--spacing-lg);
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.nav-menu .nav-item {
    padding: 6px var(--spacing-md);
    color: var(--text-white);
    font-size: var(--font-base);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-menu .nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-menu .nav-item.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.nav-menu .nav-item i {
    font-size: var(--font-xs);
}

/* 导航下拉菜单 */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: 6px 0;
    z-index: 1000;
    margin-top: 0;
    overflow: hidden;
}

/* 增加悬停容错区域 */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-base);
    transition: background 0.3s;
    white-space: nowrap;
    text-align: center;
}

.nav-dropdown-menu .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--pink-color);
}

/* 右侧搜索框 */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    height: 30px;
}

.nav-search input {
    border: none;
    outline: none;
    padding: 0 12px;
    width: 180px;
    height: 30px;
    font-size: var(--font-sm);
}

.nav-search button {
    border: none;
    background: transparent;
    padding: 0 12px;
    height: 30px;
    cursor: pointer;
    color: var(--pink-color);
    transition: color 0.3s;
}

.nav-search button:hover {
    color: var(--pink-hover);
}

/* ===========================================
   基础样式
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: var(--font-md);
    line-height: 1.6;
    color: var(--text-primary);
    background: #ebebeb url('/member/static/images/body_bg.jpg') no-repeat top center;
    min-width: 1200px;
    overflow-x: auto;
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

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

ul, ol {
    list-style: none;
}

/* ===========================================
   通用工具类
   =========================================== */
.yui-1200 {
    width: 1200px;
    margin: 0 auto;
}

.yui-left { float: left; }
.yui-right { float: right; }
.yui-text-right { text-align: right; }
.yui-clear { clear: both; }
.bg-white { background-color: var(--bg-white); }
.mt10 { margin-top: var(--spacing-sm); }
.mt20 { margin-top: var(--spacing-lg); }
.pd10 { padding: var(--spacing-sm); }
.pd20 { padding: var(--spacing-lg); }



/* 顶部导航栏 - 与PC端其他页面保持一致 */
body .yui-top,
.yui-top.yui-1200 {
    height: 36px !important;
    background: #F8F8F8 !important;
    line-height: 36px !important;
    border-bottom: 1px solid rgba(229, 229, 229, 0.3) !important;
    box-shadow: none !important;
    font-family: Arial, Hiragino Sans GB, STHeiti, Helvetica Neue, Helvetica, Microsoft Yahei, WenQuanYi Micro Hei, sans-serif !important;
}

.yui-top-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.yui-top-left {
    width: 600px;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

body .yui-top-left a,
.yui-top-left a {
    margin-right: 15px;
    font-size: 13px !important;
    font-family: Arial, Hiragino Sans GB, STHeiti, Helvetica Neue, Helvetica, Microsoft Yahei, WenQuanYi Micro Hei, sans-serif !important;
    color: #333;
    text-decoration: none;
    line-height: 36px !important;
    height: 36px !important;
    display: inline-block;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yui-top-left a:hover {
    color: #EE3131;
}

.yui-top-right {
    width: 580px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 36px;
}

.yui-top-right a,
.yui-top-right .yui-top-dropdown {
    margin-left: 0;
    display: inline-block;
}

body .yui-top-right a,
.yui-top-right a {
    font-size: 13px !important;
    font-family: Arial, Hiragino Sans GB, STHeiti, Helvetica Neue, Helvetica, Microsoft Yahei, WenQuanYi Micro Hei, sans-serif !important;
    color: #333;
    text-decoration: none;
    padding: 0 15px;
    line-height: 36px !important;
    display: inline-block;
    height: 36px !important;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yui-top-right a:hover {
    background-color: rgba(255,255,255,0.8);
    color: #EE3131;
    text-shadow: none;
}

/* 顶部下拉菜单 */
.yui-top-dropdown {
    position: relative;
    display: inline-block;
    margin-left: var(--spacing-md);
}

.yui-top-dropdown-btn {
    font-size: var(--font-base) !important;
    font-family: Arial, Hiragino Sans GB, STHeiti, Helvetica Neue, Helvetica, Microsoft Yahei, WenQuanYi Micro Hei, sans-serif !important;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0 var(--spacing-md);
    position: relative;
    height: 36px;
    display: inline-block;
    line-height: 36px;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yui-top-dropdown-btn:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: var(--spacing-xs);
    vertical-align: middle;
    border-top: 4px solid var(--text-secondary);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.yui-top-dropdown:hover .yui-top-dropdown-btn {
    background-color: rgba(255,255,255,0.8);
    color: #EE3131;
    text-shadow: none;
}

.yui-top-dropdown:hover .yui-top-dropdown-btn:after {
    transform: rotate(180deg);
    border-top-color: #EE3131;
}

.yui-top-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    min-width: 100px;
    max-width: 100px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.yui-top-right .yui-top-dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
}

.yui-top-dropdown:hover .yui-top-dropdown-menu {
    display: block;
}

.yui-top-dropdown-menu li {
    line-height: 36px;
    border-bottom: 1px solid var(--bg-light);
}

.yui-top-dropdown-menu li:last-child {
    border-bottom: none;
}

.yui-top-dropdown-menu li a {
    display: block;
    padding: 0 10px;
    font-size: var(--font-base);
    color: var(--text-secondary);
    white-space: nowrap;
    text-align: center;
}

.yui-top-dropdown-menu li a:hover {
    background-color: #f9f9f9;
    color: #EE3131;
}

.user-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.username {
    font-weight: 600;
    color: #333;
}

.user-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1;
}

.user-status.ok {
    background: #e7f9f0;
    color: #00a854;
    border: 1px solid #b7f0d4;
}

.user-status.warn {
    background: #fff7e6;
    color: #ff6b00;
    border: 1px solid #ffd591;
}

/* 会员中心首页头像尺寸 */
.user-avatar-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 3px solid #e9ecef;
}

.user-avatar-large img,
.user-avatar-large i {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 64px;
    color: #d0d7e2;
}

.logout-link {
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
}

.logout-link:hover {
    color: #3092d5;
    border-color: #3092d5;
}

/* 头部区域 */
.yui-header {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.yui-t {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yui-logo h1 {
    font-size: 24px;
    color: #3092d5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yui-logo i {
    font-size: 28px;
}

.yui-form {
    flex-grow: 1;
    margin: 0 20px;
}

.yui-select {
    position: relative;
}

.import {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 20px;
    background-color: #3092d5;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.btn-search:hover {
    background-color: #2578b8;
}

.yui-fabu button {
    background-color: #3092d5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yui-fabu button:hover {
    background-color: #2578b8;
}

/* 主导航 */
.yui-nav {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.yui-nav ul {
    display: flex;
    padding: 0;
    margin: 0;
}

.yui-nav li {
    flex: 1;
    text-align: center;
}

.yui-nav a {
    display: block;
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.yui-nav a:hover {
    background-color: #e8f4fb;
    color: #3092d5;
    border-bottom-color: #a8d0ea;
}

.yui-nav .nav-cur a {
    color: #3092d5;
    border-bottom-color: #3092d5;
    background-color: #e8f4fb;
}

/* 主内容区域 */
.content-main {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 500px;
}

.content-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.content-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
    flex: 0 0 auto;
}

.page-actions-right {
    position: absolute;
    right: 0;
    top: -10;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.breadcrumb {
    font-size: 12px;
    color: #999;
}

.breadcrumb span {
    color: #3092d5;
}

/* 选项卡导航 */
.tab-navigation {
    border-bottom: 2px solid #d0d0d0;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs {
    display: flex;
    gap: 3px;
}

/* 选项卡右侧操作按钮区域 */
.tab-actions {
    display: flex;
    align-items: center;
    padding-right: 0;
}

.tab-btn {
    padding: 6px 16px;
    background-color: #f5f5f5;
    border: 1px solid #c0c0c0;
    border-bottom: 2px solid #c0c0c0;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    font-size: 13px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    background-color: #e8e8e8;
    color: #333;
    border-color: #b0b0b0;
    border-bottom-color: #b0b0b0;
}

.tab-btn.active {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid #c0c0c0;
    border-bottom: 2px solid white;
    font-weight: 500;
}

/* 内容区域 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.tab-content {
    display: none;
}

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

/* 表格样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h3 i {
    color: #3092d5;
}

.section-header .btn-outline-primary {
    background-color: #f5f8fc;
    border-color: #3092d5;
    color: #3092d5;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
}

.section-header .btn-outline-primary:hover {
    background-color: #3092d5;
    color: white;
}

/* ===========================================
   按钮样式（通用）
   =========================================== */
.btn {
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    line-height: normal;
}

.btn i {
    font-size: 14px;
}

/* 按钮尺寸 */
.btn-sm {
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 32px;
    border-radius: 4px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 14px;
}

/* 按钮颜色 */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(27,104,255,0.3);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--text-white);
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background: #fff;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background: #dc3545;
    color: #fff;
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border-color: #e0e0e0;
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    color: #333;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-info {
    background-color: var(--info-color);
    color: var(--text-white);
}

.btn-info:hover {
    background-color: #138496;
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-link {
    background-color: transparent;
    color: #007bff;
    text-decoration: underline;
    border: none;
}

.btn-link:hover {
    color: #0056b3;
}

/* ===========================================
   小标签按钮样式
   =========================================== */
.btn-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    vertical-align: middle;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

/* 柔和的颜色方案 - 降低饱和度 */
.btn-tag.btn-recharge {
    background-color: #ffab40;
    color: #fff;
}

.btn-tag.btn-recharge:hover {
    background-color: #ff9100;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 145, 0, 0.2);
}

.btn-tag.btn-bind {
    background-color: #66bb6a;
    color: #fff;
}

.btn-tag.btn-bind:hover {
    background-color: #43a047;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(67, 160, 71, 0.2);
}

.btn-tag.btn-certify {
    background-color: #42a5f5;
    color: #fff;
}

.btn-tag.btn-certify:hover {
    background-color: #1e88e5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(30, 136, 229, 0.2);
}

.btn-tag.btn-upgrade {
    background-color: #ffb74d;
    color: #fff;
}

.btn-tag.btn-upgrade:hover {
    background-color: #ffa726;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 167, 38, 0.2);
}

.btn-tag.btn-points {
    background-color: #ffa726;
    color: #fff;
}

.btn-tag.btn-points:hover {
    background-color: #fb8c00;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(251, 140, 0, 0.2);
}

/* 柔和的操作按钮颜色 */
.btn-tag.btn-view {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.btn-tag.btn-view:hover {
    background-color: #1976d2;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

.btn-tag.btn-edit {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.btn-tag.btn-edit:hover {
    background-color: #388e3c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(56, 142, 60, 0.2);
}

.btn-tag.btn-delete {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.btn-tag.btn-delete:hover {
    background-color: #d32f2f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(211, 47, 47, 0.2);
}

.btn-tag.btn-top {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
}

.btn-tag.btn-top:hover {
    background-color: #f57c00;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 124, 0, 0.2);
}

.btn-tag.btn-refresh {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.btn-tag.btn-refresh:hover {
    background-color: #7b1fa2;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(123, 31, 162, 0.2);
}

/* ===========================================
   表格样式（通用）
   =========================================== */
.table-container {
    overflow-x: auto;
    margin-bottom: 0;
}

.table-container.compact {
    font-size: var(--font-base);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: var(--font-md);
}

.data-table.unified-table,
.data-table.compact {
    font-size: var(--font-md);
}

.data-table thead {
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
}

.data-table th {
    background-color: transparent;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    color: #555;
    font-size: 13px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.data-table.compact th {
    padding: 7px 10px;
    font-size: 12px;
}

.data-table th:nth-child(2) {
    min-width: 300px;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-secondary);
    font-size: 13px;
}

.data-table.compact td {
    padding: 8px 10px;
    font-size: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.data-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.data-table tbody tr:hover {
    background-color: var(--bg-gray);
}

/* ===========================================
   状态徽章样式（通用）
   =========================================== */
.status-badge,
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: var(--font-xs);
    font-weight: bold;
    border-radius: var(--radius-sm);
    text-align: center;
    white-space: nowrap;
}

.status-badge {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: normal;
}

/* 状态颜色 */
.status-approved,
.status-running,
.status-success,
.badge-success {
    background-color: var(--success-bg);
    color: #155724;
    border: 1px solid var(--success-border);
}

.status-pending,
.badge-warning {
    background-color: var(--warning-bg);
    color: #856404;
    border: 1px solid var(--warning-border);
}

.status-rejected,
.badge-danger {
    background-color: var(--danger-bg);
    color: #721c24;
    border: 1px solid var(--danger-border);
}

.status-deleted,
.status-offline,
.badge-secondary {
    background-color: var(--bg-light);
    color: #9e9e9e;
    border: 1px solid #e0e0e0;
}

.status-unknown {
    background-color: #fafafa;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.badge-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* 最近发布列表美化 */
.recent-table {
    border: 1px solid #ededed;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.recent-table .data-table {
    border-collapse: separate;
    border-spacing: 0;
}

.recent-table thead th {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-weight: 600;
    padding: 10px 12px;
}

.recent-table tbody tr {
    transition: background-color 0.12s ease;
}

.recent-table tbody tr:hover {
    background-color: #fffdf9;
}

.post-title-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.post-title-cell .post-title-link {
    font-weight: 600;
    color: #222;
}

.post-title-cell .post-title-link:hover {
    color: #3092d5;
}

.post-id {
    padding: 2px 8px;
    font-size: 12px;
    background: #f3f6fb;
    color: #5b6b87;
    border-radius: 6px;
}

.post-time-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6c7587;
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.4;
}

.status-approved {
    background: #e8f8ef;
    color: #0f9d58;
}

.status-pending {
    background: #fff4e5;
    color: #d9822b;
}

.status-rejected {
    background: #fdecee;
    color: #c0392b;
}

/* 最近发布表格的紧凑行距 */
.recent-table .data-table td {
    padding: 10px 12px;
    font-size: 13px;
}

.recent-table .data-table th {
    font-size: 13px;
}

/* 操作按钮组 */
.btn-action {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: var(--spacing-xs);
    font-size: var(--font-sm);
    transition: all 0.2s;
    color: var(--text-primary);
    text-decoration: none;
}

.btn-action:hover {
    background-color: var(--bg-gray);
    transform: translateY(-1px);
}

.btn-action.btn-text {
    min-width: 40px;
    text-align: center;
    padding: 4px 8px;
    font-size: var(--font-xs);
    margin-left: 3px;
}

.btn-view {
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-view:hover {
    background-color: #17a2b8;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.25);
}

.btn-edit {
    color: #f0ad4e;
    border-color: #f0ad4e;
}

.btn-edit:hover {
    background-color: #f0ad4e;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(240, 173, 78, 0.25);
}

.btn-delete {
    color: #d9534f;
    border-color: #d9534f;
}

.btn-delete:hover {
    background-color: #d9534f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(217, 83, 79, 0.25);
}

.btn-top {
    color: #5cb85c;
    border-color: #5cb85c;
}

.btn-top:hover {
    background-color: #5cb85c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(92, 184, 92, 0.25);
}

.btn-refresh {
    color: #8a95a5;
    border-color: #8a95a5;
}

.btn-refresh:hover {
    background-color: #8a95a5;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(138, 149, 165, 0.25);
}

.btn-action.btn-sm {
    padding: 4px 8px;
    font-size: var(--font-sm);
}

/* ===========================================
   分页样式（通用）
   =========================================== */
.pagination,
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    /* margin-top: var(--spacing-lg); */
}

.pagination.compact {
    gap: 3px;
}

.page-btn,
.page-number,
.page-nav,
.next-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: var(--font-base);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    min-width: 36px;
    text-align: center;
}

.pagination.compact .page-btn {
    padding: 6px 10px;
    font-size: var(--font-sm);
}

.page-btn:hover,
.page-number:hover,
.page-nav:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.page-btn.active,
.page-number.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    cursor: default;
}

.next-btn {
    padding: 8px 20px;
}

.page-ellipsis {
    padding: 0 var(--spacing-xs);
    color: var(--text-muted);
    font-size: var(--font-base);
}

.page-size-select {
    padding: 6px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    background: var(--bg-white);
    cursor: pointer;
}

.page-total {
    color: var(--text-secondary);
    font-size: var(--font-base);
    margin-left: 8px;
}

.page-goto {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: var(--font-base);
    margin-left: 8px;
}

.page-input {
    width: 50px;
    padding: 4px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--font-base);
}

/* 待审核列表 */
.pending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pending-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pending-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.pending-info p {
    margin-bottom: 3px;
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pending-actions {
    display: flex;
    gap: 10px;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

/* 统计卡片 */
.stats-cards {
    display: flex;
    gap: 20px;
}

.stat-card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 150px;
}

.stat-icon {
    font-size: 24px;
    color: #3092d5;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.stat-text {
    font-size: 12px;
    color: #666;
}

.chart-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    color: #666;
}

/* 表单样式 */
/* ===========================================
   表单样式（通用）
   =========================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: bold;
    color: var(--text-primary);
}

.form-control {
    width: 300px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-md);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 146, 213, 0.1);
}

input.error,
textarea.error,
.form-control.error {
    border-color: var(--danger-color) !important;
}

input.valid,
textarea.valid,
.form-control.valid {
    border-color: var(--success-color) !important;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    width: 400px;
}

input[type="file"].form-control {
    padding: 6px 10px;
    background-color: var(--bg-white);
    line-height: 1.5;
    cursor: pointer;
}

input[type="file"].form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(48, 146, 213, 0.1);
}

/* 表单组带描述 */
.form-group.with-description {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.with-description label {
    display: inline-block;
    width: 100px;
    margin-bottom: 0;
    font-weight: normal;
    color: #333;
    text-align: right;
}

.form-group.with-description .form-control-wrapper {
    flex: 0 0 auto;
}

.form-group.with-description .form-control {
    width: 300px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group.with-description .form-control:focus {
    outline: none;
    border-color: #3092d5;
    box-shadow: 0 0 0 3px rgba(48, 146, 213, 0.1);
}

.form-group.with-description .form-description {
    flex: 1;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    align-self: center;
}

.form-group.with-description .form-description i {
    color: #3092d5;
    margin-right: 5px;
}



/* 上传区域 */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #f8f9fa;
    position: relative;
}

.upload-area:hover {
    border-color: #3092d5;
    background-color: #e8f4fb;
}

.upload-area i {
    font-size: 40px;
    color: #999;
    margin-bottom: 10px;
}

.upload-area p {
    color: #666;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 底部页脚 - 与PC端其他页面保持一致 */
.yui-footer {

    background-color: #f7f7f7;
}

.yui-footer .yui-1200 {
    border-top: 2px solid #EE3131;
}

.yui-footer .footer-content {
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.yui-footer .footer-nav {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.yui-footer p {
    text-align: center; 
    line-height: 20px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #666;
    text-shadow: none;
}

.yui-footer .footer-nav a {
    margin: 0 15px;
    color: #555;
    font-size: 13px;
    position: relative;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 3px;
}

.yui-footer .footer-nav a:hover {
    color: #EE3131;
    background-color: transparent;
    text-decoration: none;
}

.yui-footer .footer-nav a:not(:last-child):after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #ddd;
}

.yui-footer .footer-disclaimer {
    line-height: 18px;
    color: #999;
    margin-bottom: 8px;
}

.yui-footer .footer-copyright {
    margin-top: 8px;
    color: #999;
    line-height: 18px;
}

.yui-footer p:last-child {
    margin-bottom: 0;
}

.yui-footer p a { 
    margin: 0 8px;
    color: #666;
    text-decoration: none;
    display: inline-block;
    position: relative;
    text-shadow: none;
    font-size: 12px;
}

.yui-footer p a:hover {
    color: #EE3131;
}

.yui-footer p a.db_link {
    font-weight: bold;
    color: #555;
}

/* 特殊链接样式 */
.yui-footer p a[rel="nofollow"] {
    margin: 0 5px;
    color: #888;
}

.yui-footer p a[rel="nofollow"]:hover {
    color: #EE3131;
}

.yui-footer p a[rel="nofollow"]:after {
    content: none;
}

/* 组件库样式 - 紧凑型设计 */
.component-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.component-section:last-child {
    border-bottom: none;
}

.component-section h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.component-section h4 i {
    color: #3092d5;
}

/* ========================================
   登录页面样式
   ======================================== */
.login-page-wrapper {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    min-height: 600px;
}

.login-container {
    display: flex;
    gap: 30px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-banner {
    flex: 2;
    background: url('/member/static/images/login-bg.png') center top no-repeat;
    background-size: 100% auto;
    background-attachment: local;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.login-banner i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.login-banner h2 {
    font-size: 32px;
    margin: 0 0 15px;
    font-weight: 600;
}

.login-banner p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.login-form-wrapper {
    flex: 0 0 340px;
    padding: 20px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.login-form-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background-color: #f0f0f0;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 登录表单样式 - 与注册表单保持一致 */
.login-form .form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 432px; /* 120px标签 + 12px间距 + 300px输入框 */
}

.login-form .form-group label {
    width: 120px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    padding-right: 12px;
    line-height: 34px;
    flex-shrink: 0;
}

.login-form .form-group .form-input-wrapper {
    width: 300px;
}

.login-form .form-control {
    width: 300px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #5ba7de;
    box-shadow: 0 0 0 3px rgba(91, 167, 222, 0.1);
}

.login-form .captcha-group {
    display: flex;
    gap: 10px;
    width: 300px;
}

.login-form .captcha-group .form-control {
    flex: 1;
    min-width: 0;
}

.login-form-header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
    max-width: 432px;
    justify-content: center;
}

.login-form-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.login-form-header p {
    color: #999;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    flex: 1;
    padding-top: 8px;
}

.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    width: 100%;
    max-width: 432px;
}

.login-tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.login-tab.active {
    color: #5ba7de;
    border-bottom-color: #5ba7de;
    font-weight: 600;
}

.login-tab:hover {
    color: #5ba7de;
}

.login-form-content {
    display: none;
}

.login-form-content.active {
    display: block;
}

.sms-input-group {
    position: relative;
    width: 300px;
}

.btn-send-sms {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    padding: 0 16px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-send-sms:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.btn-send-sms:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}


.captcha-group .form-control {
    flex: 1;
    min-width: 0;
}

.captcha-img {
    height: 46px;
    width: auto;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.3s;
    flex-shrink: 0;
}

.captcha-img:hover {
    border-color: #5ba7de;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-left: 105px; /* 120px label宽度 + 12px padding */
    width: 300px;
    gap: 15px;
    box-sizing: border-box;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.remember-me input {
    margin: 0;
}

.forgot-link {
    color: #5ba7de;
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login-wrapper {
    margin-bottom: 20px;
    width: 100%;
    margin-right: 10px;
    max-width: 412px; /* 120px标签 + 12px间距 + 300px输入框 */
    padding-left: 50px; /* 120px label宽度 + 12px padding */
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #3092d5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;

    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #2578b8;
    box-shadow: 0 4px 12px rgba(48, 146, 213, 0.3);
}

.login-divider {
    text-align: center;
    margin: 25px auto;
    position: relative;
    width: 100%;
    max-width: 432px;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #eee;
}

.login-divider span {
    background-color: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.third-party-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
    max-width: 432px;
    margin-left: auto;
    margin-right: auto;
}

.third-party-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.third-party-btn.wechat {
    background-color: #09bb07;
}

.third-party-btn.qq {
    background-color: #12b7f5;
}

.third-party-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
    width: 100%;
    max-width: 432px;
    margin-left: auto;
    margin-right: auto;
}

.login-footer a {
    color: #5ba7de;
    text-decoration: none;
}

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

/* ========================================
   注册页面样式
   ======================================== */
.register-page-wrapper {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    min-height: 600px;
}

.register-container {
    display: flex;
    gap: 0;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.register-form-wrapper {
    flex: 1;
    min-width: 0;
    padding: 30px 20px;
}

.register-form {
    width: 100%;
    max-width: 415px; /* 100px标签 + 15px间距 + 300px输入框 */
}

.register-form-header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.register-form-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.register-form-header p {
    color: #999;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    flex: 1;
    padding-top: 8px;
}

.register-form .form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.register-form .form-group label {
    flex: 0 0 100px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    padding-top: 12px;
    line-height: 1.5;
}

.register-form .form-group .form-input-wrapper {
    width: 300px;
}

.register-form .form-control {
    width: 300px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.register-form .form-control:focus {
    outline: none;
    border-color: #5ba7de;
    box-shadow: 0 0 0 3px rgba(91, 167, 222, 0.1);
}

.register-form .input-group {
    position: relative;
    width: 300px;
}

.register-form .input-group-append {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.register-form .btn-sms {
    height: 32px;
    padding: 0 16px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.register-form .btn-sms:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.register-form .btn-sms:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}

.register-form .captcha-group {
    display: flex;
    gap: 10px;
    width: 300px;
}

.register-form .captcha-group .form-control {
    flex: 1;
    min-width: 0;
}

.btn-register {
    width: 100%;
    max-width: 415px;
    padding: 14px;
    background: #3092d5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #2578b8;
    box-shadow: 0 4px 12px rgba(48, 146, 213, 0.3);
}

.register-sidebar {
    flex: 0 0 280px;
    background: white;
    padding: 30px 20px;
    color: #666;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 50px;
    position: relative;
}

.register-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background-color: #f0f0f0;
}

.register-sidebar-content {
    position: relative;
    text-align: center;
    width: 100%;
}

.register-sidebar h3 {
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: 600;
    color: #333;
}

.register-sidebar p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #999;
}

.register-sidebar-login-link {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.register-sidebar-login-link a {
    color: #5ba7de;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
}

.register-sidebar-login-link a:hover {
    text-decoration: underline;
}

.register-sidebar-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.register-sidebar-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #eee;
}

.register-sidebar-divider span {
    background-color: white;
    padding: 0 10px;
    color: #999;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.register-sidebar-third-party {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.register-sidebar-third-party-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.register-sidebar-third-party-btn.wechat {
    background-color: #09bb07;
}

.register-sidebar-third-party-btn.qq {
    background-color: #12b7f5;
}

.register-sidebar-third-party-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.register-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
    width: 100%;
    max-width: 415px;
}

.register-footer a {
    color: #5ba7de;
    text-decoration: none;
}

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

.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s;
    border-radius: 2px;
}

.form-tips {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-tips i {
    color: #5ba7de;
}

/* ========================================
   会员中心首页样式
   ======================================== */
/* 个人资料与签到并排容器 */
.profile-sign-container {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

/* 左侧区域：个人资料 + 信息统计 */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user-info-panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-info-panel .panel-header {
    background: linear-gradient(135deg, #3092d5 0%, #5ba7de 100%);
    color: white;
    padding: 15px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
}

.user-info-panel .panel-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info-panel .panel-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.user-details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 签到卡片样式 - 柔和配色 */
.sign-in-panel {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* 添加光晕效果 */
.sign-in-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.sign-panel-header {
    font-size: 16px;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.sign-panel-header i {
    color: #f57c00;
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.sign-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.sign-status {
    text-align: center;
    padding: 20px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sign-status.signed {
    background: linear-gradient(135deg, #f1f8f4 0%, #e8f5e9 100%);
    border: 2px solid #c8e6c9;
}

.sign-status.unsigned {
    background: linear-gradient(135deg, #fef9f3 0%, #fff3e0 100%);
    border: 2px solid #ffe0b2;
}

.sign-status i {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.sign-status.signed i {
    color: #4caf50;
    animation: pulse 2s ease-in-out infinite;
}

.sign-status.unsigned i {
    color: #ff9800;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.sign-status-text {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.sign-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sign-info-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sign-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sign-info-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.sign-info-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #f57c00;
    text-shadow: none;
}

.sign-in-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.sign-in-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sign-in-btn:hover::before {
    width: 300px;
    height: 300px;
}

.sign-in-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.sign-in-btn:active {
    transform: translateY(0);
}

.sign-in-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.sign-reward-info {
    text-align: center;
    font-size: 11px;
    color: #795548;
    padding: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sign-reward-info i {
    color: #ff9800;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 1px rgba(255, 152, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 3px rgba(255, 152, 0, 0.5)); }
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label {
    color: #666;
    font-size: 14px;
}

.detail-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.balance-value {
    color: #3092d5;
    font-size: 18px;
    font-weight: bold;
}

.status-success {
    color: #28a745;
}

.status-pending {
    color: #ff9800;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 18px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3092d5 0%, #5ba7de 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(48, 146, 213, 0.15);
    border-color: #d0e7f5;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #3092d5 0%, #5ba7de 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.stat-text {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h3 i {
    color: #3092d5;
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #3092d5;
    background: #f5f8fc;
    color: #3092d5;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background: #3092d5;
    color: white;
    color: white;
}

/* ========================================
   消息列表样式
   ======================================== */
.message-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.tabs-group {
    display: flex;
    gap: 0;
}

.send-message-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #1b68ff;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.send-message-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.tab-item {
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-item:hover {
    color: #1b68ff;
    background: #f8f9fa;
}

.tab-item.active {
    color: #1b68ff;
    border-bottom-color: #1b68ff;
    font-weight: 500;
}

.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    background: #ff3333;
    color: white;
    padding: 0 4px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    flex-shrink: 0;
}

.unread-row {
    /* 未读消息行不使用背景色 */
}

.unread-row:hover {
    background-color: var(--bg-gray);
}

.message-detail-container {
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.message-detail-header {
    padding: 20px;
    margin: 0;
    background: transparent;
    border-bottom: 1px solid #e8e8e8;
}

.message-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.badge-unread {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #ff4444;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.badge-unread i {
    font-size: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

.message-subject {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    flex: 1;
}

.message-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #999;
    font-size: 14px;
}

.meta-read {
    color: #52c41a;
}

.meta-read i {
    color: #52c41a;
}

.message-detail-body {
    padding: 20px 0;
    margin: 0;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 150px;
    background: transparent;
}

.message-replies-section {
    margin-top: 20px;
    padding: 20px 0;
    background: transparent;
    border-top: 1px solid #e8e8e8;
}

.replies-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.replies-section-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.replies-section-header h4 i {
    color: #1b68ff;
    font-size: 16px;
}

.replies-count {
    font-size: 13px;
    color: #999;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.replies-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reply-item {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    border-top: 1px solid #e8e8e8;
    transition: none;
}

.reply-item:first-child {
    border-top: none;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.reply-sender {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reply-sender i {
    color: #1b68ff;
    font-size: 16px;
}

.reply-time {
    font-size: 12px;
    color: #999;
}

.reply-body {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 操作按钮栏 */
.message-actions-bar {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.message-actions-bar .btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.message-actions-bar .btn i {
    font-size: 14px;
}

.message-actions-bar .btn-secondary {
    background: #f5f5f5;
    color: #666;
    border-color: #e0e0e0;
}

.message-actions-bar .btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    color: #333;
}

.message-actions-bar .btn-primary {
    background: #1b68ff;
    color: #fff;
    border-color: #1b68ff;
}

.message-actions-bar .btn-primary:hover {
    background: #1557d0;
    border-color: #1557d0;
    box-shadow: 0 2px 8px rgba(27,104,255,0.3);
}

.message-actions-bar .btn-danger {
    background: #fff;
    color: #dc3545;
    border-color: #dc3545;
}

.message-actions-bar .btn-danger:hover {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220,53,69,0.3);
}

/* ========================================
   消息回复页面样式
   ======================================== */
.reply-container {
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.original-message-summary {
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
    border-bottom: 1px solid #e8e8e8;
}

.reply-form {
    margin-top: 0;
}

.reply-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
}

.reply-form .form-control:focus {
    outline: none;
    border-color: #1b68ff;
    box-shadow: 0 0 0 3px rgba(27,104,255,0.1);
}

.original-message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.original-message-header .label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.original-message-header .subject {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.original-message-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.original-message-content {
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
}

.reply-form {
    margin-top: 20px;
}

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

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn-action:first-child {
    background: #1b68ff;
    color: white;
    border-color: #1b68ff;
}

.form-actions .btn-action:first-child:hover {
    background: #1557d0;
    border-color: #1557d0;
    color: white;
}

/* ========================================
   消息发送样式
   ======================================== */
.send-container {
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    width: 400px;
}

/* ========================================
   通用样式
   ======================================== */
/* ===========================================
   Alert 提示样式（通用）
   =========================================== */
.alert {
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.alert i {
    font-size: var(--font-lg);
}

.alert.compact {
    padding: 10px 15px;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-base);
    gap: 8px;
}

.alert-error,
.alert-danger {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: var(--success-bg);
    color: #155724;
    border: 1px solid var(--success-border);
}

.alert-info {
    background-color: var(--info-bg);
    color: #0c5460;
    border: 1px solid var(--info-border);
}

.alert-warning {
    background-color: var(--warning-bg);
    color: #856404;
    border: 1px solid var(--warning-border);
}

.text-danger {
    color: #dc3545;
}

.content-body {
    padding: 0;
}

/* ===========================================
   卡片样式（通用）
   =========================================== */
.card,
.section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.section {
    margin-bottom: var(--spacing-md);
    border: 1px solid #e9ecef;
}

.card.compact {
    border: 1px solid #dee2e6;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card.compact .card-header {
    background-color: var(--bg-gray);
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.card.compact .card-header h5 {
    margin: 0;
    font-size: var(--font-md);
    color: var(--text-primary);
}

.card.compact .card-body {
    padding: var(--spacing-md);
}

.card.compact .card-body p {
    margin: 0;
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.5;
}

.card.compact.with-image .card-image {
    height: 100px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--font-md);
}

.card.compact.with-action .card-footer {
    padding: 12px 15px;
    background-color: var(--bg-gray);
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: var(--spacing-sm);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.table-container {
    overflow-x: auto;
    margin-bottom: 0;
}

/* 侧边栏菜单消息未读红点样式 */
.menu-item .badge {
    background: #ff3333;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 5px;
}

/* 响应式支持 */
@media (max-width: 768px) {
    .login-container,
    .register-container {
        flex-direction: column;
    }
    
    .login-banner {
        padding: 40px 20px;
    }
    
    .login-banner i {
        font-size: 60px;
    }
    
    .login-banner h2 {
        font-size: 24px;
    }
    
    .login-form-wrapper,
    .register-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-group label {
        flex: none;
        text-align: left;
        margin-bottom: 8px;
    }
    
    .register-sidebar {
        flex: none;
        padding: 30px 20px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.component-demo {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
}

.demo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.demo-row:last-child {
    margin-bottom: 0;
}



/* 紧凑型表单 */
.form-group.compact {
    margin-bottom: 15px;
}

.form-group.compact label {
    font-size: 13px;
    margin-bottom: 4px;
}

.form-group.compact .form-control {
    padding: 8px 12px;
    font-size: 13px;
}

.checkbox-group, .radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.checkbox-label, .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input, .radio-label input {
    cursor: pointer;
}



/* 开关组件 */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #3092d5;
}

input:checked + .slider:before {
    transform: translateX(26px);
}





.btn-action.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}





/* 进度条 */
.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.progress-bar {
    height: 100%;
    background-color: #3092d5;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 紧凑型面包屑 */
.breadcrumb.compact {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.breadcrumb.compact a {
    color: #3092d5;
}

.breadcrumb.compact span {
    color: #999;
}



/* 组件库标题样式 */
.section-subtitle {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
}

/* 统计卡片样式优化 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-text {
    font-size: 13px;
    color: #666;
    line-height: 1;
}

/* 空状态提示 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 80px 20px;
    text-align: center;
    color: #6c757d;
    background: #fff;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
}

.empty-state i {
    font-size: 52px;
    color: #d0d7e2;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.empty-state .btn {
    margin-top: 6px;
}



/* ========================================
   ������ʽ - �������
   ======================================== */

/* Sidebar�˳���¼�˵���ʽ */
.menu-item.menu-item-logout {
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
    padding-top: 10px;
}

.menu-item.menu-item-logout a {
    color: #dc3545;
}

/* Profile和Password页面按钮样式 */
.btn-submit-profile {
    width: 200px;
    margin-left: 120px;
    background: #1890ff;
    color: white;
    transition: all 0.3s;
}

.btn-submit-profile:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* Profile�Ա�ѡ����ʽ */
.gender-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gender-option {
    width: auto;
    margin: 0;
}

.gender-option input {
    margin-right: 5px;
}

/* My Posts tab-navigation ��ʽ */
.tab-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ͳһ������ʽ - unified-table */
.data-table.unified-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.data-table.unified-table thead {
    background-color: #f5f5f5;
}

.data-table.unified-table th {
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.data-table.unified-table td {
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.data-table.unified-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ״̬��ǩ��չ */
.status-badge.status-running {
    color: #28a745;
    background: #e8f5e9;
}

.status-badge.status-deleted {
    color: #999;
    background: #f5f5f5;
}

.status-badge.status-unknown {
    color: #666;
    background: #f0f0f0;
}

/* �������� */
.action-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.action-link {
    color: #1b68ff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.action-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.action-link.action-delete {
    color: #dc3545;
}

.action-link.action-delete:hover {
    color: #c82333;
}

.action-separator {
    color: #ddd;
    margin: 0 2px;
}

/* ����ײ� */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.batch-operations {
    display: flex;
    align-items: center;
    gap: 10px;
}

.batch-operations input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

.batch-select {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    line-height: 30px;
    box-sizing: border-box;
}

.btn-batch-action {
    height: 32px;
    padding: 0 16px;
    background: #1b68ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 32px;
    box-sizing: border-box;
}

.btn-batch-action:hover:not(:disabled) {
    background: #0056b3;
}

.btn-batch-action:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 一键刷新按钮样式 */
.btn-batch-refresh {
    height: 32px;
    padding: 0 16px;
    background: #52c41a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
    line-height: 32px;
    box-sizing: border-box;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.btn-batch-refresh:hover {
    background: #73d13d;
}

.btn-batch-refresh i {
    margin-right: 4px;
}

/* 发送消息按钮样式 */
.btn-send-message {
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 32px;
    border-radius: 4px;
}

/* 分页样式 */
.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-nav,
.page-number {
    display: inline-block;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: all 0.2s;
    background: #fff;
    cursor: pointer;
    min-width: 36px;
    text-align: center;
    line-height: 30px;
    box-sizing: border-box;
}

.page-nav:hover,
.page-number:hover {
    background: #f5f5f5;
    border-color: #1b68ff;
    color: #1b68ff;
    text-decoration: none;
}

.page-number.active {
    background: #1b68ff;
    color: white;
    border-color: #1b68ff;
    cursor: default;
}

.page-ellipsis {
    padding: 0 5px;
    color: #999;
    font-size: 13px;
}

.page-size-select {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    line-height: 30px;
    box-sizing: border-box;
}

.page-total {
    color: #666;
    font-size: 13px;
    margin-left: 8px;
    line-height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.page-goto {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
    margin-left: 8px;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
}

.page-input {
    width: 50px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    line-height: 30px;
    box-sizing: border-box;
}

.title-text {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Alert��ʽ���� */
.alert {
    margin-bottom: 15px;
}

/* Form control wrapper ��ʽ */
.form-group.with-description .form-control-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group.with-description .form-control-wrapper label {
    display: inline-block;
    width: 100px;
    margin-bottom: 0;
    font-weight: normal;
    color: #333;
    text-align: right;
    white-space: nowrap;
}

.form-group.with-description .form-control-wrapper .form-description {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    margin-left: 0;
}

.form-group.with-description .form-control-wrapper .form-description i {
    color: #3092d5;
    margin-right: 5px;
}

/* ============================================
   Messages List 页面样式
   ============================================ */
.message-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}
.tabs-group {
    display: flex;
    gap: 0;
}
.send-message-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #1b68ff;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}
.send-message-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}
.tab-item {
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tab-item:hover {
    color: #1b68ff;
    background: #f8f9fa;
}
.tab-item.active {
    color: #1b68ff;
    border-bottom-color: #1b68ff;
    font-weight: 500;
}
.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    background: #ff3333;
    color: white;
    padding: 0 4px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
.unread-dot {
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    flex-shrink: 0;
}
.unread-row {
    /* 未读消息行不使用背景色 */
}

/* ============================================
   Messages View 页面样式
   ============================================ */
.message-view-content {
    margin-bottom: 30px;
}
.message-view-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.message-view-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.message-view-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}
.message-view-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}
.message-view-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.message-view-body {
    padding: 0;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 15px;
    min-height: 100px;
}
.message-replies {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}
.replies-header {
    margin-bottom: 15px;
}
.replies-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.replies-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reply-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.reply-item:last-child {
    border-bottom: none;
}
.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}
.reply-author {
    font-weight: 500;
    color: #333;
}
.reply-time {
    color: #999;
}
.reply-content {
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.message-view-actions-bottom {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

/* ============================================
   Messages Send/Reply 页面样式
   ============================================ */
.original-message {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1b68ff;
}
.original-message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.original-message-header .label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}
.original-message-header .subject {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}
.original-message-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}
.original-message-content {
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
}
.reply-form {
    margin-top: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.form-actions .btn-action:first-child {
    background: #1b68ff;
    color: white;
    border-color: #1b68ff;
}
.form-actions .btn-action:first-child:hover {
    background: #1557d0;
    border-color: #1557d0;
    color: white;
}

/* ============================================
   Index 页面样式 - 简约风格
   ============================================ */
.user-info-panel {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
}
.panel-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.user-avatar-large {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #f5f5f5;
}
.user-avatar-large .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-avatar-large i {
    font-size: 80px;
    color: #ccc;
    display: block;
}
.user-details-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}
.detail-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
}
.detail-label {
    color: #666;
    min-width: 80px;
    margin-right: 8px;
}
.detail-value {
    color: #333;
    font-weight: 400;
}
.detail-value.balance-value {
    color: #3092d5;
    font-size: 15px;
    font-weight: 500;
}
.detail-value.status-success {
    color: #52c41a;
    font-size: 13px;
}
.detail-value.status-pending {
    color: #999;
    font-size: 13px;
}
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.stat-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}
.stat-content {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.stat-text {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-header h3 i {
    color: #3092d5;
}
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f5f8fc;
    color: #3092d5;
    border: 1px solid #3092d5;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-outline-primary:hover {
    background: #3092d5;
    color: white;
}

/* ============================================
   Header 页面样式
   ============================================ */
/* 确认对话框样式 - 无动画立即显示 */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.notification-modal-show {
    opacity: 1;
}

.notification-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.notification-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    max-width: 500px;
    transform: scale(1);
}

.notification-modal-show .notification-modal-content {
    transform: scale(1);
}

.notification-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.notification-modal-header i {
    color: #ffc107;
    font-size: 20px;
}

.notification-modal-body {
    padding: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.notification-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.notification-modal-footer .btn {
    min-width: 80px;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.notification-modal-footer .btn-outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.notification-modal-footer .btn-outline:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.notification-modal-footer .btn-primary {
    background: #3092d5;
    color: #fff;
}

.notification-modal-footer .btn-primary:hover {
    background: #2578b8;
}

/* 成功/错误提示样式 - 居中显示无动画 */
.notification-center {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.notification-center-show {
    opacity: 1;
}

.notification-center-hide {
    opacity: 0;
}

.notification-center-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.notification-center-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 400px;
    padding: 30px;
    text-align: center;
}

.notification-center-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.notification-center-success .notification-center-icon {
    color: #28a745;
}

.notification-center-error .notification-center-icon {
    color: #dc3545;
}

.notification-center-warning .notification-center-icon {
    color: #ffc107;
}

.notification-center-info .notification-center-icon {
    color: #17a2b8;
}

.notification-center-message {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.notification-center-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.notification-center-close:hover {
    color: #333;
}

/* 会员中心布局样式 */
.container {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
        border-top-left-radius: 8px
}

.main-content {
    display: flex;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* 左侧菜单 */
.sidebar {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex-shrink: 0;
    background-color: #4a5c6c;
    color: #fff;
    display: flex;
    flex-direction: column;
    border-right: none;
    box-sizing: border-box;
    border-top-left-radius: 8px;
    overflow: hidden;
}

/* 左侧导航顶部背景图 */
.sidebar-top {
    height: 42px;
    background: url('/member/static/images/lefttop.png') no-repeat center center;
    background-size: cover;
    flex-shrink: 0;
}

.menu {
    padding: 15px 0;
    flex: 1;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

/* 功能分组标题 */
.menu-group-title {
    padding: 10px 20px 6px 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    opacity: 0.7;
    border-top: 1px solid rgba(0, 0, 0, 0.2);  /* 只保留顶部分割线 */
    position: relative;
}

.menu-group-title:first-child {
    border-top: none;
    margin-top: 0;
}

.menu-item {
    border-bottom: none;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
}

.menu-item a span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.menu-item a .badge {
    flex-shrink: 0;
    margin-left: auto;
    background-color: #ff6b6b;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.menu-item.active > a {
    background-color: rgba(48, 146, 213, 0.25);
    color: #fff;
    border-left: 3px solid #3092d5;
    padding-left: 17px;
}

.menu-item a i:first-child {
    margin-right: 0;
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* 退出登录特殊样式 */
.menu-item.menu-item-logout {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item.menu-item-logout a {
    color: #ff9999;
}

.menu-item.menu-item-logout a:hover {
    color: #ff6666;
    background-color: rgba(255, 102, 102, 0.1);
}

/* 右侧内容区域 */
.content-area {
    flex: 1;
    width: 0; /* 确保 flex 布局正确计算宽度 */
    min-width: 0;
    padding: 0; /* 移除padding，由子元素控制 */
    background-color: #ffffff;
    box-sizing: border-box;
    overflow-x: hidden; /* 防止内容溢出 */
    display: flex;
    flex-direction: column;
}

.content-header {
    display: none; /* 隐藏，页面标题已在粉红色导航栏下方 */
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
    flex-shrink: 0;
}

.content-header h2 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-header h2 i {
    color: #3092d5;
    font-size: 16px;
}

.breadcrumb {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #3092d5;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
    margin: 0 6px;
}

.content-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

/* 确保头部宽度与容器一致 */
.yui-top.yui-1200 {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.simple-header {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto 10px auto;
}

/* Messages List 补充样式 */
.title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sender-name {
    padding: 10px 12px;
    text-align: center;
    color: #666;
    white-space: nowrap;
}

.msg-time {
    padding: 10px 12px;
    text-align: center;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-message i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.3;
}

.status-badge i {
    font-size: 8px;
    margin-right: 4px;
}

.status-badge.status-running i,
.status-badge.status-approved i {
    font-size: inherit;
}

/* ============================================
   登录注册简洁布局样式
   ============================================ */
/* 简洁布局（无侧边栏） */
.main-content.simple-layout {
    display: block;
    width: 100%;
}

.content-area-simple {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

/* 输入框右侧验证提示样式 */
.inputTip {
    display: none !important;  /* 默认完全隐藏 */
    visibility: hidden;
    opacity: 0;
    margin-left: 10px;
    color: #666;
    font-size: 13px;
    line-height: 34px;
    width: 0;
    height: 0;
    overflow: hidden;
}

.inputTip i {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

/* 焦点状态显示蓝色提示 */
.inputTip.focus {
    display: inline-block !important;
    visibility: visible;
    opacity: 1;
    width: auto;
    height: auto;
    color: #409eff;
}

.inputTip.focus i {
    color: #409eff;
}

/* 错误状态 */
.inputTip.error {
    display: inline-block !important;
    visibility: visible;
    opacity: 1;
    width: auto;
    height: auto;
    color: #f56c6c;
}

.inputTip.error i {
    color: #f56c6c;
}

/* 成功状态 - 只显示图标 */
.inputTip.success {
    display: inline-block !important;
    visibility: visible;
    opacity: 1;
    width: auto;
    height: auto;
    color: #67c23a;
}

.inputTip.success i {
    color: #67c23a;
    margin-right: 0;
}

/* 成功状态隐藏文字 */
.inputTip.success .tip-text {
    display: none;
}

/* 表单输入框错误和成功状态 */


/* 注册页面表单特殊样式 */
.register-form .form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.register-form .form-group label {
    width: 120px;
    text-align: right;
    padding-right: 12px;
    line-height: 34px;
    flex-shrink: 0;
}

/* 登录页面表单样式 - 与注册页面保持一致 */
.login-form .form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.login-form .form-group label {
    width: 100px;
    text-align: right;
    padding-right: 12px;
    line-height: 34px;
    flex-shrink: 0;
}

.form-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.form-input-wrapper .form-control {
    flex: 0 0 auto;
    width: 300px;  /* 固定宽度 */
}

.form-input-wrapper .input-group {
    flex: 0 0 auto;
    width: 300px;  /* 固定宽度 */
}

.form-input-wrapper .captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-input-wrapper .inputTip {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* layui风格的中间提示样式 */
.layui-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 6px;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 400px;
    min-width: 200px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.layui-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.layui-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.layui-message-content i {
    font-size: 16px;
    flex-shrink: 0;
}

.layui-message-content span {
    word-break: break-word;
}

/* 短信验证码输入框特殊样式 */
.input-group input[type="text"],
.sms-input-group input[type="text"] {
    padding-right: 60px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .layui-message {
        max-width: 90%;
        min-width: 280px;
        padding: 14px 20px;
        font-size: 13px;
    }
}

/* ============================================
   账号绑定页面样式
   ============================================ */
.bind-list {
    padding: 0;
}

.bind-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.bind-item:hover {
    background: #fafafa;
}

.bind-item:last-child {
    border-bottom: none;
}

.bind-icon {
    font-size: 28px;
    color: #ff6600;
    margin-right: 16px;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.bind-icon.fa-weixin {
    color: #07c160;
}

.bind-icon.fa-qq {
    color: #12b7f5;
}

.bind-info {
    flex: 1;
    min-width: 0;
}

.bind-info h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.bind-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bind-value {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.bind-value.text-muted {
    color: #999;
}

.bind-time {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

.bind-status-action {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    flex-shrink: 0;
}

/* 绑定页面徽章样式 - 固定宽度保证对齐 */
.bind-status-action .badge {
    display: inline-block;
    min-width: 70px;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
}

.bind-status-action .badge-success {
    background: #e8f8ef;
    color: #0f9d58;
}

.bind-status-action .badge-danger {
    background: #fdecee;
    color: #c0392b;
}

.bind-status-action .badge-secondary {
    background: #f5f5f5;
    color: #999;
}

/* 绑定页面按钮样式 */
.bind-status-action .btn-sm {
    display: inline-block;
    min-width: 70px;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.5;
    vertical-align: middle;
    box-sizing: border-box;
}

.bind-status-action .btn-outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.bind-status-action .btn-outline:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
}

.bind-status-action .btn-outline:disabled {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #ccc;
    opacity: 1;
    cursor: not-allowed;
}

.bind-status-action .btn-primary {
    background: #ff6600;
    border: 1px solid #ff6600;
    color: #fff;
}

.bind-status-action .btn-primary:hover {
    background: #e55a00;
    border-color: #e55a00;
}

/* 解绑按钮特殊样式 */
.unbind-form {
    display: inline;
}

.btn-unbind {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-unbind:hover:not(:disabled) {
    background: #fff5f5 !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}



