.smpp-playlist-wrapper {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    max-width: 600px; /* 可選：限制最大寬度 */
}

.smpp-playlist-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #333;
}

.smpp-audio-player {
    width: 100%; /* 播放器寬度佔滿容器 */
    margin-bottom: 15px;
}

.smpp-now-playing {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
    font-style: italic;
}

.smpp-now-playing .smpp-current-track {
    font-weight: bold;
}

.smpp-track-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px; /* 可選：限制列表高度並啟用滾動條 */
    overflow-y: auto; /* 可選：垂直滾動條 */
    border-top: 1px solid #eee;
}

.smpp-track-item {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.smpp-track-item:hover {
    background-color: #f0f0f0;
}

.smpp-track-item.active {
    background-color: #e0e8f0; /* 高亮當前播放的音軌 */
    font-weight: bold;
    color: #23527c;
}

.smpp-track-number {
    margin-right: 8px;
    color: #888;
    font-size: 0.9em;
    min-width: 20px; /* 給數字一點寬度 */
    text-align: right;
}

.smpp-track-title {
    flex-grow: 1; /* 標題佔據剩餘空間 */
}

.smpp-error {
    color: red;
    font-weight: bold;
}