/* Modern Quran Player Styles */
.quran-player-wrapper {
    background: linear-gradient(135deg, #093028 0%, #237a57 100%);
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.player-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.player-header .surah-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.player-header .reciter-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Controls */
.modern-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.modern-controls a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-controls a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
}

.modern-controls a.jp-play,
.modern-controls a.jp-pause {
    width: 55px;
    height: 55px;
    background: #fff;
    color: #093028;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modern-controls a.jp-play:hover,
.modern-controls a.jp-pause:hover {
    background: #f8f9fa;
    transform: scale(1.05) translateY(-2px);
}

/* Progress Area */
.progress-area {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.jp-progress {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.jp-seek-bar {
    width: 0px;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.jp-play-bar {
    background: #fff;
    height: 100%;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Volume Row */
.volume-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.volume-row a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.volume-row a:hover {
    color: #fff;
}

.jp-volume-bar {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.jp-volume-bar-value {
    background: #fff;
    height: 100%;
    border-radius: 3px;
}

/* Playlist Styling */
.modern-playlist-container {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.jp-playlist {
    max-height: 400px;
    overflow-y: auto;
}

.jp-playlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jp-playlist li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.jp-playlist li:last-child {
    border-bottom: none;
}

.jp-playlist li:hover {
    background: #f8f9fa;
}

.jp-playlist li.jp-playlist-current {
    background: rgba(35, 122, 87, 0.05);
    border-left: 4px solid #237a57;
}

.jp-playlist li>div {
    display: flex;
    align-items: center;
    width: 100%;
}

.jp-playlist a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    display: block;
    width: 100%;
    font-size: 1rem;
}

.jp-playlist-current a {
    color: #237a57;
    font-weight: 600;
}

.jp-playlist .jp-free-media {
    display: none;
}

.jp-playlist::-webkit-scrollbar {
    width: 6px;
}

.jp-playlist::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.jp-playlist::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

.jp-playlist::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

.jp-jplayer {
    width: 0px;
    height: 0px;
}