/* DSC Data front-end widgets: chat buttons and cookie banner. */

.dsc-chat {
	position: fixed;
	bottom: 24px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dsc-chat-right { right: 20px; }
.dsc-chat-left  { left: 20px; }

.dsc-chat-btn {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

.dsc-chat-btn:hover,
.dsc-chat-btn:focus {
	transform: scale(1.08);
}

.dsc-chat-btn svg {
	width: 30px;
	height: 30px;
}

.dsc-chat-whatsapp  { background: #25d366; }
.dsc-chat-messenger { background: #0084ff; }

/* Lift the buttons above the cookie banner while it is open. */
body.dsc-cookie-open .dsc-chat { bottom: 110px; }

.dsc-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9995;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	padding: 16px 20px;
	background: #1b1305;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.dsc-cookie[hidden] { display: none; }

.dsc-cookie p {
	margin: 0;
	max-width: 900px;
	color: #fff;
}

.dsc-cookie a {
	color: #ffd200;
	text-decoration: underline;
}

.dsc-cookie-accept {
	background: #ffd200;
	color: #1b1305;
	border: 0;
	border-radius: 24px;
	padding: 8px 28px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 600px) {
	.dsc-chat-btn { width: 48px; height: 48px; }
	.dsc-chat-btn svg { width: 26px; height: 26px; }
	body.dsc-cookie-open .dsc-chat { bottom: 170px; }
}
