#chat-button-container {
	position: fixed;
	bottom: 9rem;
	right: 3rem;
	z-index: 9999;
	font-family: sans-serif;
}

#chat-toggle-button {
	background: #0073e6;
	color: #fff;
	border-radius: 50%;
	width: 4.5rem;
	height: 4.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 2.3rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	transition: background 0.3s;
}

#chat-toggle-button:hover {
	background: #fff;
	border: 0.2rem solid var(--wf-main-color);
}

#chat-options {
	display: none;
	flex-direction: column;
	position: absolute;
	bottom: 60px;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#chat-options a {
	margin: 5px 0;
	background: #f0f0f0;
	border-radius: 5px;
	text-decoration: none;
	color: #000;
	font-size: 14px;
	text-align: center;
	transition: background 0.2s;
}

#chat-options a:hover {
	background: #e0e0e0;
	border-radius: 50%;
}


.chat-desktop {
	display: block;
}

@media (min-width: 601px) {
	.chat-mobile {
		display: none !important;
	}
}

/* Нижняя панель (мобильные) */
#chat-mobile-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #f9f9f9;
	display: flex;
	justify-content: space-around;
	padding: 10px 0;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	z-index: 999;
}

#chat-mobile-bar a {
	flex: 1;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #25d366;
	margin: 0 10px;
	padding: 5px;
	border-radius: 6px;
}

#chat-mobile-bar a:nth-child(2) {
	background: #0088cc;
}


/* Адаптивность */
@media (max-width: 600px) {
	.chat-desktop {
		display: none;
	}
	.container-chat-message{
		display: none !important;
	}
	.chat-mobile {
		display: flex !important;
	}
}