/* AC Botón Flotante — estilos propios, no dependen del tema activo. */

.acbf-boton {
	position: fixed;
	bottom: 20px;
	z-index: 9999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.acbf-derecha { right: 16px; }
.acbf-izquierda { left: 16px; }

.acbf-principal {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 26px rgba(13, 23, 42, 0.28);
	font-size: 1.6rem;
	transition: transform .15s ease, box-shadow .15s ease;
	padding: 0;
}
.acbf-principal:hover { transform: translateY(-2px); }
.acbf-principal:active { transform: scale(.94); }

.acbf-color-menta .acbf-principal { background: #0ea5a0; color: #fff; }
.acbf-color-azul .acbf-principal { background: linear-gradient(135deg, #14b8a6, #1565c0); color: #fff; }
.acbf-color-oscuro .acbf-principal { background: #0d3f78; color: #fff; }

.acbf-panel {
	position: absolute;
	bottom: 74px;
	width: min(88vw, 300px);
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 16px 38px rgba(13, 23, 42, 0.22);
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px) scale(.97);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
}
.acbf-derecha .acbf-panel { right: 0; transform-origin: bottom right; }
.acbf-izquierda .acbf-panel { left: 0; transform-origin: bottom left; }

.acbf-panel.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.acbf-panel-cabecera {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: #f4f6f8;
	font-weight: 800;
	color: #0d3f78;
}
.acbf-cerrar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #5a6472;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.acbf-panel-items { padding: 8px; }
.acbf-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 12px;
	border-radius: 12px;
	font-weight: 700;
	color: #1a2233;
	text-decoration: none;
}
.acbf-item:hover { background: #f4f6f8; text-decoration: none; }
.acbf-item-icono { font-size: 1.25rem; width: 28px; text-align: center; flex: none; }

@media (max-width: 480px) {
	.acbf-boton { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.acbf-panel, .acbf-principal { transition: none; }
}
