.styled-block {
  margin: 4px 0 -25px !important;
  background: #eef2f4 !important;
  padding: 29px 0 53px !important;
  border: none !important;
}

/* Стили для кастомного чекбокса */
#personal_btn {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 30px;
	height: 30px;
	border: 2px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

#personal_btn:checked {
  border-color: #007bff;
  background-color: #007bff;
}

#personal_btn:checked::after {
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

#personal_btn:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#personal_btn:hover {
  border-color: #007bff;
}

/* Красная рамка при ошибке для чекбокса */
.error #personal_btn {
  border-color: #dc3545;
}

/* Возвращаем синий цвет при отмеченном чекбоксе */
.error #personal_btn:checked {
  border-color: #007bff;
}

/* Стили для контейнера чекбокса */
.resection-license {
	color: #908B8A;
	font-family: "Inter";
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	font-style: initial;
}

/* Стили для полей формы */
.form-group {
	position: relative;
	display: flex;
	margin-bottom: 15px;
	flex-direction: column;
	max-width: 413px;
  gap: 8px;
}

.form-group .input {
	flex: 1;
	width: 100%;
}

.form-group .error {
  color: #dc3545;
  font-size: 12px;
  margin-left: 10px;
  /* Отступ от поля для размещения справа */
  white-space: nowrap;
  /* Предотвращает перенос текста */
}

/* Стили для сообщения об ошибке */
label.error {
  display: inline-block;
  /* Изменяем на inline-block для размещения рядом */
  margin: 0 0 0 10px;
  /* Отступ слева от поля */
  vertical-align: middle;
  /* Выравнивание по вертикали */
}

/* Стили для полей с ошибкой */
.form-group.error .input input,
.form-group.error .input textarea {
  border-color: #dc3545;
  /* Красная рамка для полей с ошибкой */
}

/* Специфичный стиль для ошибки чекбокса */
div[style*="display: flex"] .error {
  color: #dc3545;
}

.resection__descr.resection-catalog__descr {
	font-style: initial;
}