body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
}

input[type="text"] {
    width: 70%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    /*margin: 5px;*/
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.song-list, .played-songs {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
}

.song-pic {
    width: 40px;  /* 设置宽度 */
    height: auto; /* 使高度自动调整 */
    margin-right: 10px; /* 图片和文本之间的间距 */
    vertical-align: middle; /* 垂直对齐 */
    border-radius: 8px; /* 设置圆角，值可以根据需要调整 */
    border: 0.5px solid #000; /* 添加 1px 的边框，颜色为黑色 */
}

.download-button{
    width: auto;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
    font-size: 16px;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    padding: 0 10px; /* 添加左右内边距 */
    border: none; /* 去掉默认边框 */
    background-color: #007bff; /* 按钮背景颜色 */
    color: white; /* 字体颜色 */
    border-radius: 5px; /* 按钮圆角 */
}

.song-item {
    padding: 5px;
    cursor: pointer;
    border-bottom: 0.5px solid #ccc; /* 添加底部边框 */
    padding: 5px 0; /* 为上下添加间距 */
}

.song-item:hover {
    background-color: #f0f0f0;
}

.player {
    text-align: center;
    margin-top: 20px;
}

/*model*/
.modal {
    display: none; /* 隐藏弹窗 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
}

.Lmodal {
    display: none; /* 隐藏弹窗 */
    position: fixed;
    z-index: 1000; /* 确保在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* 宽度 */
    text-align: center; /* 居中文本 */
    border-radius: 15px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* 阴影效果 */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
