#licenses_detail {
  padding: 20px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 860px;
}
#licenses_detail::backdrop {
  background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
}

#licenses_detail .modal-content {
  padding: 16px 0;
}

#licenses_detail .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f3f5;
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  margin: -20px;
}

#licenses_detail .modal-header h3{
  margin: 0;
}

#licenses_detail .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f3f5;
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  margin: 20px -20px -20px -20px;
}

/* Кнопка-крестик */
.close-x {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #868e96;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
  margin-left: auto;
}

/* Эффект при наведении на крестик */
.close-x:hover {
  color: #fa5252; /* Красный цвет при наведении */
}

#licenses_detail .modal-footer button {
  margin-left: auto;
}
