/* /public/css/forms.css */

/* Basic form layout */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  /* Group spacing for label/input pairs */
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  /* Labels */
  label {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  /* Input fields */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="file"],
  textarea,
  select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  }
  
  /* Submit button */
  button[type="submit"] {
    background-color: #000;
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  button[type="submit"]:hover {
    background-color: #333;
  }
  
  /* Form footer paragraph */
  .form-footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  /* Form Page */
.form-page {
  max-width: 400px;
  width: 100%; /* ensures responsive scaling */
  padding: 1rem;
  font-family: sans-serif;
}

.form-page h1,
.form-page-wide h1 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
  
  /* section form */
  .section-form {
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 720px;
  }
  
  .form-page-wide {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem;
    font-family: sans-serif;
  }
  
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .form-row select {
    flex: 1;
    min-width: 80px;
  }

textarea {
  font-family: inherit;
  line-height: 1.5;
}

  