body, html {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
    height: 150px;
  }

.center {
  text-align: center;
}

.page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
  
  .lawyering-form {
    display: flex;
    flex-direction: column;
    gap: 20px; // Same as fxLayoutGap
    width: 100%;
    max-width: 600px; // Adjust based on your design preferences
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #f5f5f5;
  
    .custom-form-field {
      width: 100%; // Ensures form fields take up full width of the form
      appearance: outline;
      
      .text-area-input, .numeric-input, .text-input {
        width: 100%; // Ensures inputs take up full width of their form field
      }
    }
  
    .checkbox-group {
      display: flex;
      flex-direction: row;
      gap: 10px; // For spacing between checkboxes
    }
  
    .submit-button {
      align-self: flex-end; // Aligns the submit button to the end of the form
      background-color: #004d40;
      color: #ffffff;
      font-size: 16px;
      font-weight: 500;
      width: 100%;
    }
  }
  

  @media (max-width: 768px) {
    .lawyering-form {
      max-width: 90%; /* Allows more margin on smaller devices */
    }
    
    .submit-button {
      width: 100%; /* Makes the submit button full width on smaller screens */
      align-self: center; /* Center align if preferred */
    }

    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 10px; // For spacing between checkboxes
    }
  }
  