/* ============================================================
   瀚锦心系统 · 优雅轻奢美业主题 (Elegant Luxury Beauty Theme)
   设计理念：高端美容沙龙 · 定制级视觉体验
   ============================================================ */

:root {
    /* M85: 高级美业香槟金 (与 M69 mobile tokens/M70 rankings 保持同源) */
    --primary-color: #C9A04A;
    --primary-dark: #8A6A2E;
    --primary-light: #F4D78A;
    --primary-glow: rgba(201, 160, 74, 0.20);
    --accent-pink: #FCE4E8;
    --accent-rose: #E37B95;
    --accent-gold: #E0B74D;
    --accent-champagne: #FEF6E4;
    --accent-pearl: #FAF3EF;
    --bg-main: #FAF3EF;
    --bg-sidebar: #FEF6E4;
    --bg-card: #FFFFFF;
    --text-primary: #5A3F18;
    --text-secondary: #8A6A2E;
    --text-muted: #A58346;
    --border-color: #F0E5CF;
    --success-color: #52B788;
    --danger-color: #DC3545;
    --warning-color: #E88A2A;
    --info-color: #4A90E2;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 65px;

    /* M85: 侧边栏香槟金化 (原暗紫 #FEF6E4 → 香槟金奶油底) */
    --sidebar-bg: #FEF6E4;
    --sidebar-text: #5A3F18;
    --sidebar-hover: rgba(201, 160, 74, 0.12);
    --sidebar-header-bg: linear-gradient(135deg, #F4D78A 0%, #C9A04A 50%, #8A6A2E 100%);
    --bg-color: #FFF9F6;
    --shadow-color: rgba(201, 160, 74, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-blur: 18px;
}

/* ========== 全局基础样式 ========== */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 侧边栏样式 - 固定定位 ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    z-index: 1000;
    background: linear-gradient(180deg, #FEF6E4 0%, #FDF1D8 50%, #F5E6C8 100%);
    box-shadow: inset -1px 0 0 rgba(224, 183, 77, 0.25);
    border-right: 1px solid rgba(201, 160, 74, 0.15);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar .sidebar-header {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: #fff;
    padding: 22px 18px;
    position: relative;
    overflow: hidden;
}

.sidebar .sidebar-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar .sidebar-header h4 {
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 15px;
}

.sidebar .sidebar-header h4 i {
    margin-right: 10px;
    color: #FFF8F5;
    font-size: 16px;
}

.sidebar .toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.sidebar .toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* 菜单样式 */
.sidebar .menu-group-title {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 18px 10px;
    letter-spacing: 1.2px;
}

.sidebar .menu-group-toggle {
    color: #E8DCC8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    margin: 2px 8px;
    border-radius: 0 10px 10px 0;
}

.sidebar .menu-group-toggle:hover {
    background: rgba(201, 160, 74, 0.12);
    color: #FFF8F5;
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.sidebar .menu-group-toggle.active {
    background: linear-gradient(90deg, rgba(201, 160, 74, 0.2) 0%, rgba(201, 160, 74, 0.05) 100%);
    border-left-color: var(--primary-color);
}

.sidebar .menu-group-toggle i {
    width: 22px;
    font-size: 15px;
    margin-right: 12px;
    flex-shrink: 0;
    text-align: center;
    color: var(--primary-light);
    transition: all 0.3s;
}

.sidebar .menu-group-toggle:hover i,
.sidebar .menu-group-toggle.active i {
    color: var(--primary-color);
}

/* 子菜单 */
.sidebar .sub-menu {
    background: rgba(0, 0, 0, 0.15);
    margin: 0 8px;
    border-radius: 0 0 10px 10px;
}

.sidebar .sub-menu a {
    color: #C4B5A5;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 18px 10px 50px;
    transition: all 0.3s;
    font-size: 12.5px;
    font-weight: 400;
}

.sidebar .sub-menu a:hover {
    background: rgba(201, 160, 74, 0.08);
    color: #FFF8F5;
}

.sidebar .sub-menu .active {
    background: linear-gradient(90deg, rgba(201, 160, 74, 0.25) 0%, transparent 100%);
    color: var(--primary-color);
}

.sidebar .sub-menu a i {
    width: 18px;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
    text-align: center;
    color: #8B7355;
}

.sidebar .sub-menu a:hover i,
.sidebar .sub-menu .active i {
    color: var(--primary-color);
}

/* 分割线 */
.sidebar hr {
    margin: 16px 12px;
    border-color: rgba(201, 160, 74, 0.08);
}

/* 收缩状态 */
.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .sidebar-header h4 span {
    display: none;
}

.sidebar.collapsed .menu-group-title {
    display: none;
}

.sidebar.collapsed .menu-group-toggle span,
.sidebar.collapsed .menu-group-toggle .toggle-icon {
    display: none;
}

.sidebar.collapsed .menu-group-toggle {
    padding: 12px 0;
    justify-content: center;
    border-left: none;
    margin: 2px 4px;
}

.sidebar.collapsed .menu-group-toggle i {
    margin-right: 0;
    font-size: 18px;
}

/* 收缩状态提示角标 */
.sidebar.collapsed .sidebar-header::after {
    content: '点击打开菜单';
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    transform: translateY(-50%);
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 0 10px 10px 0;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(201, 160, 74, 0.3);
    z-index: 1002;
    animation: elegant-pulse 2.5s infinite;
}

@keyframes elegant-pulse {
    0%, 100% { transform: translateY(-50%); opacity: 0.9; }
    50% { transform: translateY(-50%) translateX(5px); opacity: 1; }
}

/* ========== 内容区域 ========== */
.content-wrapper {
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    margin-left: var(--sidebar-width);
    background: linear-gradient(135deg, #FFF9F6 0%, #FFFBF9 50%, #FFF8F5 100%);
    position: relative;
}

.content-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 160, 74, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.content-wrapper.collapsed-sidebar {
    margin-left: var(--sidebar-collapsed-width);
}

.content {
    padding: 24px 28px;
    position: relative;
    /* 移除 z-index:1：避免创建层叠上下文，防止弹窗被 body 上的 backdrop(2400) 覆盖 */
}

/* ========== 卡片样式 - 玻璃质感 ========== */
.card {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(139, 115, 85, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(240, 232, 228, 0.8);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C4A574 0%, #D4AF37 30%, #F5C6CB 60%, #E8A0B4 100%);
    border-radius: 16px 16px 0 0;
    opacity: 0.8;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(139, 115, 85, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.card-header {
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-bottom: 1px solid rgba(240, 232, 228, 0.6);
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    backdrop-filter: blur(10px);
}

.card-header::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #C4A574 0%, #D4AF37 100%);
    border-radius: 2px;
}

.card-header h5,
.card-header h6 {
    margin-bottom: 0;
    color: var(--text-primary);
    padding-left: 8px;
}

.card-header h5 i,
.card-header h6 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.card-body {
    padding: 22px;
}

/* ========== 按钮样式 - 精致渐变 ========== */
.btn {
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-primary {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 16px rgba(201, 160, 74, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8956A 0%, #C4A574 100%);
    box-shadow: 0 6px 24px rgba(201, 160, 74, 0.35);
}

.btn-secondary {
    background: rgba(255, 248, 245, 0.8);
    border: 1px solid rgba(240, 232, 228, 0.8);
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(232, 220, 200, 0.6);
    color: var(--text-primary);
}

.btn-success {
    background: linear-gradient(135deg, #8BC34A 0%, #9CCC65 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.25);
}

.btn-danger {
    background: linear-gradient(135deg, #EF9A9A 0%, #EF5350 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(239, 154, 154, 0.25);
}

.btn-warning {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 183, 77, 0.25);
}

.btn-info {
    background: linear-gradient(135deg, #81D4FA 0%, #4FC3F7 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(129, 212, 250, 0.25);
}

.btn-outline-primary {
    border-color: rgba(201, 160, 74, 0.5);
    color: var(--primary-dark);
    border-radius: 10px;
    background: rgba(201, 160, 74, 0.05);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    border-color: var(--primary-color);
    color: white;
}

/* ========== 表格样式 - 优雅精致 ========== */
.table {
    width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
}

.table th {
    background: linear-gradient(135deg, #FFF8F5 0%, #FFFBF9 100%);
    border-bottom: 2px solid rgba(201, 160, 74, 0.2);
    padding: 14px 18px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.table th i {
    color: var(--primary-color);
    margin-right: 6px;
}

.table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(240, 232, 228, 0.6);
    color: var(--text-primary);
    font-size: 13.5px;
}

.table tbody tr {
    transition: all 0.25s;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(201, 160, 74, 0.06) 0%, rgba(245, 198, 203, 0.04) 100%);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 249, 246, 0.5);
}

/* ========== 表单样式 - 柔和精致 ========== */
.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.form-label .text-danger {
    color: #EF5350 !important;
}

.form-control {
    border: 1.5px solid rgba(240, 232, 228, 0.8);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(255, 253, 250, 0.6);
    color: var(--text-primary);
}

.form-control:hover {
    border-color: rgba(201, 160, 74, 0.4);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 160, 74, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.form-select {
    border: 1.5px solid rgba(240, 232, 228, 0.8);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    background: rgba(255, 253, 250, 0.6);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 160, 74, 0.1);
}

.input-group-text {
    background: linear-gradient(135deg, #FFF8F5 0%, #F5E6E0 100%);
    border: 1.5px solid rgba(240, 232, 228, 0.8);
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 12px;
}

/* ========== 徽章样式 - 精致小巧 ========== */
.badge {
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge.bg-primary {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%) !important;
    color: white !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #8BC34A 0%, #9CCC65 100%) !important;
    color: white !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #EF9A9A 0%, #EF5350 100%) !important;
    color: white !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%) !important;
    color: white !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #81D4FA 0%, #4FC3F7 100%) !important;
    color: white !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #E0D5CC 0%, #C4B5A5 100%) !important;
    color: white !important;
}

.badge.bg-purple {
    background: linear-gradient(135deg, #B39DDB 0%, #9575CD 100%) !important;
    color: white !important;
}

/* 会员等级徽章 - 金色优雅风格 */
.beauty-level-badge {
    background: linear-gradient(135deg, #C4A574 0%, #B8956A 50%, #D4B896 100%);
    color: #3E2F1C;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 14px;
    border-radius: 14px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(201, 160, 74, 0.3);
    box-shadow: 0 2px 6px rgba(201, 160, 74, 0.2);
    display: inline-block;
}

/* ========== 警告框样式 - 柔和提示 ========== */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

.alert-success {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.08) 0%, rgba(156, 204, 101, 0.05) 100%);
    color: #558B2F;
    border-left: 4px solid #8BC34A;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 154, 154, 0.08) 0%, rgba(239, 83, 80, 0.05) 100%);
    color: #C62828;
    border-left: 4px solid #EF9A9A;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.08) 0%, rgba(255, 167, 38, 0.05) 100%);
    color: #EF6C00;
    border-left: 4px solid #FFB74D;
}

.alert-info {
    background: linear-gradient(135deg, rgba(129, 212, 250, 0.08) 0%, rgba(79, 195, 247, 0.05) 100%);
    color: #0277BD;
    border-left: 4px solid #81D4FA;
}

/* ========== 模态框样式 - 高端质感 (MODAL_FIX_V1: 修复 backdrop-filter 导致透明bug) ========== */
/* MODAL_FIX_V1 */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background-color: #ffffff !important;  /* 显式白底，避免 backdrop-filter 透视 */
    /* 移除 backdrop-filter: blur(20px);  ← 这行是 bug 元凶：让 modal 本身变半透明玻璃 */
}
/* MODAL_FIX_V5_FINAL: 深色 backdrop 0.85 + modal 发光效果 */
.modal-backdrop.show {
    opacity: 0.85 !important;
    background-color: #000000 !important;
}
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;  /* 防止 Bootstrap 加 padding 造成布局跳动 */
}
/* Modal 亮起效果 —— 白色发光边让它在深色背景上更突出 */
.modal.show .modal-dialog {
    filter: drop-shadow(0 0 30px rgba(201, 160, 74, 0.4));
}
/* MODAL_FIX_V2: modal 加白色投影让边界更清晰 */
.modal.show .modal-content {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}
/* MODAL_FIX_V2: 移动端 modal 边距更小占更多空间 */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem 0.5rem !important;
    }
    .modal-body { padding: 20px !important; }
    .modal-header { padding: 16px 20px !important; }
    .modal-footer { padding: 14px 20px !important; }
}

.modal-header {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    border-bottom: none;
    padding: 20px 28px;
    position: relative;
    overflow: hidden;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.modal-title i {
    margin-right: 10px;
    font-size: 18px;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    background: #fff8f5;  /* MODAL_FIX_V1: 从 rgba .8 改为不透明 */
    border-top: 1px solid #f0e8e4;
    padding: 18px 28px;
}
/* .modal-body 显式白背景，防止继承透明 */
.modal-body {
    background-color: #ffffff;
}
/* form 元素样式修正：确保 input/label 不重叠 */
.modal-body .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a3a35;
}
.modal-body .form-control {
    background-color: #fff;
    border: 1px solid #e0d6cf;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
.modal-body .form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #8a7d75;
}
.modal-body .mb-3 {
    margin-bottom: 1rem !important;
}
/* 模态框在移动端也居中 */
.modal.show .modal-dialog {
    margin: 1.75rem auto;
}

/* ========== 下拉菜单样式 ========== */
.dropdown-menu {
    border: 1px solid rgba(240, 232, 228, 0.8);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    backdrop-filter: blur(16px);
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 16px;
    transition: all 0.25s;
    color: var(--text-primary);
    font-size: 13px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, rgba(201, 160, 74, 0.1) 0%, rgba(245, 198, 203, 0.08) 100%);
    color: var(--primary-dark);
}

.dropdown-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ========== 分页样式 ========== */
.page-link {
    color: var(--text-secondary);
    border: 1px solid rgba(240, 232, 228, 0.6);
    border-radius: 10px !important;
    margin: 0 3px;
    transition: all 0.3s;
    padding: 8px 14px;
}

.page-link:hover {
    background: rgba(201, 160, 74, 0.1);
    color: var(--primary-dark);
    border-color: rgba(201, 160, 74, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(201, 160, 74, 0.3);
}

/* ========== 导航链接 ========== */
.nav-link {
    color: var(--text-secondary);
    transition: all 0.25s;
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== 面包屑 ========== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========== 顶部导航栏 - 优雅轻奢 ========== */
.content-wrapper > .content > .d-flex.justify-content-between {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(201, 160, 74, 0.06);
    margin-bottom: 24px;
    border: 1px solid rgba(240, 232, 228, 0.6);
}

.content-wrapper > .content > .d-flex .badge.bg-danger {
    background: linear-gradient(135deg, #EF9A9A 0%, #EF5350 100%) !important;
}

/* ========== 文本颜色 ========== */
.text-primary {
    color: var(--primary-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ========== 链接样式 ========== */
a {
    color: var(--primary-dark);
    transition: color 0.25s;
}

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

/* ========== 空状态提示 ========== */
.text-muted.text-center {
    color: var(--text-muted) !important;
    padding: 48px 24px;
    font-size: 14px;
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(245, 230, 224, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 160, 74, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 160, 74, 0.5);
}

/* ========== 页面标题样式 ========== */
.content h2 {
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 28px;
    font-size: 22px;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #C4A574 0%, #D4AF37 50%, #F5C6CB 100%);
    border-radius: 2px;
}

.content h2 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.content h3 {
    color: var(--text-primary);
    font-weight: 600;
}

.content h4, .content h5, .content h6 {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========== 卡片增强 ========== */
.card-header {
    position: relative;
    padding-left: 28px;
}

/* ========== 按钮增强 ========== */
.btn {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.btn-light {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(240, 232, 228, 0.6);
    border-radius: 10px;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}

.btn-light:hover {
    background: rgba(245, 230, 224, 0.8);
    color: var(--text-primary);
}

/* ============================================================
   仪表盘样式 - 优雅轻奢增强版
   ============================================================ */

/* 欢迎区域 */
.dashboard-welcome-section {
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.9) 0%, rgba(255, 251, 248, 0.9) 100%);
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 28px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    box-shadow: 0 8px 32px rgba(201, 160, 74, 0.06);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.dashboard-welcome-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 160, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.dashboard-welcome-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 198, 203, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.welcome-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 8px 24px rgba(201, 160, 74, 0.3);
    animation: welcome-float 3.5s ease-in-out infinite;
}

@keyframes welcome-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #3D2B2B;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.welcome-title .welcome-emoji {
    display: inline-block;
    animation: welcome-wave 2.5s infinite;
}

@keyframes welcome-wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.welcome-subtitle {
    font-size: 14px;
    color: #7B5B5B;
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.welcome-subtitle .welcome-date {
    background: rgba(201, 160, 74, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #7B5B5B;
    border: 1px solid rgba(201, 160, 74, 0.15);
}

.welcome-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.welcome-stat-item {
    text-align: center;
    padding: 0 12px;
}

.welcome-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #C4A574;
    line-height: 1.2;
    font-family: 'Georgia', 'PingFang SC', serif;
}

.welcome-stat-label {
    font-size: 12px;
    color: #7B5B5B;
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.8px;
}

.welcome-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(201, 160, 74, 0.4) 0%, rgba(201, 160, 74, 0.1) 100%);
}

/* 快捷操作栏 */
.quick-actions-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: var(--glass-bg);
    color: #3D2B2B;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 12px rgba(201, 160, 74, 0.04);
    backdrop-filter: blur(8px);
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 160, 74, 0.12);
    border-color: rgba(201, 160, 74, 0.4);
    text-decoration: none;
    color: #3D2B2B;
}

.quick-action-btn i {
    font-size: 17px;
    color: #C4A574;
    transition: transform 0.3s;
}

.quick-action-btn:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.quick-action-btn.primary-action {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    border-color: rgba(201, 160, 74, 0.5);
    color: white;
    box-shadow: 0 6px 20px rgba(201, 160, 74, 0.25);
}

.quick-action-btn.primary-action i {
    color: rgba(255, 255, 255, 0.9);
}

.quick-action-btn.primary-action:hover {
    background: linear-gradient(135deg, #B8956A 0%, #C4A574 100%);
    box-shadow: 0 8px 28px rgba(201, 160, 74, 0.35);
    color: white;
}

/* ========== 仪表盘统计卡片 - 优雅轻奢 ========== */
.dashboard-cards-row {
    margin-top: 0;
    margin-bottom: 12px;
}

.dashboard-card-item {
    perspective: 1000px;
}

.dashboard-card-inner {
    position: relative;
    border-radius: 22px;
    padding: 28px 24px;
    min-height: 130px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.dashboard-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dashboard-card-inner:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* 卡片装饰元素 */
.dashboard-card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dashboard-card-decoration span {
    position: absolute;
    opacity: 0.12;
}

.deco-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    top: -20px;
    right: -20px;
}

.deco-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    top: 40px;
    right: 30px;
}

.deco-diamond {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    top: 20px;
    right: 20px;
}

.deco-line {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    top: 60px;
    right: 10px;
    transform: rotate(-20deg);
}

.deco-flower {
    width: 50px;
    height: 50px;
    top: -10px;
    right: 10px;
}

.deco-flower::before,
.deco-flower::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.deco-flower::before {
    transform: scale(0.6);
}

.deco-flower::after {
    transform: scale(0.3);
}

.deco-petal {
    width: 8px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    top: 5px;
    right: 35px;
    transform: rotate(30deg);
}

.deco-star {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.deco-sparkle {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    top: 50px;
    right: 40px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.deco-heart {
    width: 35px;
    height: 35px;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 75%, 75% 50%, 100% 75%, 75% 100%, 50% 75%, 25% 100%, 0% 75%, 25% 50%);
}

.deco-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    top: -10px;
    right: -10px;
}

.deco-crown {
    width: 45px;
    height: 30px;
    top: 5px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(0% 100%, 15% 60%, 25% 85%, 35% 50%, 50% 75%, 65% 50%, 75% 85%, 85% 60%, 100% 100%);
}

.deco-trophy {
    width: 40px;
    height: 40px;
    top: 5px;
    right: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 0 0;
}

.deco-leaf {
    width: 30px;
    height: 50px;
    top: 10px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-30deg);
}

.deco-sprout {
    width: 20px;
    height: 20px;
    top: 55px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.deco-tree {
    width: 50px;
    height: 60px;
    top: -5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(50% 0%, 65% 40%, 100% 40%, 70% 60%, 85% 100%, 50% 75%, 15% 100%, 30% 60%, 0% 40%, 35% 40%);
}

.deco-zap {
    width: 35px;
    height: 35px;
    top: 10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(20% 0%, 100% 30%, 60% 50%, 100% 70%, 20% 100%, 0% 50%);
}

.deco-bolt {
    width: 8px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    top: 30px;
    right: 40px;
    transform: rotate(20deg);
}

/* 卡片内容链接 */
.dashboard-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.dashboard-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.dashboard-card-inner:hover .dashboard-card-icon {
    transform: scale(1.15) translateY(-2px);
}

.dashboard-card-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Georgia', 'PingFang SC', serif;
}

.dashboard-card-label {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 12个统计卡片颜色 - 优雅轻奢渐变 */
.rose-gold-card {
    background: linear-gradient(135deg, #8B5A5A 0%, #B76E79 50%, #D4A5A5 100%);
}

.champagne-card {
    background: linear-gradient(135deg, #B8966D 0%, #C4A574 50%, #D4AF37 100%);
}

.champagne-card .dashboard-card-number,
.champagne-card .dashboard-card-label,
.champagne-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.pink-card {
    background: linear-gradient(135deg, #C01086 0%, #E91E8C 50%, #FF69B4 100%);
}

.lavender-card {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 50%, #A78BFA 100%);
}

.blush-card {
    background: linear-gradient(135deg, #D6336C 0%, #F472B6 50%, #F9A8D4 100%);
}

.rose-card {
    background: linear-gradient(135deg, #E11D48 0%, #FB7185 50%, #FCA5A5 100%);
}

.gold-card {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #FCD34D 100%);
}

.gold-card .dashboard-card-number,
.gold-card .dashboard-card-label,
.gold-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.peach-card {
    background: linear-gradient(135deg, #EA580C 0%, #FB923C 50%, #FED7AA 100%);
}

.peach-card .dashboard-card-number,
.peach-card .dashboard-card-label,
.peach-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.sage-card {
    background: linear-gradient(135deg, #16A34A 0%, #4ADE80 50%, #86EFAC 100%);
}

.sage-card .dashboard-card-number,
.sage-card .dashboard-card-label,
.sage-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.coral-card {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 50%, #FDBA74 100%);
}

.coral-card .dashboard-card-number,
.coral-card .dashboard-card-label,
.coral-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.mint-card {
    background: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #5EEAD4 100%);
}

.cream-card {
    background: linear-gradient(135deg, #D97706 0%, #FDE68A 50%, #FEF3C7 100%);
}

.cream-card .dashboard-card-number,
.cream-card .dashboard-card-label,
.cream-card .dashboard-card-icon {
    color: #2D2D2D !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ========== 待办事项卡片 - 优雅提醒 ========== */
.todo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(254, 226, 226, 0.6);
    background: linear-gradient(135deg, #FFF7F7 0%, #FFFFFF 100%);
    backdrop-filter: blur(12px);
}

.todo-card-header {
    background: linear-gradient(135deg, #EF4444 0%, #F97316 100%);
    padding: 22px 28px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.todo-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.todo-card-header h5 {
    color: white;
    font-weight: 700;
    font-size: 17px;
}

.todo-card-header small {
    color: rgba(255, 255, 255, 0.8);
}

.todo-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

/* 待办项卡片 */
.todo-item-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(240, 232, 228, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
}

.todo-item-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(201, 160, 74, 0.12);
    border-color: var(--item-color);
    text-decoration: none;
}

.todo-item-icon {
    background: linear-gradient(135deg, var(--item-color) 0%, color-mix(in srgb, var(--item-color) 70%, white) 100%);
    color: white;
    border-radius: 12px;
}

.todo-item-icon i {
    color: white;
}

.todo-item-title {
    color: #3D2B2B;
    font-size: 14px;
    font-weight: 600;
}

.todo-item-count {
    color: #7B5B5B;
    font-size: 12px;
}

.todo-count-badge {
    background: var(--item-color);
    color: white;
    padding: 3px 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 12px;
}

.todo-arrow {
    color: #B8A0A0;
    font-size: 14px;
    transition: all 0.3s;
}

.todo-item-card:hover .todo-arrow {
    color: var(--item-color);
    transform: translateX(4px);
}

/* 紧急标签 */
.todo-urgent-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 紧急待办项样式 */
.todo-item-urgent {
    border-color: rgba(254, 226, 226, 0.6);
    background: linear-gradient(135deg, #FFF7F7 0%, #FFFFFF 100%);
}

.todo-item-urgent:hover {
    border-color: #EF4444;
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.12);
}

/* ========== 仪表盘卡片样式 ========== */
.dashboard-card {
    border-radius: 22px;
    box-shadow: 0 6px 28px rgba(201, 160, 74, 0.06);
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
    backdrop-filter: blur(12px);
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C4A574 0%, #D4AF37 30%, #F5C6CB 60%, #E8A0B4 100%);
    opacity: 0.8;
}

.dashboard-card:hover {
    box-shadow: 0 12px 40px rgba(201, 160, 74, 0.1);
    transform: translateY(-2px);
}

.dashboard-card-header {
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-bottom: 1px solid rgba(240, 232, 228, 0.6);
    padding: 22px 28px;
    position: relative;
    backdrop-filter: blur(8px);
}

.dashboard-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 160, 74, 0.2) 50%, transparent 100%);
}

.dashboard-card-header h5 {
    color: #3D2B2B;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 15px;
}

.dashboard-card-header h5 i {
    color: #C4A574;
    font-size: 17px;
}

.dashboard-btn {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.dashboard-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 160, 74, 0.35);
    color: white;
}

.dashboard-table {
    width: 100%;
    margin-bottom: 0;
}

.dashboard-table th {
    background: rgba(255, 248, 245, 0.8);
    border-bottom: 2px solid rgba(240, 232, 228, 0.6);
    padding: 12px 16px;
    font-weight: 600;
    color: #7B5B5B;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.dashboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(245, 230, 224, 0.6);
    color: #3D2B2B;
    font-size: 13px;
}

.dashboard-table tbody tr:hover {
    background: rgba(201, 160, 74, 0.04);
}

.dashboard-table-lg th {
    padding: 16px 18px;
}

.dashboard-table-lg td {
    padding: 16px 18px;
}

.dashboard-link {
    color: #C4A574;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.dashboard-link:hover {
    color: #9B835F;
    text-decoration: underline;
}

.dashboard-name {
    color: #3D2B2B;
    font-weight: 600;
}

.dashboard-amount {
    font-weight: 700;
    color: #3D2B2B;
}

.dashboard-amount-lg {
    font-weight: 700;
    color: #C4A574;
    font-size: 15px;
}

.dashboard-badge-sale {
    background: linear-gradient(135deg, #E91E8C 0%, #FF69B4 100%);
    color: white;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 6px;
}

.dashboard-badge-order {
    background: rgba(201, 160, 74, 0.12);
    color: #9B835F;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 6px;
}

.dashboard-badge-level {
    background: rgba(201, 160, 74, 0.12);
    color: #9B835F;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.dashboard-badge-total {
    background: rgba(59, 130, 246, 0.1);
    color: #1E40AF;
    font-weight: 600;
}

.dashboard-badge-new {
    background: rgba(251, 146, 60, 0.1);
    color: #C2410C;
    font-weight: 600;
}

.dashboard-badge-following {
    background: rgba(59, 130, 246, 0.1);
    color: #1E40AF;
    font-weight: 600;
}

.dashboard-badge-deal {
    background: rgba(124, 179, 66, 0.1);
    color: #558B2F;
    font-weight: 600;
}

.dashboard-badge-lost {
    background: rgba(229, 115, 115, 0.1);
    color: #C62828;
    font-weight: 600;
}

.dashboard-detail-btn {
    background: transparent;
    color: #C4A574;
    border: 1px solid rgba(201, 160, 74, 0.4);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.dashboard-detail-btn:hover {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    border-color: rgba(201, 160, 74, 0.5);
}

/* 首页表格区域标题增强 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #3D2B2B;
}

.section-header-title i {
    font-size: 17px;
    color: #C4A574;
}

.section-header-link {
    font-size: 13px;
    color: #C4A574;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
}

.section-header-link:hover {
    color: #9B835F;
    gap: 10px;
    text-decoration: none;
}

/* ========== 动画效果 ========== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes bounce-in {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-shake {
    animation: shake 2.5s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse-ring 2s ease-out infinite;
}

.animate-bounce-in {
    animation: bounce-in 0.5s ease-out;
}

/* ========== 客户管理统计卡片 ========== */
.customer-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.customer-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 22px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 95px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.customer-stat-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.customer-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.customer-stat-active {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.customer-stat-number {
    font-size: 30px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    font-family: 'Georgia', 'PingFang SC', serif;
}

.customer-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 6px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* 客户统计卡片颜色 */
.customer-stat-card-blue {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
}

.customer-stat-card-yellow {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
}

.customer-stat-card-green {
    background: linear-gradient(135deg, #166534 0%, #22C55E 100%);
}

.customer-stat-card-cyan {
    background: linear-gradient(135deg, #0E7490 0%, #06B6D4 100%);
}

.customer-stat-card-red {
    background: linear-gradient(135deg, #991B1B 0%, #EF4444 100%);
}

.customer-stat-card-pink {
    background: linear-gradient(135deg, #E91E8C 0%, #FF69B4 100%);
}

.customer-stat-card-purple {
    background: linear-gradient(135deg, #6B21A8 0%, #A855F7 100%);
}

/* ========== 会员中心统计卡片 ========== */
.member-stats-row .member-stat-block {
    display: block;
    border-radius: 16px;
    padding: 26px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-height: 125px;
}

.member-stats-row .member-stat-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.member-stats-row .member-stat-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
}

.member-stats-row .member-stat-block:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.member-stats-row .member-stat-icon {
    font-size: 24px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.member-stats-row .member-stat-number {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: 'Georgia', 'PingFang SC', serif;
}

.member-stats-row .member-stat-name {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
    color: #ffffff;
    position: relative;
    z-index: 1;
    letter-spacing: 0.8px;
}

.member-stats-row .member-stat-detail {
    font-size: 12px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
    margin-top: 6px;
}

/* 会员中心统计卡片颜色 */
.member-stats-row .member-stat-rose-gold {
    background: linear-gradient(135deg, #B76E79 0%, #D4A5A5 100%);
}

.member-stats-row .member-stat-champagne {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: #1F2937 !important;
}

.member-stats-row .member-stat-champagne .member-stat-number,
.member-stats-row .member-stat-champagne .member-stat-name,
.member-stats-row .member-stat-champagne .member-stat-detail {
    color: #1F2937 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.member-stats-row .member-stat-pink {
    background: linear-gradient(135deg, #E91E8C 0%, #FF69B4 100%);
}

/* ========== 等级统计色块 ========== */
.level-stat-block {
    border-radius: 16px;
    padding: 22px;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.level-stat-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.level-stat-block:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.level-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.level-badge {
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.level-name {
    font-size: 14px;
    font-weight: 600;
}

.level-stat-header i {
    font-size: 0.85rem;
    opacity: 0.85;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.level-stat-count {
    text-align: center;
    padding: 12px 0;
    position: relative;
    z-index: 1;
}

.stat-num {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-family: 'Georgia', 'PingFang SC', serif;
}

.stat-unit {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
}

.level-stat-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.level-stat-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 各等级颜色渐变 */
.level-stat-1 {
    background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
}

.level-stat-2 {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.level-stat-3 {
    background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
}

.level-stat-4 {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
}

.level-stat-5 {
    background: linear-gradient(135deg, #DB2777 0%, #EC4899 100%);
}

.level-stat-6 {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: #1F2937;
}

.level-stat-6 .level-badge {
    background: rgba(0, 0, 0, 0.15);
}

.level-stat-6 .level-stat-btn {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.1);
    color: #1F2937;
}

.level-stat-6 .level-stat-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

.level-stat-7 {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
}

.level-stat-8 {
    background: linear-gradient(135deg, #65A30D 0%, #84CC16 100%);
}

/* ========== 奥运会领奖台样式 ========== */
.podium-container {
    display: flex;
    justify-content: center;
    padding: 32px 0;
    background: linear-gradient(180deg, rgba(255, 248, 245, 0.9) 0%, rgba(255, 251, 248, 0.9) 100%);
    border-radius: 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    backdrop-filter: blur(12px);
}

.podium-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 32px;
    height: 380px;
    padding: 0 60px;
    position: relative;
    width: 100%;
    max-width: 800px;
}

/* 背景装饰 */
.podium-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.podium-glow-globe {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.podium-gold-ribbon {
    position: absolute;
    width: 200px;
    height: 8px;
    background: linear-gradient(90deg, transparent, #D4AF37, #FFD700, #D4AF37, transparent);
    border-radius: 4px;
    top: 20px;
}

.podium-gold-ribbon.ribbon-left {
    left: 0;
    transform: rotate(-15deg);
}

.podium-gold-ribbon.ribbon-right {
    right: 0;
    transform: rotate(15deg);
}

.podium-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.podium-sparkles .sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    animation: sparkle-pulse 2.5s infinite;
}

.podium-sparkles .sparkle:nth-child(1) { top: 40px; left: 10%; animation-delay: 0s; }
.podium-sparkles .sparkle:nth-child(2) { top: 80px; right: 15%; animation-delay: 0.5s; }
.podium-sparkles .sparkle:nth-child(3) { top: 120px; left: 20%; animation-delay: 1s; }
.podium-sparkles .sparkle:nth-child(4) { top: 60px; right: 25%; animation-delay: 1.5s; }
.podium-sparkles .sparkle:nth-child(5) { top: 100px; left: 70%; animation-delay: 0.8s; }

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

/* 领奖台项目 */
.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 180px;
    z-index: 10;
}

/* 皇冠 */
.podium-crown {
    font-size: 40px;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    animation: crown-bounce 2.5s infinite;
    z-index: 20;
}

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

/* 奖牌图标 */
.podium-medal-icon {
    font-size: 32px;
    margin-bottom: 8px;
    animation: medal-swing 3.5s infinite ease-in-out;
}

@keyframes medal-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* 头像盒子 */
.podium-avatar-box {
    position: relative;
    margin-bottom: 10px;
}

.podium-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* 排名徽章 */
.podium-rank-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.gold-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid #FFEC8B;
}

.silver-badge {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    border: 2px solid #E8E8E8;
}

.bronze-badge {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    border: 2px solid #DAA520;
}

/* 姓名和等级 */
.podium-name {
    font-size: 18px;
    font-weight: 700;
    color: #2D2D2D;
    text-align: center;
    margin-bottom: 4px;
}

.podium-level {
    font-size: 12px;
    color: #7B5B5B;
    margin-bottom: 6px;
}

/* 标签 */
.podium-label {
    font-size: 16px;
    font-weight: 700;
    color: #3D2B2B;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* 金额 */
.podium-amount {
    font-size: 22px;
    font-weight: 800;
    color: #C4A574;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: 'Georgia', 'PingFang SC', serif;
}

/* 统计 */
.podium-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #7B5B5B;
    margin-bottom: 12px;
    text-align: center;
}

/* 领奖台平台 */
.podium-platform {
    position: relative;
    width: 150px;
}

.platform-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    border-radius: 8px 8px 0 0;
}

.platform-body {
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.platform-number {
    font-size: 36px;
    font-weight: 900;
    opacity: 0.15;
}

.platform-glow {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.4;
}

/* 冠军 - 最高领奖台 (金色) */
.podium-first {
    height: 300px;
    justify-content: flex-end;
}

.podium-first .podium-avatar {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

.podium-first .platform-top {
    background: linear-gradient(135deg, #FFEC8B 0%, #FFD700 100%);
}

.podium-first .platform-body {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    height: 80px;
}

.podium-first .platform-glow {
    background: #FFD700;
}

.podium-first .podium-label {
    color: #D4AF37;
}

/* 亚军 - 中间领奖台 (银色) */
.podium-second {
    height: 250px;
    justify-content: flex-end;
}

.podium-second .podium-avatar {
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 50%, #A8A8A8 100%);
}

.podium-second .platform-top {
    background: linear-gradient(135deg, #F5F5F5 0%, #C0C0C0 100%);
}

.podium-second .platform-body {
    background: linear-gradient(180deg, #C0C0C0 0%, #A8A8A8 50%, #808080 100%);
    height: 60px;
}

.podium-second .platform-glow {
    background: #C0C0C0;
}

.podium-second .podium-label {
    color: #808080;
}

/* 季军 - 最低领奖台 (铜色) */
.podium-third {
    height: 200px;
    justify-content: flex-end;
}

.podium-third .podium-avatar {
    background: linear-gradient(135deg, #DAA520 0%, #CD7F32 50%, #B87333 100%);
}

.podium-third .platform-top {
    background: linear-gradient(135deg, #E8C07D 0%, #CD7F32 100%);
}

.podium-third .platform-body {
    background: linear-gradient(180deg, #CD7F32 0%, #B87333 50%, #A0522D 100%);
    height: 40px;
}

.podium-third .platform-glow {
    background: #CD7F32;
}

.podium-third .podium-label {
    color: #B87333;
}

/* ========== 顶部导航栏 - 全新优雅风格 ========== */
.top-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(240, 232, 228, 0.6);
    border-radius: 18px;
    padding: 0 22px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(201, 160, 74, 0.06);
    position: relative;
    z-index: 100;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.top-navbar:hover {
    box-shadow: 0 6px 28px rgba(201, 160, 74, 0.1);
}

.top-navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C4A574 20%, #D4AF37 40%, #F5C6CB 60%, #E8A0B4 80%, transparent 100%);
    border-radius: 1px;
    opacity: 0.5;
}

/* 左侧区域 */
.top-navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 移动端菜单按钮 */
.top-navbar .mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: rgba(255, 255, 255, 0.8);
    color: #7B5B5B;
    cursor: pointer;
    transition: all 0.25s;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.top-navbar .mobile-menu-btn:hover {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    border-color: rgba(201, 160, 74, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 160, 74, 0.3);
}

/* 页面面包屑 */
.top-navbar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7B5B5B;
}

.top-navbar-breadcrumb i {
    font-size: 12px;
    color: #B8A0A0;
}

.top-navbar-breadcrumb .current-page {
    font-weight: 700;
    font-size: 18px;
    color: #3D2B2B;
    letter-spacing: 0.5px;
}

.top-navbar-breadcrumb .current-page i {
    font-size: 18px;
    color: #C4A574;
    margin-right: 6px;
}

/* 右侧区域 */
.top-navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 通知按钮 */
.top-navbar-notif-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: rgba(255, 255, 255, 0.8);
    color: #7B5B5B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s;
    text-decoration: none;
}

.top-navbar-notif-btn:hover {
    background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%);
    border-color: rgba(201, 160, 74, 0.4);
    color: #C4A574;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 160, 74, 0.12);
}

.top-navbar-notif-btn .notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #FFFFFF;
    animation: notif-pulse 2s infinite;
}

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

/* 用户信息按钮 */
.top-navbar-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 14px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    position: relative;
}

.top-navbar-user-btn:hover {
    border-color: rgba(201, 160, 74, 0.4);
    background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 160, 74, 0.12);
}

.top-navbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.top-navbar-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.top-navbar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #3D2B2B;
    white-space: nowrap;
}

.top-navbar-user-level {
    font-size: 10px;
    color: #7B5B5B;
    white-space: nowrap;
}

.top-navbar-user-arrow {
    font-size: 10px;
    color: #B8A0A0;
    margin-left: 4px;
    transition: transform 0.2s;
}

.top-navbar-user-btn:hover .top-navbar-user-arrow {
    transform: rotate(180deg);
    color: #C4A574;
}

/* 用户下拉菜单 */
.top-navbar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 200;
}

.top-navbar-user-btn:hover .top-navbar-dropdown,
.top-navbar-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-navbar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #3D2B2B;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.top-navbar-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(201, 160, 74, 0.08) 0%, rgba(245, 198, 203, 0.06) 100%);
    color: #C4A574;
    text-decoration: none;
}

.top-navbar-dropdown-item i {
    width: 18px;
    text-align: center;
    color: #7B5B5B;
    font-size: 14px;
}

.top-navbar-dropdown-item:hover i {
    color: #C4A574;
}

.top-navbar-dropdown-divider {
    height: 1px;
    background: rgba(240, 232, 228, 0.6);
    margin: 4px 8px;
}

.top-navbar-dropdown-item.logout-item {
    color: #EF4444;
}

.top-navbar-dropdown-item.logout-item i {
    color: #EF4444;
}

.top-navbar-dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.06);
    color: #DC2626;
}

/* 主题切换按钮 */
.top-navbar-theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(240, 232, 228, 0.6);
    background: rgba(255, 255, 255, 0.8);
    color: #7B5B5B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s;
}

.top-navbar-theme-btn:hover {
    background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%);
    border-color: rgba(201, 160, 74, 0.4);
    color: #C4A574;
    transform: translateY(-1px) rotate(15deg);
    box-shadow: 0 4px 12px rgba(201, 160, 74, 0.12);
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .welcome-stats {
        justify-content: center;
        margin-top: 20px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .dashboard-card-number {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }

    .sidebar.collapsed {
        transform: translateX(0);
        width: var(--sidebar-width);
    }

    .content-wrapper {
        margin-left: 0;
    }

    .content-wrapper.collapsed-sidebar {
        margin-left: 0;
    }

    .top-navbar {
        padding: 0 14px;
        height: 56px;
        border-radius: 14px;
    }

    .top-navbar .mobile-menu-btn {
        display: flex;
    }

    .top-navbar-breadcrumb .current-page {
        font-size: 15px;
    }

    .top-navbar-user-btn {
        padding: 4px 10px 4px 4px;
    }

    .top-navbar-user-info {
        display: none;
    }

    .top-navbar-user-arrow {
        display: none;
    }

    .dashboard-welcome-section {
        padding: 22px;
    }

    .welcome-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .welcome-title {
        font-size: 20px;
    }

    .welcome-stat-value {
        font-size: 24px;
    }

    .dashboard-card-inner {
        padding: 20px 18px;
        min-height: 105px;
    }

    .dashboard-card-number {
        font-size: 28px;
    }

    .quick-actions-bar {
        gap: 8px;
    }

    .quick-action-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .quick-action-btn span {
        display: none;
    }
}

/* ========== 导航提示 ========== */
.sidebar.collapsed .sidebar-tooltip:hover::after {
    background: linear-gradient(135deg, #C4A574 0%, #D4AF37 100%);
    color: white;
    border-radius: 8px;
    font-size: 12px;
}

.sidebar.collapsed .sidebar-tooltip:hover::before {
    border-left-color: var(--primary-color);
}

/* ========== 额外美业增强 ========== */
/* 丝绸纹理背景效果 */
.content-wrapper::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 248, 245, 0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* 优雅的焦点效果 */
.form-control:focus,
.form-select:focus {
    border-color: #C4A574;
    box-shadow: 0 0 0 4px rgba(201, 160, 74, 0.1), 0 0 20px rgba(201, 160, 74, 0.05);
}

/* 选中文本颜色 */
::selection {
    background: rgba(201, 160, 74, 0.2);
    color: #3D2B2B;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
