/* General form styling */
form {
    width: 25em;
    margin: 0 auto;
    margin-top: 6%;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
  }


  .form-group {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="date"],
  input[type="radio"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
  }
  
  /* For radio buttons */
  input[type="radio"] {
    width: auto;
  }
  
  input:focus, textarea:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
  }
  
  button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }
  
  button:hover {
    background-color: #218838;
  }
  
  /* Error message styling */
  .error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
  }
  
  .hidden {
    display: none;
  }
  
  .visible {
    display: block;
  }
  
  /* Additional styling for better form structure */
  input[type="radio"] + label {
    display: inline-block;
    margin-right: 10px;
  }
  
  a {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #007bff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }

  h1 {
    font-weight: bold;
  }

  #signup-form {
    margin-top: 1em;
  }

  #addDescription {
    width: auto;
  }