.player {
    background: var(--bg-primary);
    border-radius: 0.375rem;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 60px;
    font-family: 'Roboto', sans-serif;
}

#music-player-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.player-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    flex: 1;
}

.player img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 0.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.radio-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
}

.music-player__info {
    flex: 1;
    min-width: 0;
    color: white;
}

/* Title Styling */
.music-player__title {
    margin: 0 0 0.125rem 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
}

.music-player__title a {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-player__title a:hover {
    text-decoration: underline;
}

.music-player__meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.music-player__author {
    color: var(--text-secondary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-time {
    margin-left: auto;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
}

.progress-bar-container {
    width: 100%;
    height: 2px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background-color: white;
    width: 0%;
    transition: width 0.1s linear;
}

#not-streaming-message {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#not-streaming-message .music-info h4 {
    opacity: 0.7;
}

@media (max-width: 400px) {
    .track-time {
        display: none;
    }
}