@media (max-width: 767px) {
    /* Apply styles only when the screen width is 767 pixels or less (typical mobile view) */
    #search_value_group .form-control-search {
        width: 118%;
        /* Set the width to 100% for small screens */
    }
    #search_value_group .btn-search {
        width: 100%;
        /* Set the width to 100% for small screens */
        margin-top: 10px;
        /* Add some margin between the text box and button in mobile view */
    }
    #search_value_group .clear-button {
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
}
.input-with-clear {
    position: relative;
    display: inline-block;
    width: 85%;
}
.clear-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
@keyframes shine {
    0% {
        color: #8e44ad;
    }
    50% {
        color: #fff;
    }
    100% {
        color: #8e44ad;
    }
}
.shining-text {
    animation: shine 2s linear infinite;
}
.refresh-icon {
    fill: currentColor;
    transition: transform 0.3s ease-in-out;
}
.refresh-icon.spinning {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
#scanButton,
#switchCamera {
    padding: 1px 1px;
    font-size: 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px;
}
#videoContainer {
    margin-top: 20px;
    max-width: 100%;
}
#qrVideo {
    max-width: 60%;
}
#qrResult,
#errorLog {
    margin-top: 0px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}
#errorLog {
    color: red;
}
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.cover-screen-content {
    text-align: center;
    color: #fff;
}
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.spinner-circle {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 5px;
}
.spinner-circle:nth-child(2) {
    animation-delay: -0.5s;
}
.spinner-circle:nth-child(3) {
    animation-delay: -0.25s;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loading-text {
    font-size: 18px;
    font-weight: bold;
}
100% {
        transform: rotate(360deg);
    }
}
.loading-text {
    font-size: 18px;
    font-weight: bold;
}

/* Music-themed Spinner Animation */
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.note {
    width: 20px;
    height: 20px;
    margin: 10px;
    background-color: #3498db;
    border-radius: 50%;
    position: relative;
    animation: bounce 1.5s infinite ease-in-out;
}

.note::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background-color: #3498db;
    border-radius: 2px;
}

.note1 {
    animation-delay: 0s;
}

.note2 {
    animation-delay: 0.3s;
}

.note3 {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.list-group-item {
    padding: 10px;
}
.select-track-button {
    min-width: 10px;
    /* Ensures all buttons have the same width */
    background-color: #ffcc00;
    /* Contrasting color to #b388ff */
    border-color: #ffcc00;
    color: #000;
    /* Black text for good contrast */
}
.thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
    /* Space between image and text */
}
.flex-grow-1 {
    flex-grow: 1;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    /* Ensures text does not overflow */
    margin-left: 3px;
    /* Space between image and text */
}
.text-muted {
    color: #6c757d;
}
    /* Muted text color for artist name */
}
.d-flex {
    flex-direction: row;
    /* Ensures items are aligned in a row */
    align-items: left;
}
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.player-container {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.song-list {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.song-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.song-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.song-info {
    flex-grow: 1;
}
.now-playing {
    background-color: #e9ecef;
    font-weight: bold;
}
.status-indicator {
    margin-left: 10px;
    font-weight: bold;
}
.status-queued {
    color: #007bff;
}
.status-playing {
    color: #28a745;
}
.status-played {
    color: #6c757d;
}
.controls {
    margin-top: 20px;
}
.modal-content {
    border-radius: 1rem;
    overflow: hidden;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(102, 51, 153, 0.5);
    border-radius: 50%;
    padding: 1rem;
  }

