
/* 重置默认样式，避免影响布局 */
body, html, div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 定义上下分割布局 */
#container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 使容器占据整个视口高度 */
    background: #f8f4fc;
}

/* 定义上部分 */
#top {
    /* flex: 1; 让上部分占据可用空间 */
    background: linear-gradient(30deg, #6a1b9a, #ab47bc);
    height: 80px;
    color: #fff;
}

/* 定义下部分 */
#bottom {
    flex: 1; /* 让下部分占据可用空间 */
    display: flex;
}

/* 定义左侧 */
#left {
    /* flex: 1; 让左侧占据可用空间 */
    background-color: #ede7f6;
    width: 280px;
}

/* 定义右侧 */
#right {
    flex: 1; /* 让右侧占据可用空间 */
    background-color: #f3e5f5;
}



  
