.radio-parent{
	direction:ltr;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color:#000;
}

.player-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 700px;
	background-color:rgb(16 26 36 / 90%);
	padding: 8px;
	box-shadow: 0 0 15px #203347;
}

.controls {
	display: flex;
	justify-content: center;
	width: 100%;
}

.controls i {
	font-size: 25px;
	line-height: 1;
	padding: 5px 10px;
}

.controls i:hover {
	cursor: pointer;
}

.play {
	font-size: 30px;
	margin: 0 20px;
	color:var(--less-dark-blue-color);
}

.progress {
	flex: 1;/* Take remaining space */
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
	padding: 8px;
	background-color: #ffffff0d;
	color: #fff;
}

.progress span {
	font-size: 14px;
	font-weight: 600;
	flex-shrink: 0;
}
.progress .current-song-title{
	flex-shrink: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-right: 10px;
}

.time {
	flex-grow: 1;
	margin: 0 10px;
	border: none;
	font-size: 5px;
}

.time::-webkit-progress-bar {
	border-radius: 5px;
	background: #ccc;
}

.time::-webkit-progress-value {
	border-radius: 5px;
	background:var(--less-dark-blue-color);
}

.time[type="range"]{
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	height: 8px;
}
.time[type="range"]::-webkit-slider-runnable-track{
	height: 6px;
	background: #ccc;
	border-radius: 5px;
}
.time[type="range"]::-webkit-slider-thumb{
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--less-dark-blue-color);
	margin-top: -4px;
}
.time[type="range"]::-moz-range-track{
	height: 6px;
	background: #ccc;
	border-radius: 5px;
}
.time[type="range"]::-moz-range-thumb{
	width: 14px;
	height: 14px;
	border: none;
	border-radius: 50%;
	background: var(--less-dark-blue-color);
}

.player-controls.new-layout {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0;/* Remove extra gap */
}
/* slide-in for global player */
#global-audio-player{
    transform: translateY(100%);
    transition: transform 300ms ease;
}
#global-audio-player.visible{
    transform: translateY(0);
}

.controls,
.volume-container {
	width: 60px;/* Set equal width */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;/* Equal left/right padding */
	box-sizing: border-box;
}
.volume-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.volume-bar {
	display: none;
	position: absolute;
    bottom: 100%; /* Directly above the icon */
    left: 50%;    /* Center horizontally over the icon */
	transform: translateX(-50%);
	background: #fff;
	padding: 8px;
	border-radius: 8px;
	box-shadow: 0 2px 8px #aaa;
	z-index: 10;
}

.volume-icon {
	font-size: 25px;
	cursor: pointer;
}

.volume-slider {
	/*writing-mode: bt-lr;  vertical orientation for most browsers 
	-webkit-appearance: slider-vertical;*/
	writing-mode: vertical-rl;
	direction: rtl;
	width: 8px;
	height: 80px;
}

.volume-container:hover .volume-bar {
	display: block;
}

.bi-play-circle::before,
.bi-stop-circle::before,
.bi-volume-up::before,
.bi-arrow-repeat::before{
	color:#fff;
}

.loading{
    animation: cw-spin 1s linear infinite;
}
@keyframes cw-spin{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}