/* Загальні стилі для форм */
form {
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form textarea {
  height: 80px;
  resize: vertical;
}

form button {
  background-color: #0078D7;
  color: #fff;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #005BB5;
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
}

legend {
  font-weight: bold;
}

.back-link {
  display: block;
  text-align: center;
  margin: 20px 0;
  text-decoration: none;
  color: #0078D7;
}

.back-link:hover {
  text-decoration: underline;
}
