/* Модальное затемнение */
#feedback-form.modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.feedback-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feedback-toast.show {
  opacity: 1;
  pointer-events: auto;
}

/* Контейнер формы */
#feedback-form .modal-content {
  background-color: #1e1e1e;
  color: white;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

#feedback-form h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #ccc;
  text-align: center;
}

#feedback-form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #bbb;
}

#feedback-form input,
#feedback-form select,
#feedback-form textarea {
  width: 100%;
  padding: 10px;
  background-color: #2a2a2a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

#feedback-form textarea {
  resize: vertical;
  min-height: 80px;
}

#feedback-form .modal-content > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

#feedback-form button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#feedback-form button:hover {
  opacity: 0.9;
}

#feedback-form .close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

#feedback-form .close:hover {
  color: white;
}

#feedback-form .btn-cancel {
  background-color: #c0392b;
  color: white;
}

#feedback-form .btn-send {
  background-color: #2ecc71;
  color: white;
}
