/* Chat de 1Bit Woo Shop Agent. Los colores llegan como variables desde los ajustes. */

.onebit-wsa-chat {
	position: fixed;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: inherit;
}

.onebit-wsa-chat--abajo_derecha {
	right: 20px;
	align-items: flex-end;
}

.onebit-wsa-chat--abajo_izquierda {
	left: 20px;
	align-items: flex-start;
}

.onebit-wsa-boton {
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	background: var(--onebit-wsa-principal);
	color: var(--onebit-wsa-secundario);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.onebit-wsa-panel {
	width: 320px;
	max-width: calc(100vw - 40px);
	min-height: 200px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.onebit-wsa-panel[hidden] {
	display: none;
}

.onebit-wsa-cabecera {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 14px 16px;
	background: var(--onebit-wsa-principal);
	color: var(--onebit-wsa-secundario);
}

.onebit-wsa-bienvenida {
	flex: 1;
	margin: 0;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.onebit-wsa-cerrar {
	padding: 0 4px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
