html body {
    height: 100dvh;
    width: 100dvw;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    vertical-align: bottom;
    font-family: Arial, sans-serif;
}
.radio_player_widget {
    display: flex;
    flex-direction: column;
    height: 80%;
    width: 50em;
    align-items: center;
    border-radius: 2em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;

    background: #7ab6c7;
}

.radio_player_history {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    align-items: center;
    flex-grow: 1;
    border-radius: 2em 2em 0 0;
    width: 100%;
}
.radio_player_nowplaying {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: self-end;
    width: 100%;
    background-color: whitesmoke;
}
.radio_player_artwork img {
    width: 100%;
    height: 100%;
}

.radio_player_artwork {
    border-radius: 0.75em;
    height: 10em;
    width: 10em;
    border: 1px grey solid;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    margin: 1em;
}

.radio_player_metadata {
    display: flex;
    flex-direction: row;
    background-color: whitesmoke;
    width: 38em;
}
#metadata-current {
    width: 50%;
}
.spacer {
    width: 5em;
    background-color: whitesmoke;
}
.radio_player_controls {
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: whitesmoke;
    width: 100%;
    align-self: center;
}
.metadata-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: middle;
    padding-left: 1em;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.metadata-text-33 {
    height: 33%;
    width: 100%;
}

.metadata-span {
    padding-left: 0.25em;
    padding-right: 0.25em;
    flex-grow: 0;
}
.metadata-status {
    padding-left: 0.25em;
    padding-right: 0.25em;
    flex-grow: 1;
    align-items: end;
    text-align: right;
}

#metadata-current-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a2a6c;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0);
}
#metadata-current-artist {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 2px;
}
#metadata-current-show {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 3px;
}
#metadata-next-text {
    font-size: 0.9rem;
    color: #111;
    margin-top: 2px;
}
#metadata-next-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 4px 0;
    border-top: 1px solid #eee;
    color: #1a2a6c;
    overflow-x: hidden;
}
#metadata-next-artist {
    font-size: 0.9rem;
    color: #4a5568;
}
.radio_player_playbutton {
    height: 5em;
    width: 5em;
    background-color: gainsboro;
    border-radius: 0.25em;
    text-align: center;
    vertical-align: middle;
    line-height: 5em;
    font-size: 1em;
}
#artwork {
    border-radius: 0.75em;
}
.hidden {
    display: none;
}

/* Elegant Dark Blue Table - Named "radioTable" */
.radioTable {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background-color: #7ab6c7;
    border-radius: 2em 2em 0 0;
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Table Header */
.radioTable th {
    background-color: #7ab6c7; /* Rich dark blue header */
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 18px 22px;
    text-align: left;
    border-bottom: 3px solid #004080;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Table Body - Cells */
.radioTable td,
.radioTable th {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

/* Alternating row colors (lighter blue tint for even rows) */
.radioTable tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.15);
}

.radioTable tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Hover effect on rows */
.radioTable tbody tr:hover {
    background-color: #5c8895; /* Slightly darker blue on hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

/* Last row border to give a clean finish */
.radioTable tbody tr:last-child {
    border-bottom: 3px solid #004080;
}

/* Responsive design for smaller screens */
@media (max-width: 990px) {
    html {
        height: 100dvh;
        width: 100dvw;
        display: flex;
        align-items: center;
    }
    #metadata-current-title {
        font-size: 2.5rem;
        overflow-x: hidden;
    }
    #metadata-current-artist {
        font-size: 2.4rem;
        overflow-x: hidden;
    }
    #metadata-current-show {
        font-size: 2.3rem;
        overflow-x: hidden;
    }
    #metadata-next-text {
        font-size: 2rem;
    }
    #metadata-next-artist {
        font-size: 1.8rem;
    }
    #metadata-next-title {
        font-size: 1.8rem;
    }
    .metadata-span {
        font-size: 1.2rem;
    }
    body {
        height: 100dvh;
        width: 100dvw;
    }
    .radio_player_artwork {
        border-radius: 0.75em;
        height: 20em;
        width: 20em;
        border: 1px grey solid;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
        margin: 1em;
    }
    .radio_player_playbutton {
        height: 4em;
        width: 4em;
        background-color: gainsboro;
        border-radius: 0.25em;
        text-align: center;
        font-weight: bold;
        vertical-align: middle;
        line-height: 4em;
        font-size: 3em;
    }
    .radio_player_widget {
        display: flex;
        flex-direction: column;
        height: 90%;
        width: 95%;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        background: #7ab6c7;
    }
    .radioTable {
        font-size: 6rem;
        margin: 15px 0;
        border-radius: 0.1em;
    }

    .radioTable th,
    .radioTable td {
        padding: 12px 16px;
        font-size: 2rem;
    }

    .radioTable th {
        font-size: 2rem;
    }
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
.infinite-scroll {
    display: flex;
    animation: scroll 25s linear infinite;
}
