/* page layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #202020;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

.nav-btn {
    display: inline-block;
    padding: 10px 10px;
    background: #444444;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin: 3px 0px;
}

/* responsive container */
.embed-container,
.embed-container-youtube {
    width: 100%;
    overflow-x: auto;
    background: #505050;
    padding: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.embed-container iframe,
.embed-container-youtube iframe {
    width: 100%;
    min-width: 640px;
    height: 70vh; /* scale with screen height */
    border: none;
    display: block;
}

.player-div {
    width: 100%;
    height: 100%;
    background: black;
}

.audio-card {
    background: rgba(255, 255, 255, 0.05); /* Subtle dark highlight */
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #444;
}

.track-title {
    color: #f0f0f0; !important
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
    display: block;
}

audio {
    width: 100%; /* Makes the player fill the container */
    filter: sepia(20%) hue-rotate(280deg);
}


.next-btn,
.previous-btn,
.refresh-btn{
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 5px;
    background: #0077ff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
}

.refresh-btn {
    width: 75px;
}

/* hover effect */
.next-btn:hover,
.previous-btn:hover,
.refresh-btn:hover{
    background: #005fcc;
}