body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* 纵向排列子元素 */
    height: 100vh; /* 使页面高度占满视口 */
}
#musicSearchLabel {
    display: inline-block; /* 使标签成为行内块级元素 */
    background-color: lightblue; 
    vertical-align: middle; /* 垂直对齐 */
}
#player {
    background: #fff;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: sticky; /* 使其固定在顶部 */
    top: 0; /* 距离顶部0 */
    z-index: 10; /* 确保在其他元素之上 */
}
#musicSearch{
margin: 2px;
}
#currentSong {
    font-size: 12px;
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden;    /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
}
#content {
    flex: 1; /* 使内容部分占据剩余空间 */
    overflow-y: auto; /* 允许垂直滚动 */
    padding: 0px; /* 内边距 */
}
#playlist {
    list-style-type: none;
    padding: 0;
    margin: 0; /* 上下外边距 */
}
#playlist li {
    padding: 0px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap; /* 禁止换行 */
    justify-content: flex-start; /* 左对齐 */
}

.delete-button {
    background: rgb(34, 148, 241);
    color: white;
    border: none;
    padding: 0px 10px;
    margin: 3px;
    cursor: pointer;
    border-radius: 5px;
}
.header {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center;/*  使得两个子元素在主轴上居中对齐。 */
    align-items: center; /* 垂直居中对齐 */
    padding: 10px; /* 添加内边距 */
}
h2 {
    margin: 0; /* 去掉默认的外边距 */
}
.home-link {
    padding: 5px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-left: 50px; /* 设置与h2之间的距离，15个字符宽度 */
    z-index: 10; /* 确保在其他元素之上 */
}

.home-link:hover {
    background-color: #0056b3;
}
#bottom {
    background-color: #f4f4f4;
    height: 20px; /* 固定高度为20px */
    position: relative; /* 使其相对定位 */
    bottom: 0; /* 放置在底部 */
}
h5 {
    margin: 5px 0; /* 设置上下边距为5px */
    font-size: 14px; /* 调整字体大小 */
}
#selectFilesBtn {
margin-left: 10px;
margin-right: 10px;
}
.current-playing {
background-color: #f28af2; /* 选择一个您喜欢的颜色 */
}
.findkey{
    background-color: #67b7f9;
}