/* Background Audio Player - Frontend Styles */

#bgap-player-wrap {
	position: fixed;
	z-index: 999999;
	margin: 20px;
}

/* Positions */
.bgap-position-bottom-left {
	left: 0;
	bottom: 0;
}
.bgap-position-bottom-right {
	right: 0;
	bottom: 0;
}
.bgap-position-top-left {
	left: 0;
	top: 0;
}
.bgap-position-top-right {
	right: 0;
	top: 0;
}

#bgap-toggle-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background-color: rgba(20, 20, 20, 0.55);
	color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: background-color 0.25s ease, transform 0.15s ease;
	padding: 0;
}

#bgap-toggle-btn:hover {
	transform: scale(1.06);
}

#bgap-toggle-btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* Muted state = dark/neutral background */
#bgap-toggle-btn[data-state="muted"] {
	background-color: rgba(20, 20, 20, 0.55);
}

/* Unmuted state = blue accent background, matches active/playing look */
#bgap-toggle-btn[data-state="unmuted"] {
	background-color: #16213e;
}

#bgap-toggle-btn svg {
	pointer-events: none;
}

@media (max-width: 480px) {
	#bgap-player-wrap {
		margin: 14px;
	}
	#bgap-toggle-btn {
		width: 42px;
		height: 42px;
	}
}
