﻿
.video_container {
    position: relative;
}

.xxSite_player .jp-gui.start {
    display: block !important;
}

.xxSite_player .jp-gui {
    bottom: 0;
    height: 100% !important;
    left: 0;
    position: absolute;
    width: 100%;
}

.xxSite_player li {
    float: left;
    list-style: outside none none;
}

.xxSite_player .jp-video-play {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.xxSite_player .jp-video-play-icon {
    display: block;
    height: 40px;
    margin: auto;
    width: 40px;
    text-indent: -9999px;
}

.xxSite_player .jp-interface {
    background: rgba(0, 0, 0, 0) linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)) repeat scroll 0 0;
    bottom: 0;
    height: 60px;
    position: absolute;
    width: 100%;
}

.xxSite_player .jp-video-play {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.xxSite_player .jp-play,
.xxSite_player .jp-pause,
.xxSite_player .jp-mute,
.xxSite_player .jp-unmute,
.xxSite_player .jp-video-play-icon,
.xxSite_player .jp-restore-screen,
.xxSite_player .jp-full-screen {
    background: rgba(0, 0, 0, 0) url("{$xxSite_img_url}/player.png") no-repeat scroll 0 0;
}

.xxSite_player .jp-pause {
    background-position: 0 -221px !important;
}

.xxSite_player .jp-play,
.xxSite_player .jp-pause,
.xxSite_player .jp-mute,
.xxSite_player .jp-unmute,
.xxSite_player .jp-settings,
.xxSite_player .jp-restore-screen,
.xxSite_player .jp-full-screen {
    display: block;
    height: 25px;
    margin: 0 20px;
    width: 25px;
    position: absolute;
}

.xxSite_player .jp-play {
    background-position: 0 -246px;
}

.xxSite_player .jp-controls-holder {
    padding: 20px 0;
}

.button_player_holder {
    float: right;
    margin-top: 16px;
}

.button_player img {
    width: 22px;
    height: 22px;
}

.sc_button_player img{
    width: 22px;
}

.xxSite_player .jp-progress-holder {
    height: 25px;
    left: 56px;
    padding: 6px 0 0;
    position: absolute;
    right: 190px;
}

.xxSite_player .jp-duration {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6em;
    position: absolute;
    right: 132px;
}

.xxSite_player .jp-full-screen, .jp-restore-screen {
    right: 0;
}

.xxSite_player .jp-full-screen {
    background-position: 0 -146px;
}

.xxSite_player .jp-unmute {
    background-position: 0 -196px !important;
}

.xxSite_player .jp-mute {
    background-position: 0 -371px !important;
}

.xxSite_player .jp-mute, .xxSite_player .jp-unmute {
    right: 70px;
}

.xxSite_player .jp-settings {
    background: rgba(0, 0, 0, 0) url("{$xxSite_img_url}/acp.png") repeat scroll 0 0 / contain;
    right: 35px;
}

.xxSite_player .jp-seek-bar, .xxSite_player .jp-play-bar, .xxSite_player .jp-progress {
    background: rgba(255, 255, 255, 0.3) none repeat scroll 0 0;
    border-radius: 8px;
    height: 12px;
}

.xxSite_player .jp-play-bar {
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
}

.xxSite_player div.jp-video-full div.jp-jplayer {
    top: 0;
    left: 0;
    position: fixed !important;
    position: relative; /* Rules for IE6 (full-screen) */
    overflow: hidden;
}

.xxSite_player div.jp-video-full div.jp-gui,
.xxSite_player .jp-audio.jp-state-full-screen div.jp-gui {
    position: fixed !important;
    position: static; /* Rules for IE6 (full-screen) */
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1001; /* 1 layer above the others. */
}

.xxSite_player .jp-restore-screen {
    background-position: 0 -172px;
}

.xxSite_player .jp-video-full .jp-controls-holder,
.xxSite_player .jp-audio.jp-state-full-screen .jp-controls-holder {
    margin: auto;
    max-width: 1280px;
    position: relative;
}

.xxSite_player .jp-audio .jp-title {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    color: #FFFFFF;
    display: inline !important;
    font-weight: bold;
    left: 0;
    max-width: 80%;
    padding: 10px;
    position: absolute;
    top: 0;
}

.xxSite_player .jp-playlist {
    bottom: 50px;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.xxSite_player .jp-playlist li {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    width: 100%;
}

.xxSite_player .jp-playlist-current a {
    color: rgba(248, 197, 116, 1);
}

.xxSite_player .jp-playlist div {
    padding: 7px;
}

.xxSite_beat_player .jp-type-playlist {
    margin: auto;
    max-width: 1140px;
    position: relative;
}

.xxSite_player .jp-control-settings {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    bottom: 50px;
    padding: 6px;
    position: absolute;
    right: 10px;
    z-index: 500;
}

.xxSite_player .jp-volume-bar {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    border-radius: 8px;
    bottom: 44px;
    height: 21px;
    overflow: hidden;
    position: absolute;
    right: 53px;
    width: 100px;
    cursor: pointer;
}

.xxSite_player .jp-volume-bar-value {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    border-radius: 8px;
    height: 17px;
    margin: 2px;
}

.xxSite_player.audio .jp-settings {
    right: 0;
}

.xxSite_player.audio .jp-mute, .xxSite_player.audio .jp-unmute {
    right: 35px;
}

.xxSite_player.audio .jp-duration {
    right: 95px;
}

.xxSite_player.audio .jp-volume-bar {
    right: 25px;
}

.xxSite_player.audio .jp-progress-holder {
    right: 158px;
}

.xxSite_player .jp-video-play-icon.replay {
    background-position: 0 -41px;
}

.xxSite_player .jp-play.replay {
    background-position: 0 -321px;
}

.xxSite_player .jp-title {
    margin: 2em;
}

.xxSite_player .jp-control-settings span {
    color: white;
}

.button_player div.jp-interface ul.jp-controls a.jp-play,
.button_player div.jp-interface ul.jp-controls a.jp-pause {
    display: none;
}

li.jp-playlist-current {
    background: #FFCC66 none repeat scroll 0 0;
}

.xxSite_player {
    position: relative;
}

.xxSite_player .jp-playlist-current a {
    color: #FFCC66;
}

.jp-playlist-item {
    color: #EEEEEE;
}


/* Add this CSS to your existing <style> block */

.jp-time-holder {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #4a5568;
    margin-top: -0.75rem; /* Pulls time up closer to the bar */
}

/* This makes sure the progress bar has a cursor to show it's clickable */
.jp-seek-bar {
    cursor: pointer;
}


        body {
            font-family: 'Inter', sans-serif;
            background-color: #f0f2f5;
        }
        .audio-card-container {
            background-color: #f0f2f5;
            width: 100%;
        }
        .audio-card-layout {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem;
        }
        @media (min-width: 768px) {
            .audio-card-layout {
                flex-direction: row;
                padding: 1.5rem;
            }
        }
        .audio-image-section {
            flex-shrink: 0;
            width: 100%;
        }
        @media (min-width: 768px) {
            .audio-image-section {
                width: 25%;
            }
        }
        .audio-image-link {
            display: block;
            width: 100%;
            height: 100%;
        }
        .audio-image {
            width: 100%;
            height: auto;
            border-radius: 0.5rem;
            object-fit: cover;
        }
        .audio-content-section {
            flex-grow: 1;
            color: #1a202c;
            width: 100%;
        }
        @media (min-width: 768px) {
            .audio-content-section {
                width: 75%;
            }
        }
        .audio-title-section {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .audio-play-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            border-radius: 9999px;
            background-color: #00aaff;
            color: #000;
        }
        .audio-play-icon {
            width: 1.25rem;
            height: 1.25rem;
        }
        .audio-text-group {
            display: flex;
            flex-direction: column;
        }
        .audio-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #000;
        }
        .audio-details {
            display: flex;
            align-items: baseline;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: #4a5568;
            margin-left: 0.25rem;
        }
        .audio-genre {
            font-size: 1rem;
            font-weight: 500;
            color: #000;
            text-decoration: none;
        }
        .audio-info {
            color: #4a5568;
            text-decoration: none;
        }
        .audio-progress-bar {
            height: 0.25rem;
            width: 100%;
            background-color: #d1d5db;
            border-radius: 9999px;
            margin-top: 1.25rem;
            margin-bottom: 1rem;
            overflow: hidden;
        }
        .audio-progress {
            background-color: #00aaff;
            height: 100%;
            width: 45%;
            border-radius: 9999px;
        }
        .audio-time {
            font-size: 0.75rem;
            color: #4a5568;
        }
        .audio-licenses-container {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            margin-top: 1rem;
        }
        .license-button {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            color: #000;
            font-weight: 700;
            text-decoration: none;
            font-size: 0.875rem;
            transition-property: transform;
            transition-duration: 150ms;
            transform: scale(1);
        }
        .license-button:hover {
            transform: scale(1.02);
        }
        .non-exclusive-license {
            background-color: #00aaff;
        }
        .members-license {
            background-color: #facc15;
        }
        .original-price {
            color: #4a5568;
            font-weight: 400;
            margin-right: 0.5rem;
            text-decoration: line-through;
        }
        .exclusive-contact {
            margin-top: 1rem;
            text-align: center;
            color: #4a5568;
        }
        .social-icons-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            color: #00aaff;
        }
        .social-icon {
            font-size: 1.25rem;
            color: #00aaff;
            transition-property: color;
            transition-duration: 150ms;
        }
        .social-icon:hover {
            color: #00aaff;
        }


