.height-350 {
    padding-bottom: 65px !important
}

.mt-90 {
    margin-top: 90px !important;
}

.folderbox,
.title-hover {
    display: flex;
    position: relative
}

.copy_btn.active::before,
.copy_btn:hover::before,
.download_button:hover::before {
    opacity: 1;
    visibility: visible
}

.folderbox,
.heading-1,
.heading-1 span,
.title-hover,
.tool-div,
.urlbox {
    position: relative
}

.convertbtn,
.heading-1 {
    text-align: center
}

.heading-1 {
    margin-top: 6px
}

.heading-1:before {
    content: "";
    display: block;
    border-top: 2px solid #f0f0f0;
    width: 500px;
    height: 2px;
    position: absolute;
    top: 50%;
    z-index: 0;
    left: -210px
}

.copy_btn::before,
.download_button::before {
    content: attr(data-title);
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    font-size: 12px;
    padding: 2px 5px;
    z-index: 9999;
    visibility: hidden
}

.heading-1 span {
    background: #fff;
    padding: 0 10px;
    z-index: 1;
    color: #d3d3d3
}

.folderbox {
    justify-content: space-evenly;
    align-items: center;
    margin: 10px 0;
    z-index: 3
}

.folderbox span, .folderbox label{
    border-radius: 8px
}

.folderbox span.active {
    background: #eaeaea
}

.title-hover {
    flex-direction: column;
    gap: .5rem
}

.copy_btn::before {
    position: absolute;
    top: 40%;
    left: -50%;
    transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out
}

.copy_btn.active::before {
    top: 80%;
    content: "Copied"
}

.download_button::before {
    position: absolute;
    top: -10%;
    left: -75%;
    transition: opacity .3s ease-in-out
}

.urlbox {
    background: #f7f7f7;
    height: 46px;
    margin-top: 17px;
    border-radius: 10px;
    padding: 9px 14px
}

.urlbox span {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 15px
}

.urlbox input {
    width: 92%;
    height: 31px;
    position: absolute;
    top: 7px;
    z-index: 2;
    left: 49px;
    background: #f7f7f7;
    border: none;
    font-size: 15px;
    color: #000
}

.urlbox input::placeholder {
    color: #b1b1b1
}

.urlbox input:focus {
    outline: 0
}

.convertbtn button {
    margin-top: 25px;
    background-color: #023c89;
    color: #fff;
    font-style: normal;
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
    width: 50%;
    border-radius: 5px;
    border: 1px solid #023c89;
    padding: 10px
}

.pointer {
    cursor: pointer
}

p {
    font-size: 18px;
    line-height: 2;
}

.display-none {
    display: none
}

#resultDiv {
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, .15);
    width: 1000px;
    flex-shrink: 0;
    min-height: 480px;
    max-height: fit-content;
}


.resultHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.resultCount {
    color: #3f3f40;
    font-size: 22px;
    font-weight: 600
}

.downloadZip,
.startOver,
.downloadsinglefile {
    border-radius: 8px;
    padding: 7px 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    text-align: center;
    cursor: pointer
}

.exportBtns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .3rem
}

.downloadZip,
.downloadsinglefile {
    background: #023c89;
    border: none
}

.startOver {
    background: #e55555;
    border: none
}

.d-none {
    display: none !important
}

.results {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    z-index: 9;
    overflow: visible;
}

.results .result_inner {
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 110px;
    overflow: hidden;
    gap: .5rem;
    position: relative;
}

.results .result_inner .img_div {
    width: 100px;
    height: 100%;
    flex: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    padding: 10px;
    border: none
}

.results .result_inner .img_div_pdf {
    width: 100px;
    height: 100%;
    flex: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #fff8f8;
    padding: 10px;
    border: none
}

.results .result_inner .img_div img,
.results .result_inner .img_div_pdf img {
    width: 100%;
    height: 65px;
    flex: 8
}

.results .result_inner .img_div .name,
.results .result_inner .img_div_pdf .name {
    flex: 1;
    color: #000;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px
}

.results .result_inner .result_text {
    font-family: Quicksand;
    flex: 10;
    display: flex;
    height: 100%;
    border-radius: 8px;
    background: #fafafa;
    padding: 5px 50px 5px 5px;
    border: none;
    resize: none
}

.results .result_inner .result_text::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
    border: none;
    background-color: #f5f5f5
}

.results .result_inner .result_text::-webkit-scrollbar-track {
    border-radius: 10px
}

.results .result_inner .result_text::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #023c89
}

.results .result_inner .single_export_btns {
    position: absolute;
    right: 15px;
    z-index: 99
}

