:root {
    --primary-color: #bd9237;
    --primary-dark: #9a782d;
    --primary-light: #d8b15d;
    --primary-bg: #f8f1e4;
    --primary-text: #5a4a2a;
    --secondary-color: #bd9237;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #e1e1e1;
    --bg-color: #f5f5f5;
    --bg-light: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --transition: all 0.3s ease;
    --max-width: 1430px;
    --grid-gap: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.header-container,
.footer-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

/* Font Awesome 调整 */
.fas, .far, .fab {
    margin-right: 5px;
    width: 1.25em;
    text-align: center;
}

/* 小圆点图标调整 */
.info-item .fa-circle {
    font-size: 6px;
    color: var(--primary-color);
}

/* 下拉箭头调整 */
.has-submenu .fa-chevron-down {
    margin-left: auto;
    transition: var(--transition);
    font-size: 12px;
}

.has-submenu.open .fa-chevron-down {
    transform: rotate(180deg);
}
/* 头部样式 */
.member-header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow);
    /* 确保伪元素能正确显示 */
    position: relative;
    overflow: hidden;
}

.member-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/endless-clouds.svg) top/60.5px repeat;
    opacity: 0.05; /* 调整图片透明度（0~1） */
    z-index: -1;
}
.member-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    padding: 10px 15px;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0.9;
}

.nav-item:hover, 
.nav-item.active {
    color: #fff;
    opacity: 1;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* 主体布局 */
.member-container {
    display: flex;
    min-height: calc(100vh - 70px);
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}
/* 侧边栏菜单样式 */
.member-sidebar {
    width: 280px;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    z-index: 900;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-user {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--primary-bg);
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    margin: 0 auto;
}

.user-info {
    margin-top: 10px;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-text);
}

.user-info p {
    font-size: 13px;
    color: var(--text-light);
}

.menu-list {
    padding: 15px 0;
}

.menu-item {
    position: relative;
}

/* 一级菜单项基础样式 */
.menu-item > a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
	font-weight: 700;
}

/* 为特定一级菜单项添加默认背景 */
.menu-item.has-submenu > a {
    background-color: rgba(0, 0, 0, 0.06); /* 默认浅灰色背景 */
}

/* 特定菜单项个性化背景色 */
.menu-item.has-submenu:nth-child(2) > a { /* 帐号 */
    background-color: rgba(75, 192, 192, 0.08); /* 浅青色 */
}
.menu-item.has-submenu:nth-child(3) > a { /* 站内消息 */
    background-color: rgba(54, 162, 235, 0.08); /* 浅蓝色 */
}
.menu-item.has-submenu:nth-child(5) > a { /* 会员空间 */
    background-color: rgba(255, 159, 64, 0.08); /* 浅橙色 */
}
.menu-item.has-submenu:nth-child(6) > a { /* 财务 */
    background-color: rgba(153, 102, 255, 0.08); /* 浅紫色 */
}
.menu-item.has-submenu:nth-child(7) > a { /* 商城 */
    background-color: rgba(255, 99, 132, 0.08); /* 浅粉色 */
}

/* 当前一级菜单项样式 - 覆盖默认背景 */
.menu-item.active > a {
    background-color: rgba(189, 146, 55, 0.15) !important; /* 使用important确保覆盖 */
    color: var(--primary-color);
    font-weight: 500;
    border-left-color: var(--primary-color);
	font-weight: 700;
}

/* 悬停效果 */
.menu-item > a:hover {
    background-color: rgba(189, 146, 55, 0.1) !important;
    color: var(--primary-color);
}

/* 子菜单容器 */
.submenu-container {
    display: block;
    padding: 0 15px 10px;
    background-color: rgba(0, 0, 0, 0.02);
}

/* 两列子菜单布局 */
.submenu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
    margin: 0;
}


.submenu li {
    margin: 0;
    list-style: none;
}

