/* ================================
   Basic, clean, modern form styles
   No classes required
   ================================ */

/* Form container spacing */
form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Labels */
  label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #333;
  }
  
  /* Text inputs, email, password, textarea, select */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="url"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    display: block;
    width: 100%;
    padding: 0.55rem 0.7rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  /* Focus state */
  input:focus,
  textarea:focus,
  select:focus {
    border-color: #4b8bf4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 139, 244, 0.2);
  }
  
  /* Textarea */
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Checkboxes and radios */
  input[type="checkbox"],
  input[type="radio"] {
    margin-right: 0.5rem;
  }
  
  /* Form field wrapper (for Django default output) */
  form p,
  form div {
    margin-bottom: 1rem;
  }
  
  /* Help text (Django uses <span class="helptext"> */
  .helptext,
  .help-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
  }
  
  /* Error lists and messages */
  .errorlist {
    margin: 0.25rem 0 0.5rem;
    padding: 0;
    list-style: none;
    color: #b00020;
    font-size: 0.9rem;
  }
  
  .errorlist li {
    margin: 0;
  }
  
  /* Submit buttons */
  button,
  input[type="submit"] {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    font-size: 1rem;
    background: #4b8bf4;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  button:hover,
  input[type="submit"]:hover {
    background: #3a74d8;
  }
  
  button:disabled,
  input[type="submit"]:disabled {
    background: #999;
    cursor: not-allowed;
  }
  