.results .result_inner .single_export_btns button {
    background: 0 0;
    border: none;
    height: 40px;
    cursor: pointer
}

.loader, .loaderr {
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: 2s linear infinite spin
}
.table-container::-webkit-scrollbar{
    height: 6px;
}
@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

@media (max-width:1030px) {
    #resultDiv {
        width: 100%;
        padding: 10px
    }
}

@media (max-width:786px) {
    .col2{
        width: 100%;
        overflow: auto;
    }
    .height-350 {
        padding-bottom: 65px !important;
    }
    nav ul li {
        margin: 16px 0
    }

    .section2 .col2 .box2 {
        width: 100%
    }


    .results .result_inner .img_div,
    .results .result_inner .img_div_pdf {
        width: 75px
    }

    .heading-1:before {
        width: 250px;
        left: -105px
    }

    .results .result_inner .img_div .name,
    .results .result_inner .img_div_pdf .name {
        max-width: 100%;
        word-wrap: break-word
    }

    .results .result_inner .single_export_btns button svg {
        width: 24px
    }

    .resultCount {
        font-size: 16px
    }

    .downloadZip,
    .startOver,
    .downloadsinglefile {
        font-size: 14px
    }
}

.counter-files {
    display: flex;
    padding: 10px 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
}

.ml-1 {
    margin-left: 10px;
}
.download_file_div{
    box-shadow: 0px 2px 10px 0px #0000001A;
    border-radius: 10px;
    padding: 10px 6px;
    background-color: #FFFFFF;
    justify-content: space-between;
    align-items: center;
    margin: 10px 1px;
}
.file_info{
    gap: 10px;
    align-items: center;
}
.file__name, .file__size span{
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    color: #3F3F40;
}
download-all-btn-word-js,
.download-btn-word-js,
.edit-btn-word-js{
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    text-align: center;
    cursor: pointer;
    background: #1C385C;
    border: none;
    padding: 10px;
}
.edit-btn-word-js{
    background-color: #EDEFF2;
    color: #1C385C;
}
.table-container {
    max-height: 400px;
    overflow: auto;
    padding-right: 3px;
}
.responsive-table {
    width: 100%;
    min-width: 800px;
    border-spacing: 0;
    text-align: center;
}


.table-container {
    margin-top: -13px;
    background: white;
    width: 100%;
    padding-top: 10px;
    display: none;
}

.table-fixed th, .table-fixed td {
    border: 1px solid #DDE1E7;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #1C385C;
    line-height: 16px;
}
.button_div{
    display: flex;
    gap: 8px;
}
.expand {
    background: none;
    border: none;
    cursor: pointer;
}
.w-full {
    width: 100%;
}
.whitespace-nowrap {
    white-space: nowrap;
}
.p-2 {
    padding: 8px;
}

.error-border {
    border: 1px solid red;
}

.text-red-500 {
    color: red !important;
}
.sections {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.section-1{
    width: 100%;
}
.section-2{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.section{
    background: #fff;
    margin: 16px;
    max-height: 400px;
    overflow: auto;
}
.section .title{
    font-weight: var(--font-weight-semi-bold);
    font-size: var(--font-size-medium);
    line-height: 24px;
    color: var(--color-heading);
    padding-bottom: 16px;
    text-align: left;
}
.field{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-direction: column;
    gap: 4px;
}
.field .value{
    font-size: 14px;
    font-weight: var(--font-weight-semi-bold);
    line-height: 20px;
    color: var(--color-heading);
    text-align: left;
    flex-direction: column;
}
.value div{
    display: flex;
}
.field .label{
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    color: var(--color-disable);
    text-align: left;
}
.value .field{
    padding-left: 10px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.table th, .table td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: left;
    color: var(--color-disable);
}
.table th {
    color: var(--color-heading);
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-semi-bold);
}


@media (max-width:496px) {
    .file_info{
        display: flex;
    }
    .expand{
        width: 32px;
        height: 32px;
    }
    .button_div {
        flex-direction: column-reverse;
        align-items: center;
    }
    .edit-btn-word-js {
        width: 100%;
    }
    .download_file_div{
        gap: 20px;
    }
}
.tool_btns{
    border-radius: 8px;
    padding: 4px;
    background-color: #EDEFF2;
    width: fit-content;
    margin-bottom: 16px;
}
.tool_btn{
    padding: 6px 12px;
    color: #49607D;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    border: none;
    background-color: transparent;
    border-radius: 6px;
    cursor: pointer;
    min-width: 100px;
    max-width: fit-content;
}
.tool_btn.active{
    background-color: #fff;
    color: #1C385C;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
}
#box2{
    padding: 24px !important;
}
.fields-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 61% !important;
    height: 100%;
    position: relative;
}
.fields-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 100%;
    overflow-y: auto;
}
.field-box{
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #DDE1E7;
    border-radius: 8px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}