/* 普通子菜单项 */
.submenu a {
    display: flex;
    align-items: center;
    padding: 8px 10px; /* 减小padding以适应移动端 */
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 投稿菜单特殊样式 - 横排 */
.submenu li.full-width {
    grid-column: 1 / -1;
}

.submenu-item-row {
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    overflow: hidden;
}

.submenu-item-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px; /* 减小padding以适应移动端 */
    font-size: 12px; /* 减小字体大小以适应移动端 */
    color: var(--text-light);
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.submenu-item-row a:first-child {
    border-right: 1px solid var(--border-color);
}

/* 悬停效果 */
.menu-item > a:hover {
    background-color: rgba(189, 146, 55, 0.1);
    color: var(--primary-color);
}

.submenu a:hover,
.submenu-item-row a:hover {
    background-color: rgba(189, 146, 55, 0.1);
    color: var(--primary-color);
}

.submenu li.active a,
.submenu-item-row a.active {
    background-color: rgba(189, 146, 55, 0.15);
    color: var(--primary-color);
    font-weight: 500;
}

/* 图标样式 */
.menu-item > a i:first-child {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--primary-color);
}

.submenu a i,
.submenu-item-row a i {
    margin-right: 5px; /* 减小间距以适应移动端 */
    width: 14px; /* 减小图标大小以适应移动端 */
    text-align: center;
    color: var(--text-light);
    font-size: 12px; /* 减小图标大小以适应移动端 */
}

.submenu li.active a i,
.submenu-item-row a.active i {
    color: var(--primary-color);
}
/* 主内容区 */
.member-main {
    flex: 1;
    padding: 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 70px);
}

/* 用户卡片 */
.member-card {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-header .user-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--primary-color);
}

.user-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.user-info h3 span {
    font-size: 16px;
    color: var(--text-light);
    font-weight: normal;
}

.user-level {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.user-level span {
    display: flex;
    align-items: center;
}

.user-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    min-width: 100px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
    background-color: #f9f9f9;
}

.card-actions .btn {
    font-size: 13px;
    padding: 8px 12px;
}

