.edit-buttons {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.edit-buttons-block {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

/**/
.edit-window {
  display: flex;
  flex-direction: column;
  max-width: 500px;

  gap: 10px;
}

.edit-block {
  display: flex;
  flex-direction: column;
  max-width: 500px;

  gap: 10px;
}

/* кнопки */
.edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; 
  width: 180px;
  height: 40px; 
  
  font-family: Arial, sans-serif; 
  font-size: 14px; 
  font-weight: 500; 
  color: #ffffff;
  letter-spacing: 0.5px; 
  text-align: center;

  background-color: #4CAF50; 
  background-color: #000000; 
  border: none;
  border-radius: 5px; 
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: all 0.3s ease-in-out;
}

.edit-button:hover {
  background-color: #45a049; 
  background-color: #444444; 
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05); 
}

.edit-button:active {
  background-color: #3e8e41; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

/**/
.catalog-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.catalog-form-group {
  margin-bottom: 20px;
}

.catalog-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.catalog-form-input,
.catalog-form-select {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.catalog-form-input:focus,
.catalog-form-select:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

.catalog-form-input.readonly {
  background-color: #f0f0f0;
  color: #666;
  cursor: not-allowed;
}

.link-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.link-form-group {
  margin-bottom: 10px;
}

.link-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.link-form-input,
.link-form-textarea,
.link-form-select {
  width: 100%;
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.link-form-input:focus,
.link-form-textarea:focus,
.link-form-select:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

.link-form-textarea {
  height: 100px;
  resize: vertical;
}

.link-form-checkbox {
  margin-right: 8px;
}

.link-form-checkbox-label {
  display: inline-block;
  margin-right: 15px;
  font-size: 14px;
}

.edit-buttons {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.link-save-button {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.link-save-button:hover {
  background-color: #45a049;
}

.link-save-button:active {
  background-color: #3e8e41;
}

/*------- классы сообщений в админке api  ---------*/
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
  color: #fff;
  z-index: 1000;
}

.notification.success {
  background-color: #4caf50; 
}

.notification.error {
  background-color: #f44336; 
}

.link-form-group-edit {
  max-height: 150px;
  overflow-y: auto;
  padding: 3px;

  border: 1px solid rgba(134, 134, 134, 0.548);
}

/* стиль скролла */
.link-form-group-edit::-webkit-scrollbar {
  width: 12px; 
}

.link-form-group-edit::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 6px; 
}

.link-form-group-edit::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 6px; 
  border: 2px solid #f1f1f1; 
}

.link-form-group-edit::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}



/**/

.link-form-select {
  max-height: 200px; 
  overflow-y: auto; 
  overflow-x: hidden; 
}

.link-form-select::-webkit-scrollbar {
  width: 12px; 
}

.link-form-select::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 6px; 
}

.link-form-select::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 6px; 
  border: 2px solid #f1f1f1; 
}

.link-form-select::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}

/**/
.scrollable-select {
  max-height: 200px; 
  overflow-y: auto; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
}

.scrollable-select::-webkit-scrollbar {
  width: 12px; 
}

.scrollable-select::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 6px; 
}

.scrollable-select::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 6px; 
  border: 2px solid #f1f1f1; 
}

.scrollable-select::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}



