/* Contact Form Styles */
.contact-form {
  background: #ffffff;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.625rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border: 1px solid transparent;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1), 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid {
  border-color: #ef4444;
}

.form-group input.border-red-500,
.form-group select.border-red-500,
.form-group textarea.border-red-500 {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group input.border-red-500:focus,
.form-group select.border-red-500:focus,
.form-group textarea.border-red-500:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1), 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.error-message {
  margin-top: 0.25rem;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 500;
  display: none;
}

.error-message:not(.hidden) {
  display: block;
}

.form-message {
  text-align: center;
  font-weight: 600;
  padding: 1rem;
  border-radius: 0.5rem;
  display: none;
  margin-bottom: 1rem;
}

.form-message:not(.hidden) {
  display: block;
}

.form-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.privacy-note {
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.privacy-note a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.privacy-note a:hover {
  text-decoration: underline;
}
