/* Основной стиль модалки */
.cm-modal {
	display: none;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 1000;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

/* Внутреннее содержимое модалки */
.cm-modal-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	width: 295px;
	max-width: 400px;
	height: fit-content;
	font-family: 'Montserrat';
}

/* Заголовок модалки */
.cm-modal-title {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	color: #2f394e; /* Темно-синий цвет */
}

/* Информация о контактах */
.cm-contact-info p {
	margin: 10px 0;
	font-size: 16px;
	color: #333333;
}

.cm-contact-info ul {
	list-style-type: none;
	padding: 0;
}

.cm-contact-info li {
	margin: 10px 0;
}

.cm-contact-link {
	text-decoration: none;
	font-size: 16px;
	color: #2f394e;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.cm-contact-link:hover {
	text-decoration: underline;
	color: #0056b3; /* Синий при наведении */
}

/* Кнопка закрытия */
.cm-btn {
	display: block;
	width: 100%;
	padding: 10px 20px;
	background-color: #f44336; /* Красный */
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	font-size: 16px;
	margin-top: 20px;
	transition: background-color 0.3s ease-in-out;
}

.cm-btn:hover {
	background-color: #d32f2f; /* Более темный красный при наведении */
}

.cm-btn.cm-close {
	background-color: #2f394e; /* Темно-синий для кнопки "Закрыть" */
}

.cm-btn.cm-close:hover {
	background-color: #1e2a3b; /* Темнее при наведении */
}

/* Анимация появления */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
