/* 全局重置 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #fff9f5 0%, #fff5ed 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
ul { list-style: none; }

/* 容器 */
.container { max-width: 1440px; margin: 0 auto; padding: 0 15px; }

/* 顶部导航 - 只保留logo */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}
.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* 侧边导航栏 */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
    z-index: 90;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.sidebar-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav-menu li {
    margin: 0;
}
.sidebar-nav-menu a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.sidebar-nav-menu a:hover {
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.05);
    border-left-color: rgba(255, 140, 0, 0.3);
}
.sidebar-nav-menu a.active {
    color: #ff8c00;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0) 100%);
    border-left-color: #ff8c00;
}

/* 主内容区域 - 留出侧边栏空间 */
.main-content-wrapper {
    margin-left: 220px;
    min-height: calc(100vh - 60px);
}

/* 响应式侧边栏 */
@media (max-width: 900px) {
    .sidebar-nav {
        width: 180px;
    }
    .main-content-wrapper {
        margin-left: 180px;
    }
}

@media (max-width: 768px) {
    .sidebar-nav {
        position: relative;
        width: 100%;
        top: 0;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .main-content-wrapper {
        margin-left: 0;
    }
    .sidebar-nav-menu {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 5px;
    }
    .sidebar-nav-menu a {
        padding: 10px 16px;
        border-left: none;
        border-radius: 6px;
    }
    .sidebar-nav-menu a:hover,
    .sidebar-nav-menu a.active {
        background: rgba(255, 140, 0, 0.1);
        border-left-color: transparent;
    }
}

/* 通用布局 grid */
.main-layout { display: flex; gap: 20px; margin-top: 20px; margin-bottom: 40px; }
.content-area { flex: 3; }
.sidebar { flex: 1; }

/* 卡片风格 */
.card {
    background: transparent;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* 底部 */
.footer { 
    background: #fff; 
    padding: 30px 0; 
    text-align: center; 
    color: #888; 
    margin-top: 60px; 
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
}