/* forms.css */

/* 1. Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-weight: 500;
  color: #1a1a1a;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

/* 2. Contact & Generic Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto 2rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}
button[type="submit"],
.btn-submit {
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button[type="submit"]:hover,
.btn-submit:hover {
  background-color: #2563eb;
}

/* 3. Error & Message Lists */
.errorlist,
.error-list {
  background-color: #fee2e2;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.errorlist li,
.error-list li {
  color: #dc2626;
  margin-bottom: 0.25rem;
}
.messages {
  background-color: #fef3c7;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.messages li {
  color: #92400e;
}