.music-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.music-card {
    background-color: #1f1f1f;
    color: #eee;
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    box-shadow: 0 0 10px rgba(0,255,128,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.music-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,128,0.4);
}
.music-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.music-card h3 {
    margin: 10px 0 5px 0;
    font-size: 16px;
    text-align: center;
}
.music-card p {
    font-size: 14px;
    color: #aaa;
    text-align: center;
}
.music-card audio {
    width: 100%;
    margin: 10px 0;
}
.music-card a {
    display: block;
    text-align: center;
    padding: 8px 12px;
    background-color: #0dbf73;
    color: #121212;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px 0;
    transition: background 0.3s;
}
.music-card a:hover {
    background-color: #12e68d;
}

.custom-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1f1f1f;
    border: 2px solid #0dbf73;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(13,191,115,0.4);
    flex-wrap: wrap;
    justify-content: center;
}
.custom-player button {
    background: none;
    border: none;
    font-size: 18px;
    color: #0dbf73;
    cursor: pointer;
}
.custom-player .seek-bar, 
.custom-player .volume-bar {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: #0dbf73;
    border-radius: 5px;
}
.custom-player .seek-bar::-webkit-slider-thumb,
.custom-player .volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}
.custom-player .current-time,
.custom-player .duration {
    font-size: 12px;
    color: #eee;
}

.new-badge-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.new-badge {
    background-color: #ff4757;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .music-card {
        width: 45%;
    }
    .custom-player {
        gap: 5px;
    }
}
@media screen and (max-width: 480px) {
    .music-card {
        width: 100%;
    }
    .custom-player {
        flex-direction: column;
    }
    .custom-player .seek-bar, 
    .custom-player .volume-bar {
        width: 80%;
    }
}


/* More specific search bar styling */
.rps-search-wrapper #rps-search {
    width: 90%;
    max-width: 400px;
    padding: 12px 20px;
    background: #121212 !important;
    color: #0dbf73 !important;
    border: 2px solid #0dbf73 !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    box-shadow: 0 0 10px rgba(13,191,115,0.5);
    outline: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.rps-search-wrapper #rps-search:focus {
    box-shadow: 0 0 15px rgba(13,191,115,0.8);
}

/* Optional: wrapper styling for centering */
.rps-search-wrapper {
    margin-bottom: 30px;
    text-align: center;
}
