body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    text-align: center;
}
header {
    padding: 20px;
    border-bottom: 1px solid #333;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}
.home-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.home-button:hover {
    background-color: #fff;
    color: #000;
}
/* Audio Player Styles */
.player-container {
    background-color: #111;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.controls-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}
.control-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}
.control-btn:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
}
.play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
}
.seek-container {
    width: 100%;
    margin-bottom: 20px;
}
.seek-bar {
    width: 100%;
    height: 5px;
    background-color: #333;
    cursor: pointer;
    border-radius: 5px;
}
.seek-fill {
    height: 100%;
    width: 0;
    background-color: #fff;
    border-radius: 5px;
    transition: width 0.1s;
}
.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #ccc;
    font-size: 12px;
}
.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.volume-icon {
    color: #fff;
    font-size: 18px;
}
.volume-slider {
    width: 100px;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: #333;
    outline: none;
    border-radius: 5px;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.sorting-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.playback-controls {
    display: flex;
    gap: 10px;
}
.sort-btn, .shuffle-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sort-btn:hover, .shuffle-btn:hover, .sort-btn.active, .shuffle-btn.active {
    background-color: #fff;
    color: #000;
}
/* Track List Styles */
.track-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.track-item {
    background-color: #222;
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 4px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.track-item:hover, .track-item.active {
    background-color: #333;
    transform: scale(1.01);
}
.track-columns {
    display: flex;
    width: 100%;
    align-items: center;
}
.track-column {
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.column-title {
    width: 25%;
    font-weight: bold;
}
.column-recorded-by {
    width: 25%;
    color: #ccc;
}
.column-original {
    width: 25%;
    color: #ccc;
}
.column-date {
    width: 15%;
    color: #ccc;
}
.column-duration {
    width: 10%;
    text-align: right;
    color: #ccc;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
    .column-recorded-by,
    .column-duration {
        display: none;
    }
    
    .column-title {
        width: 40%;
    }
    
    .column-original {
        width: 40%;
    }
    
    .column-date {
        width: 20%;
    }
    
    /* Fix for next/previous buttons showing as blue emoticons on mobile */
    #prev-btn, #next-btn {
        color: #fff; /* Keep the same white color as on desktop */
    }
}
/* Sortable headers */
.track-header .track-column[data-sort] {
    cursor: pointer;
    position: relative;
}
.track-header .track-column[data-sort]:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.track-header .track-column[data-sort]:after {
    content: "";
    display: inline-block;
    margin-left: 5px;
}
.track-header .track-column[data-sort].asc:after {
    content: "↓";
}
.track-header .track-column[data-sort].desc:after {
    content: "↑";
}
.track-header {
    display: flex;
    padding: 0 20px 10px 20px;
    color: #fff;
    border-bottom: 1px solid #444;
    margin-bottom: 15px;
    font-weight: bold;
}
.track-header .track-column {
    text-align: left;
}
.track-header .column-duration {
    text-align: right;
}
/* Now Playing Display */
.now-playing {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #444;
}
.now-playing-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}
.now-playing-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}
.now-playing-info {
    color: #ccc;
    font-size: 14px;
}
/* Search Container Styles */
.search-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.artist-select {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 4px;
    min-width: 200px;
    cursor: pointer;
}
.search-label {
    font-size: 14px;
    color: #ccc;
}
/* Loading Indicator Styles */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
    font-size: 14px;
    color: #ccc;
}
.loading-text {
    margin-right: 10px;
}
.loading-progress {
    height: 4px;
    background-color: #333;
    width: 200px;
    border-radius: 2px;
    overflow: hidden;
}
.loading-bar {
    height: 100%;
    background-color: #007bff;
    width: 0;
    transition: width 0.3s ease;
}
