@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 2s ease-in-out infinite;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ff0000;
  opacity: 0.75;
  position: absolute;
  z-index: -10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-animation-red {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-animation {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0fe628;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Обновленные стили для кастомного модального окна */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.custom-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.custom-modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333; /* Темнее цвет для заголовка */
}

.custom-modal-close {
  color: #666; /* Темнее цвет для кнопки закрытия */
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.custom-modal-body {
  margin-bottom: 15px;
  color: #333; /* Темнее цвет для текста */
}

.custom-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.custom-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.custom-btn-secondary {
  background-color: #6c757d;
  color: white;
}

.custom-btn-primary {
  background-color: #007bff;
  color: white;
}

.custom-btn:hover {
  opacity: 0.8;
}

.object-tools {
    display: flex;
    align-items: center;
}

.object-tools li {
    list-style: none;
    margin-left: 6px;
}


.colorfield_field {
    border-radius: 5px;
    padding: 4px;
    color: black;
}