/* 推荐信息 */
.recommend-section {
    max-width: var(--max-width);
    margin: 0 auto 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 18px;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.recommend-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-content {
    padding: 12px 10px;
    background-color: #f9f9f9;
}

.item-title {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-views {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.item-views i {
    margin-right: 3px;
    font-size: 10px;
}
/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-section {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: var(--transition);
}

.info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* 4. 最新信息和热门信息样式优化 */
.info-list {
    padding: 0;
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.info-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.info-icon .fa-circle {
    font-size: 8px;
    color: var(--primary-color);
}

.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-link {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-link:hover {
    color: var(--primary-color);
}

.info-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.info-date {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.info-date i {
    margin-right: 3px;
    font-size: 12px;
    color: var(--text-light);
}

.info-views {
    display: flex;
    align-items: center;
}

.info-views i {
    margin-right: 3px;
    font-size: 12px;
    color: var(--text-light);
}

/* 游客提示 */
.guest-message {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.guest-message h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.guest-message p {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.guest-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.guest-actions .btn {
    padding: 10px 25px;
    font-size: 16px;
    min-width: 120px;
}
    /* 页脚 */
.member-footer {
        background: #2c3e50;
        color: #ecf0f1;
        padding: 35px 0;
        margin-top: 5px;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #bdc3c7;
        transition: var(--transition);
        padding: 5px 0;
        position: relative;
    }

    .footer-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary-color);
        transition: var(--transition);
    }

    .footer-links a:hover {
        color: var(--primary-color);
    }

    .footer-links a:hover::after {
        width: 100%;
    }

    .copyright {
        text-align: center;
        font-size: 0.9rem;
        color: #95a5a6;
    }
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .recommend-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .member-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .member-sidebar {
        position: fixed;
        top: 70px;
        left: -280px;
        width: 280px;
        height: calc(100vh - 70px);
        z-index: 999;
        transition: transform 0.3s ease;
    }
    
    .member-sidebar.show {
        transform: translateX(280px);
    }
    
    .member-main {
        margin-top: 0;
        padding: 15px;
        min-height: calc(100vh - 120px);
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
   .recommend-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .info-item {
        padding: 10px 0;
    }
    
    .info-link {
        white-space: normal;
        margin-bottom: 3px;
    }
    
    .info-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card-actions {
        justify-content: center;
    }
    
    .guest-actions {
        flex-direction: column;
    }

.section-header h2 {
font-size: 16px;
}

.info-item {
    align-items: flex-start;
    padding: 10px 0;
}

.info-icon {
    padding-top: 5px;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-link {
    white-space: normal;
    margin-bottom: 3px;
}

.info-meta {
    flex-direction: column;
    gap: 3px;
}
}

@media (max-width: 576px) {
.recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-icon {
        width: 20px;
        height: 20px;
    }
    
    .info-link {
        font-size: 13px;
    }

.card-actions .btn {
    width: 100%;
}
}

/* Slick轮播点样式修复 */
.slick-dots {
display: flex !important;
justify-content: center;
margin: 15px 0 0;
padding: 0;
list-style: none;
flex-direction: row;
flex-wrap: wrap;
}

.slick-dots li {
margin: 0 5px;
}

.slick-dots button {
font-size: 0;
line-height: 0;
display: block;
width: 12px;
height: 12px;
padding: 0;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: #ccc;
border-radius: 50%;
transition: all 0.3s ease;
}

.slick-dots .slick-active button {
background: var(--primary-color);
width: 14px;
height: 14px;
}

/* 用户信息面板优化 */
.card-header {
display: flex;
flex-direction: row;
align-items: center;
padding: 20px;
border-bottom: 1px solid var(--border-color);
}

.user-avatar {
flex-shrink: 0;
margin-right: 20px;
}

.user-info {
flex: 1;
}

.user-info h3 {
font-size: 20px;
margin-bottom: 10px;
color: var(--primary-color);
}

.user-info h3 span {
font-size: 16px;
color: var(--text-light);
font-weight: normal;
}

.user-level {
margin-bottom: 10px;
font-size: 14px;
display: flex;
flex-wrap: wrap;
gap: 15px;
}

/* 3. 会员等级图标样式 */
.user-level img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    object-fit: contain;
}

.user-level span {
display: flex;
align-items: center;
}

.user-stats {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 15px;
}

.stat-item {
min-width: 150px;
text-align: center;
background: #f9f9f9;
padding: 10px;
border-radius: var(--radius);
}

.stat-label {
display: block;
font-size: 12px;
color: var(--text-light);
margin-bottom: 5px;
}

.stat-value {
font-size: 16px;
font-weight: bold;
color: var(--primary-color);
}

@media (max-width: 768px) {
.card-header {
flex-direction: column;
text-align: center;
}

.user-avatar {
    margin-right: 0;
    margin-bottom: 15px;
}

.user-level {
    justify-content: center;
}

.user-stats {
    justify-content: center;
}

.slick-dots {
    flex-wrap: wrap;
}
}

/* 点击动画效果 */
@keyframes clickEffect {
0% {
transform: scale(1);
box-shadow: none;
}
50% {
transform: scale(0.98);
box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
100% {
transform: scale(1);
box-shadow: none;
}
}

.info-item.clicked {
animation: clickEffect 0.3s ease;
}

/* 优化移动端标题显示 */
@media (max-width: 768px) {
.item-title {
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
height: 2.8em;
line-height: 1.4em;
}
}

/* 优化热门信息排名样式 */
.rank {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
color: #fff;
border-radius: 50%;
font-size: 12px;
font-weight: bold;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 优化信息项悬停效果 */
.info-item:hover {
background-color: rgba(189, 146, 55, 0.05);
transform: translateX(3px);
}

/* 优化小屏幕下的间距 */
@media (max-width: 576px) {
.recommend-item {
margin-bottom: 15px;
}

.info-item {
    padding: 15px 0;
}

.info-section {
    padding: 15px;
}
}

/* 优化图标对齐 */
.info-icon {
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
}

/* 优化移动端视图统计信息 */
@media (max-width: 768px) {
.info-views {
margin-left: auto;
}

.info-meta {
    flex-direction: row;
    justify-content: space-between;
}
}

/* 优化推荐项间距 */
.recommend-item {
margin-bottom: 0;
}

/* 添加卡片悬停效果 */
.member-card:hover {
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 优化移动端菜单按钮 */
.mobile-menu-toggle {
padding: 8px;
background: rgba(255,255,255,0.1);
border-radius: 4px;
}

/* 优化子菜单动画 */
.submenu {
animation: fadeIn 0.2s ease-out;
}

.submenu-container ul{ margin-top:10px;}

/* 优化表格响应式 */
@media (max-width: 768px) {
.user-stats {
width:100%
flex-direction: column;
gap: 10px;
display:block;
}

.stat-item {
    width: 20%;
	float:left;
	margin:6px;
	min-width: 100px!important;
}
}

/* 优化按钮悬停效果 */
.btn:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 优化图片加载效果 */
.item-image img {
transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 0.95;
}

.recommend-item:hover .item-image img {
opacity: 1;
}

/* 优化移动端侧边栏滚动 */
@media (max-width: 992px) {
.member-sidebar {
overflow-y: auto;
}
}

/* 优化表单元素 */
input, select, textarea {
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 8px 12px;
transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
border-color: var(--primary-color);
outline: none;
box-shadow: 0 0 0 2px rgba(189, 146, 55, 0.2);
}

/* 优化页面加载动画 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.member-main > * {
animation: fadeInUp 0.5s ease forwards;
}

/* 优化延迟加载效果 */
.recommend-item {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.5s ease forwards;
}

.recommend-item:nth-child(1) { animation-delay: 0.1s; }
.recommend-item:nth-child(2) { animation-delay: 0.2s; }
.recommend-item:nth-child(3) { animation-delay: 0.3s; }
.recommend-item:nth-child(4) { animation-delay: 0.4s; }
.recommend-item:nth-child(5) { animation-delay: 0.5s; }
.recommend-item:nth-child(6) { animation-delay: 0.6s; }
.recommend-item:nth-child(7) { animation-delay: 0.7s; }
.recommend-item:nth-child(8) { animation-delay: 0.8s; }
.recommend-item:nth-child(9) { animation-delay: 0.9s; }
.recommend-item:nth-child(10) { animation-delay: 1s; }

/* 优化移动端触摸反馈 */
.info-item {
-webkit-tap-highlight-color: transparent;
}

/* 优化滚动条样式 */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}

::-webkit-scrollbar-track {
background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
background: #e0e0e0;
border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
background: #e0e0e0;
}

/* 优化打印样式 */
@media print {
.member-header,
.member-sidebar,
.card-actions,
.member-footer {
display: none;
}

.member-main {
    padding: 0;
}

body {
    background: none;
}
}

/* 优化IE兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.recommend-grid {
display: flex;
flex-wrap: wrap;
}

.recommend-item {
    width: calc(20% - 16px);
    margin: 8px;
}

@media (max-width: 1200px) {
    .recommend-item {
        width: calc(25% - 16px);
    }
}

@media (max-width: 992px) {
    .recommend-item {
        width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .recommend-item {
        width: calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .recommend-item {
        width: 100%;
    }
}
}

/* 优化Edge兼容性 */
@supports (-ms-ime-align:auto) {
.recommend-grid {
display: flex;
flex-wrap: wrap;
}

.recommend-item {
    width: calc(20% - 16px);
    margin: 8px;
}

@media (max-width: 1200px) {
    .recommend-item {
        width: calc(25% - 16px);
    }
}

@media (max-width: 992px) {
    .recommend-item {
        width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .recommend-item {
        width: calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .recommend-item {
        width: 100%;
    }
}
}
.recommend-item:hover .item-image img {
    transform: scale(1.1);
}

.info-item:hover {
    background-color: rgba(189, 146, 55, 0.05);
}

@media (min-width: 992px) {
.card-header .user-avatar img {
	display:none;
}
}
        /* 资料修改表单样式 */
        .profile-form {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .profile-form h2 {
            font-size: 20px;
            color: #333;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .profile-form h2 a {
            font-size: 14px;
            color: #bd9237;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .profile-form h2 a:hover {
            color: #2a6fd6;
        }
        
        .form-group {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .form-label {
            flex: 0 0 180px;
            max-width: 180px;
            font-weight: 500;
            color: #555;
            display: flex;
            align-items: center;
            margin-right: 15px;
        }
        
        .form-label i {
            margin-right: 10px;
            color: #bd9237;
            width: 20px;
            text-align: center;
        }
        
        .form-control-wrapper {
            flex: 1;
            min-width: 200px;
        }
        
        .form-control {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: #bd9237;
            box-shadow: 0 0 0 3px rgba(74, 139, 252, 0.1);
            outline: none;
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .avatar-preview {
            display: flex;
            align-items: center;
            margin-top: 10px;
        }
        
        .avatar-preview img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
            border: 1px solid #eee;
        }
        
        .file-input-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
            width: 100%;
        }
        
        .file-input-wrapper input[type="file"] {
            position: absolute;
            font-size: 100px;
            opacity: 0;
            right: 0;
            top: 0;
            cursor: pointer;
        }
        
        .file-input-btn {
            display: inline-block;
            padding: 8px 15px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #555;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            text-align: left;
        }
        
        .file-input-btn:hover {
            background: #e9e9e9;
        }
        
        .form-submit {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        
        .btn-submit {
            background: #bd9237;
            color: #fff;
            border: none;
            padding: 10px 30px;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-submit:hover {
            background: #2a6fd6;
        }
        
        .username-display {
            font-size: 16px;
            color: #333;
            padding: 10px 0;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .username-display i {
            margin-right: 10px;
            color: #bd9237;
        }
        
        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 16px;
            padding-right: 30px;
        }
        
        @media (max-width: 768px) {
            .form-group {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .form-label {
                flex: 0 0 100%;
                max-width: 100%;
                margin-bottom: 8px;
            }
            
            .form-control-wrapper {
                width: 100%;
            }
        }
		
/* 账号菜单展开状态 */
.menu-item.has-submenu.open .submenu {
    display: block;
}

/* 当前菜单项高亮样式 */
.submenu li.active a {
    color: #bd9237;
    font-weight: bold;
    background-color: rgba(189, 146, 55, 0.1);
    padding-left: 15px;
    border-left: 3px solid #bd9237;
    margin-left: -3px;
}

/* 图标旋转效果 */
.menu-item.has-submenu.open > a > .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* 子菜单图标样式 */
.submenu li a i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: #666;
}

.submenu li.active a i {
    color: #bd9237;
}


/* 移动端适配 - 保持两列布局 */
/* 移动端适配 */
@media (max-width: 992px) {
    .member-sidebar {
        position: fixed;
        top: 70px;
        left: 0;
        width: 280px;
        height: calc(100vh - 70px);
        transform: translateX(-100%);
        z-index: 999;
    }
    
    .member-sidebar.show {
        transform: translateX(0);
    }
    
    /* 调整移动端样式 */
    .menu-item > a {
        padding: 12px 15px;
    }
    
    .submenu-container {
        padding: 0 10px 10px;
    }
    
    .submenu a {
        padding: 8px 10px;
        font-size: 12px;
    }
}    
    /* 进一步优化小屏幕下的显示 */
    @media (max-width: 480px) {
        .submenu a {
            padding: 6px 8px;
            font-size: 12px;
        }
        
        .submenu-item-row a {
            padding: 6px 3px;
            font-size: 11px;
        }
        
        .submenu a i,
        .submenu-item-row a i {
            width: 12px;
            font-size: 11px;
            margin-right: 3px;
        }
    }
}