﻿.view-song-hero-section {
    position: relative;
    padding-top: 200px;
    padding-bottom: 20px;
    background-color: #f8f9fa;
/*    background-image: url('/Images/BackgroundStars.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1; /* Ensures content stays above overlay */
}

    .view-song-hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Light blackish overlay */
        z-index: -1; /* Keeps overlay behind the content */
    }

@media (max-width: 992px) {
    .view-song-hero-section {
        padding-top: 400px;
    }
}

.song-img-div {
    position: relative;
}

    .song-img-div img {
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

.play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

    .play-btn:hover {
        background: rgba(0, 0, 0, 0.9);
    }

.song-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.author-name {
    color: rgb(6, 91, 188);
    font-weight: 600;
}

.song-details {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.duration-div {
    background: #ececec;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.like-btn {
    background: #ececec;
    color: red;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

    .like-btn i {
        margin-right: 5px;
    }

    .like-btn:hover {
        background: #cfcfcf;
    }





/* line */
.audio-player-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.audio-controls {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
}

/* .like-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  } */

/* .like-btn:hover {
    color: #ff4500;
  }
   */
.play-pause-btn {
    background: #1db954;
    color: white;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.time-label {
    font-size: 14px;
    font-weight: bold;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #555;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #ff4500;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .volume-control input {
        width: 80px;
        cursor: pointer;
    }

@media (max-width: 992px) {
    .volume-control {
        display: none;
    }
}


@media (max-width: 767px) { /* For small screens */
    .audio-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .audio-title {
        text-align: center;
        flex-grow: 1; /* Ensures title stays centered */
    }

    .audio-controls {
        display: flex;
        align-items: center;
        gap: 10px; /* Ensures spacing between button & duration */
    }
}
