#music {
    resize: none;
    width: 370px !important;
}

#spotify-login-container,
#youtube-setup-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 50px;
    margin-top: 10px;
}

#youtube-setup-container {
    margin-bottom: 7px;
}

#spotify-login img {
    width: 50px;  /* Adjust the size as needed */
    height: 50px; /* Adjust the size as needed */
    transition: transform 0.1s ease-in-out;
}

#spotify-login img:hover {
    transform: scale(1.1); /* Slightly enlarges on hover */
}

#spotify-login img:active {
    transform: scale(0.9);
}

#yt-playlist-input {
    padding: 5px;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent for frosted effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgb(var(--text-color, 255, 255, 255));
    font-size: 1rem;
    font-family: 'Bahnschrift', sans-serif;
    outline: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

#yt-playlist-input:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#player-controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#hide-or-show-media-setup,
#reset-player,
#yt-playlist-enter {
    display: flex;
    padding: 8px 3px;
    margin-top: 5px;
    margin-bottom: 10px;
    background: rgba(var(--button-color, 0, 0, 0), 0.2);
    border: none;
    border-radius: 10px;
    color: rgb(var(--text-color, 255, 255, 255));
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-family: 'Bahnschrift', sans-serif;
    justify-self: center;
    align-self: center;
}

#yt-playlist-enter {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#hide-or-show-media-setup:hover,
#reset-player:hover,
#yt-playlist-enter:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

#hide-or-show-media-setup:active,
#reset-player:active,
#yt-playlist-enter:active {
    transform: translateY(1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

#music-controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
    gap: 10px;
}

#spotify-login,
.music-button {
    background: none;
    border: none;
}

.music-button img {
    height: 25px;
    transition: transform 0.1s ease-in-out;
    stroke: rgb(var(--text-color, rgb(255, 255, 255))) !important;
}

#play-pause img {
    height: 27px !important;
}

.music-button img:hover {
    transform: scale(1.1);
}

.music-button img:active {
    transform: scale(0.9);
}

#music-player {
    display: flex;
    flex-direction: row;
}

#music-cover-button {
    margin: 15px;
    margin-top: 13px !important;
    padding: 0px;
    width: 160px;
    height: 90px;
    border: none;
    background: none;
}

#music-cover {
    width: 160px;
    aspect-ratio: 16/9;
    transition: transform 0.1s ease-in-out;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#music-cover:hover {
    transform: scale(1.05);
}

#music-cover:active {
    transform: scale(0.95);
}

#music-info h2 {
    margin-top: 15px;
    margin-bottom: 0px;
    margin-right: 10px;
}

#music-info h3 {
    margin-top: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}

#progressContainer {
    margin: auto;
    margin-bottom: 13px;
    align-self: center;
    width: 90%;
    height: 5px;
    background-color: #ccc;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
}

#progressBar {
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, rgb(var(--icon-color)) 0%, rgb(var(--widget-color)) 100%); /* YouTube-like progress */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
}
