 #body {
      font-family: Arial,sans-serif;
      overflow: hidden;
      padding-right: 20px;
      width:600px;
      margin: auto;
      padding-top: 5px;
      font-weight: 100;
      }

      .main-form{
       flex: 1; 
       max-width: 600px;
       padding-right: 75px;
      }
     .note {
      font-size: 12px;
      margin-bottom: 20px;
      color: #1b1919;
      }

      .form-container
      {
    flex: 1; 
    width: 100%;
    max-width: 600px; 
      }


      .error-span {
        color: #f00;
        font-size: 12px;
        margin-top: 5px;
        display: none;
      }

      .error-span.visible {
        display: block;
      }

      .radio-group {
        margin-top: 15px;
      }

      .radio-item {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
      }

      .radio-item input {
        margin-right: 8px;
      }

      .radio-item label {
        display: inline;
      }

      .global-error {
        color: #f00;
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
        display: none;
      }

      .global-error.visible {
        display: block;
      }
      
      .required::after {
        content: "*";
        color: #c06c00;
      }

.section-title {
    --tw-text-opacity: 1;
    color: rgb(27 25 25 / var(--tw-text-opacity));
    font-family: arial, sans-serif;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    line-height: 3.4rem;
      font-weight: 100;

}
 .required::after {
      content: " *";
      color: black;
      }

 label {
     display: block;
    color: rgb(90, 92, 94, 1);
    font-size: 0.96rem;
    margin-bottom: 14.2px;
    line-height: 2.5rem;
      }

 input[type="text"],
      input[type="email"],
      input[type="date"],
      input[type="time"],
      input[type="number"],
      input[type="tel"]{
      border: none;
      border-bottom: 1px solid #6e6e6e;
      outline: none;
      font-size: 14px;
      background-color: rgba(250, 250, 250, 1);
      width: -webkit-fill-available;
      } 

      select {
      border: none;
      border-bottom: 1px solid #6e6e6e;
      outline: none;
      font-size: 14px;
      appearance: none;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23000"/></svg>') no-repeat;
      background-position: right 5px center;
      cursor: pointer;
      width: -webkit-fill-available;
      }

      .error-text {
      color: #ff0000;
      font-size: 12px;
      margin-top: 5px;
      display: none; /* Hide error messages by default */
      }

      .radio-group {
      margin-bottom: 20px;
      }

      .radio-option {
      display: flex;
      align-items: center;
      }

      .radio-option input[type="radio"] {
     margin-right: 10px;
    
      }

      .radio-label{
      color: black;
      font-family: Regular;
      margin-top: 10px;
      }

     

     .submit-btn {
      position: fixed;
      right:15px;
      bottom: 20px;
      background-color: #4e738a;
      color: white;
      border: none;
      cursor: pointer;
      width: auto;
      font-size: 0.9rem;
      font-weight: 500;
      border-radius: 0.2rem !important;
      padding: 10px 20px;
      z-index: 1000;
      transition: background-color 0.3s ease;
      margin-bottom:-8px;
    
   }
      .submit-btn:hover {
      background-color: #2d5f7f;
      box-shadow: 0 6px 20px 0 rgba(0,0,0,0.05), 0 6px 20px 0 rgba(0,0,0,0.05);
      }


      /* Styling for inline error messages */
      .input-container {
      position: relative;
      }

   .error-span {
      color: #AC1010;
      font-size: 10px;
      display: none;
      position: absolute;
      bottom: -18px;
      left: 0;
      margin: 0px 0px 4px;
      }

     /* Show errors when form is submitted and field is invalid */
      form.attempted-submit input:invalid + .error-span,
      form.attempted-submit select:invalid + .error-span {
      display: inline;
      }

      .form-row {
      display: flex;
      gap: 20px;
      }
      .form-group {
      flex: 1;
      margin-bottom: 17px;
      }
     
       .radio-group {
      margin-bottom: 20px;
      margin-top:-8px;
      }

      .radio-item {
      display: flex;
      align-items: center;
      margin-top:-6px;
      }

      .radio-item input[type="radio"] {
     margin-right: 10px;
     margin-top: -8px;   
     accent-color: black;
     width: 18px;            
     height: 18px;
     border: 3px solid #000;
      }

      .radio-label{
      color: black;
      font-family: Arial;
      margin-top: 8px;
      font-size: 0.9rem;
      }

     .radio-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.radio-item input[type="radio"] {
  margin: 0 8px 0 0; 
  accent-color: black;
  width: 18px;
  height: 18px;
}
 .radio-item label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 2.6rem;
}

        #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(250, 250, 250, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .form-container
   {
    flex: 1; 
    max-width: 600px; 
   }

  
  .spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #595959;
    border-bottom: 6px solid #595959;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
#all-error{
bottom: 35px;
font-size: 15px;
}

