form, .editor-container > form {   
    --borderRadius: 0.125rem;    
    border-radius: var(--borderRadius);    
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;    
    }

    .editor-container > form a:focus {   
    outline: 1px dashed;
    outline-offset: 2px;
    }

    .editor-container > form > div {
    order: 2;
    padding-top: 8px;
    }

    .editor-container > label { 
    flex-direction: column;
    font-size: 80%;
    }

    .editor-container > form > label > span {    
    display: block;
    font-size: 0.825rem;
    margin-top: 0.625rem;
    order: 1;
    transition: all 0.25s;
    }

    .editor-container > form > label > span.required::after {
    content: "*"; 
    margin-left: 0.125rem;
    }

    .editor-container > form > label input {
    order: 2;
    outline: none;
    }   

    .editor-container > form> form > input {
    border: 1px solid;
    border-radius: var(--borderRadius);
    box-sizing: border-box;
    font-size: 1rem;  
    line-height: 1.25rem;
    margin-top: 0.25rem;
    order: 2;
    padding: 0.25rem 0.5rem; 
    transition: all 0.25s;
    }

    .editor-container > form > input [type="checkbox"] {
        width: 1rem;
        height: 1rem !important;
        font-size: 0.75rem;
    }

    .editor-container > form > button[type="submit"] {
        font-size: 0.75rem;
        font-weight: bold;
        margin-top: 0.625rem;
        order: 4;
        outline: 1px dashed transparent;
        outline-offset: 2px;
        padding-left: 0;
        text-transform: uppercase;
    }

    /* Generic css used in multiple forms*/
    .editor-input,
    .editor-select {
        height: 32px;
    }
    .editor-input , .editor-textarea {
        width: 65%;
        padding: 8px;
        font-size: 14px;
        border: 1px solid;
        border-bottom: 1px solid;
        outline: none;        
    }
    .editor-select {
        min-width: 200px;
        font-size: 14px;
    }
    .editor-label {
        display: block;
        margin-bottom: 4px;
    }

    @media (max-width: 768px) {
        .editor-input,
        .editor-textarea,
        .editor-select {
            width: 100%;
        }
    }

    form#form-user-feedback {
        align-items: center;
    }

    form, .editor-container > form {   
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
      }



.form-elements-wrapper .form-elements {   
    flex-direction: column;
}

.form-elements-wrapper .form-elements .editor-label {
    margin-bottom: 5px; /* Space between the label and select */
}

.form-elements-wrapper .form-elements .editor-label > a {
    outline: none !important;
}

.link-span > a {
    color: var(--colour-hyperlink); 
    text-decoration: underline;
    padding-left: 16px;

    &:hover {
      color: var(--colour-hyperlink-hover); 
    }

    &:focus {
      color: var(--colour-hyperlink); 
      outline: none !important;
    }
  }  

@media screen and (min-width: 540px) {
    .form-elements-wrapper {       
        gap: 24px; /* Adjust the space between the Category and Classification */
    }

    .link-span > a {       
        padding-left: 0px;   
      }  
 }
 @media screen and (min-width: 820px) {
    .form-elements-wrapper {
        display: flex;
        gap: 24px; /* Adjust the space between the Category and Classification */
    }   
 }


 /*  Tag chips */
 .tag-container {
    display: flex;
    flex-wrap: wrap;
    /*border: 1px solid;*/
    padding: 2px;
    align-items: center;
    position: relative;
    width: 80%;    
  }

  .tag-container > div{
    width: 100%;
  }
    
  .tag-input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 150px;
  }
  
  .selectedTags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0px;
  }
  
  .selectedTags li {  
    align-items: center;
    float: left;
    font-size: 12px;
    min-width: 80px;  
    margin-left: 4px;
    margin-top: 4px;
    /*padding: 0 8px 4px 8px;*/
    padding-left: 10px;
    padding-right: 10px;
    height: 32px;
    line-height: 30px;
    border-radius: 16px;
    border: 2px solid;  
    display: flex;
  }
  
  .selectedTags li .remove-tag {
    margin-left: auto;
    cursor: pointer;  
    padding-left: 10px;
  }
  
  .tagSuggestions {
    z-index: 1;
    list-style: none;
    padding: 0;
    margin-left: -3px;
    border: 1px solid;
    position: absolute;
    top: 100%;   
    width: 300px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
  }
  
  .tagSuggestions li {
    padding: 5px;
    cursor: pointer;
  }
  
