/* Base styles for the employment section */
.custom-fields-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  .custom-fields {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .custom-fields label,
  .custom-fields input {
    width: 100%;
    margin-bottom: 10px;
  }
  
  input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* Accordion styles */
  .accordion-container {
    width: 100%;
  }
  
  .accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
  }
  
  
  .arrow-icon.rotate {
    transform: rotate(90deg);
  }
  
  
  .arrow-icon {
    transition: transform 0.3s ease-in-out;
    display: inline-block;
  }
  

/* CSS to highlight empty mandatory fields */
.error {
  border: 1px solid red !important;
}


.accordion-container {
    margin-top: 20px;
    background: #608869;

  }
  
  .accordion-toggle {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
  }
  
  .accordion-content.open {
    display: block;
    color: #fff;
    padding: 15px;
  }


  .custom-fields-container {
    margin-top: 20px;
  }
  
  h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .custom-fields label,
  .custom-fields input {
    display: block;
    margin-bottom: 10px;
  }
  
  .custom-fields input {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .accordion-container {
    margin-top: 20px;
  }
  
  .accordion-toggle {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
  }
  
  .arrow-icon {
    float: right;
    transition: transform 0.3s ease;
  }
  
  .accordion-content {
    max-height: 0;
    color: #fff;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  

/* Responsive styles */
@media (min-width: 768px) {
    .employment-field {
        flex-direction: row;
        align-items: center;
    }

    .employment-label {
        margin-right: 20px;
        flex: 1;
    }

    .employment-input {
        flex: 2;
    }
}