.jp-progress {
    height: 0.25rem;
    width: 100%;
    background-color: #d1d5db;
    border-radius: 9999px;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Styling for the progress bar that fills up */
.jp-play-bar {
    background-color: #00aaff;
    height: 100%;
    border-radius: 9999px;
}

/* Styling for the current time and total duration displays */
.jp-current-time, .jp-duration {
    font-size: 0.75rem;
    color: #4a5568;
}
/* Make the seek bar a positioning container */
.jp-seek-bar {
    position: relative; /* This is crucial */
    cursor: pointer;
}

/* Style for the new draggable handle */
#jp-play-head {
    position: absolute;
    top: 50%; /* Vertically center the handle */
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: #1e1e1e;
    border-radius: 50%; /* Makes it a circle */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-left: -8px; /* Offset by half its width to center it on the line */
    cursor: grab;
}

#jp-play-head:active {
    cursor: grabbing;
}
/* Main container for the progress bar */
.jp-progress {
    height: 4px; /* A thin bar */
    width: 100%;
    background-color: #d1d5db; /* Light grey for the track */
    border-radius: 9999px;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* The seek bar inside, which will hold the markers */
.jp-seek-bar {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;

    /* --- This creates the markers using CSS gradients --- */
    background-image:
        linear-gradient(to right, #a0aec0, #a0aec0),
        linear-gradient(to right, #a0aec0, #a0aec0),
        linear-gradient(to right, #a0aec0, #a0aec0);
    background-repeat: no-repeat;
    /* Position markers at 25%, 50%, and 75% */
    background-position: 25% 50%, 50% 50%, 75% 50%;
    /* 1px width, 8px height (taller than the bar) */
    background-size: 1px 8px, 1px 8px, 1px 8px;
}

/* The dark bar that shows the current progress */
#my-play-bar {
    background-color: #1e1e1e; /* Dark color as requested */
    height: 100%;
    border-radius: 9999px;
}

/* The handle, styled to be bigger than the bar */
#jp-play-head {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;   /* Bigger than the 4px bar */
    height: 16px;  /* Bigger than the 4px bar */
    background-color: #1e1e1e;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-left: -8px; /* Centers the handle on the line */
    cursor: grab;
    z-index: 2; /* Ensures handle is above markers */
}

/* Changes cursor to 'grabbing' when clicked */
#jp-play-head:active {
    cursor: grabbing;
}

