/* === Formular-Container === */
form {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

fieldset {
  border: 2px solid #1565C0;
  border-radius: 10px;
  padding: 20px 30px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

legend {
  font-size: 1.4em;
  font-weight: bold;
  color: #1565C0;
  padding: 0 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

input,
textarea {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #1565C0;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.form-actions input[type="submit"],
.form-actions input[type="reset"] {
  width: 140px;
  height: 35px;
  background-color: #1565C0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.form-actions input[type="submit"]:hover,
.form-actions input[type="reset"]:hover {
  background-color: #0d47a1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}
