/* 风水模块侧边栏样式 */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #2c1810 0%, #1a1a1a 100%);
    backdrop-filter: blur(10px);
    border-right: 2px solid #daa520;
    padding: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 69, 19, 0.3);
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-category {
    margin-bottom: 20px;
}

.category-title {
    color: #daa520;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px 10px;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
    line-height: 1.4;
}

.function-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.function-item {
    margin-bottom: 8px;
}

.function-link {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 16px;
}

.function-link:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #daa520;
    border-left-color: #daa520;
    transform: translateX(5px);
}

.function-link.active {
    background: rgba(218, 165, 32, 0.2);
    color: #daa520;
    border-left-color: #daa520;
}

/* 主内容区域适配固定侧边栏 */
.main-container {
    margin-left: 280px;
}

.content-area {
    flex: 1;
    min-height: calc(100vh - 70px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
    
    .main-container {
        margin-left: 0;
    }
    
    .function-link {
        padding: 12px 15px;
        font-size: 14px;
    }
} 