.field-box>p{
    font-weight: 600px !important;
    font-size: 14px !important;
    margin: 0px !important;
    padding: 0px !important;
    line-height: 20px !important;
    color: #1C385C;
    width: 100%;
    text-align: left;
    overflow: hidden;
    display: inline-block;
    word-break: break-all;
    max-height: 20px;

}
.field-box > p:focus {
    max-height: fit-content;
}
.field-box>span{
    display: flex;
    align-items: center;
    gap: 10px;
}
.field-box>span>button{
    border: none;
    background: transparent;
    cursor: pointer;
    height: 16px;
    width: 16px;
    transition: 0.3s ease;
}
.field-box>span>button:hover{
    transform: scale(1.2);
}
.field-box>img:hover{
    cursor: grab;
}
.upload-and-fields{
    display: flex;
    gap: 16px;
    height: 97%;
}
#box2.height-class{
    height: 480px !important;
}
.divUploadFile{
    height: calc(100% - 56px) !important;
}
.border-none{
    border: none !important;
}
.upload-and-input{
    width: 100%;
}
.h-fit{
    min-height: 142px !important;
    height: fit-content !important;
    max-height: fit-content !important;
}
.add-new-field{
    background-color: #FFF5F2 !important;
    width: 100% !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    min-height: 32px !important;
    max-height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: sticky;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
    color: #F7691D;
    transition: 0.3s ease;
}
.add-new-field:hover{
    background-color: #ffe6de !important;
    border: 1px solid #F7691D !important;
}
.add-new-field.error{
    background-color: #ffd5d5 !important;
    color: red !important;
    border: 1px solid red !important;
}
.add-new-field.error:hover{
    background-color: #ffd5d5 !important;
    color: red !important;
    border: 1px solid red !important;
}
.fields-title{
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0px !important;
    color: #002049 !important;
    margin-top: 0px !important;
    text-align: left !important;
}
@media(max-width: 767px){
    .upload-and-fields{
        flex-direction: column !important;
    }
    .fields-container{
        width: 100% !important;
    }
    #box2.height-class{
        height: fit-content !important;
    }
    .fields-container{
        max-height: 318px !important;
    }
}
@media(max-width: 475px){
    .tool_btns{
        width: 100%;
        display: flex;
        align-items: center;
    }
    .tool_btn{
        min-width: 50% !important;
    }
}
.h-100{
    height: 100% !important;
}
  .sortable-placeholder {
    min-height: 40px !important;
    max-height: fit-content !important;
    background: #f0f4ff;
    border: 2px dashed #4b8df8;
    border-radius: 10px;
    margin: 8px 0;
    transition: all 0.25s ease;
  }
    .ui-sortable-helper {
    background: #e7f0ff !important;
    opacity: 0.9;
    cursor: grabbing !important;
    transform: scale(1.03);
  }
  .mainUploaded{
    max-height: 196px !important;
  }
  
.hidden {
  display: none !important;
}
@media(min-width: 768px){
    .urlbox-custom {
      display: inline-flex;
      align-items: center;
      overflow: hidden;
      width: 0;
      opacity: 0;
      transition: width 0.3s ease, opacity 0.3s ease;
    }
    
    .urlbox-custom.open {
      width: 220px;
      opacity: 1;
    }
    .upload-url-input {
        width: 0;
      opacity: 0;
      border: none;
      outline: none;
      font-size: 14px;
      transition: width 0.3s ease, opacity 0.3s ease;
      background-color: transparent !important;
    }
    
    .upload-url-input.open {
        width: 180px;
        opacity: 1;
        padding: 4px 6px;
    }
    #upload-url-toggle{
        gap: 0px !important;
    }
}
.output-file-options{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
    padding: 16px;
    border-bottom: 1px solid #DDE1E7;
    border-radius: 10px 10px 0 0;
}
.file-info{
    display: flex;
    align-items: center;
    gap: 8px;
}
.preview-thumb{
    height: 40px;
    width: 40px;
    border-radius: 5px;
    object-fit: cover;
}
.file-name, .file-details{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #1C385C;
}
@media(max-width: 600px){
    .output-file-options{
            flex-wrap: wrap;
            gap: 16px;
    }
    .file-info{
        width: 100%;
    }
}
.file-error-message {
    background: #ffeaea;
    color: #d93025;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
    border: 1px solid #f5c2c7;
}
#uploadOverlay{
    min-height: fit-content !important;
}