/**
 * 布局样式 - 在线组局平台
 * 包含：头部、底部导航、页面结构等
 */

/* ========== 头部样式 ========== */
.header {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.back-btn {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 10px;
}

.user-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-info-brief {
    font-size: 13px;
    opacity: 0.9;
}

/* ========== 底部导航 ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    flex: 1;
    padding: 5px;
}

.nav-item.active {
    color: #a6c0ef;
}

.nav-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 3px;
}

/* ========== 区块样式 ========== */
.section {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.section-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.section-more {
    font-size: 12px;
    color: #a6c0ef;
    text-decoration: none;
}

/* ========== 标签切换 ========== */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    background: #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.tab.active {
    background: #a6c0ef;
    color: white;
}

.tab-content {
    display: none;
}

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

