.d-none {
    display: none !important;
}

.col2 {
    width: 100%;
    max-width: 1168px;
}

.box1 {
    padding: 24px 0px;
    margin: 0 auto !important;
    max-width: 800px;
}

.box1 .lineheight {
    margin: 0px !important;
}

.box1 p {
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    text-align: center !important;
    color: #49607D !important;
}

.box2_upper {
    padding: 0 !important;
}

#box2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 364px !important;
    box-shadow: 0px 4px 12px 0px #2A140E0D,
        0px 24px 64px -20px #891E0033 !important;

    &.h-fit {
        height: fit-content !important;
    }
}

.divUploadFile {
    height: 100% !important;
    border-width: 1px !important;
    min-height: 136px !important;

    &:hover {
        background-color: #f9fafe !important;
    }
}

.tool-action-area {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.uploadOverlay {
    background-color: #F9FAFE !important;
    border-radius: 10px !important;
}

.overlay_p {
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    text-align: center !important;
    color: #8E9BAE !important;
    margin: 0 !important;
}

#second-loader {
    justify-content: flex-end !important;
    margin: 0px !important;
}

.inner-title {
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    text-align: center !important;
    color: #8E9BAE !important;
    margin: 0 !important;
}

.inner-title-desktop {
    display: block;
}

.inner-title-mobile {
    display: none;
}

.folderbox-bankstatement {
    display: flex;
    width: 230px !important;
    z-index: 3;
    cursor: pointer;
}

label[for="file"] {
    width: 100%;
    padding: 12px 24px;
    border: 0px !important;
    border-radius: 8px;
    background-color: #023c89;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    transition: 0.3s ease-in-out;

    img {
        display: none;
    }

    &:hover {
        background-color: #002049 !important;
    }
}

#url-togal {
    min-width: 44px;
    min-height: 44px;
    transition: 0.3s ease-in-out !important;

    .paste-url-text {
        display: none;
    }

    &:hover {
        background-color: #edeff2 !important;
    }
}

.counter-files {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uploaded-images-text {
    width: 100%;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    text-align: left !important;
    color: #1c385c !important;
}

.mainUploaded {
    min-height: fit-content;
}

.imageUploaded {
    max-height: 196px;
    overflow-y: auto;
}

.images-div {
    padding: 0;
}

.image-div {
    padding: 4px 10px 4px 5px !important;
    border: 1px solid #DDE1E7 !important;
    box-shadow: 0px 1px 2px 0px #0000000D !important;
}

.image-div-section-1,
.image-div-section-2 {
    width: fit-content;
    max-width: fit-content;
}

.crop_button {
    padding: 6px 12px !important;
    border-radius: 8px !important;
    background-color: #edeff2 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    text-align: center !important;
    color: #1c385c !important;
    transition: 0.3s ease-in-out !important;

    &:hover {
        background-color: #cfdaeb !important;
    }
}

.delete_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    border: none;
    border-radius: 8px;
    background-color: #e853531a;
    cursor: pointer;
    transition: 0.3s ease-in-out;

    &:hover {
        background-color: #e8535333 !important;
    }
}

.action-buttons {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
}

#captcha {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.action-buttons .clearAll-btn,
#submitBtn {
    min-width: 160px;
    margin-top: 0px !important;
    padding: 12px 48px;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    border: none !important;
    box-shadow: none !important;
}

.clearAll-btn {
    max-width: fit-content !important;
    border: none !important;
    border-radius: 6px !important;
    outline: none !important;
    background-color: #E853531A !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #E85353 !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;

    &:hover {
        background-color: #e8535333 !important;
    }

    &:disabled {
        cursor: not-allowed !important;
        opacity: 0.6;
    }
}

#submitBtn {
    &:hover {
        background-color: #002049 !important;
        color: #fff !important;
    }

    &:disabled {
        cursor: not-allowed !important;
        opacity: 0.6;
    }
}

.tool-footer {
    position: static;
    padding: 0;
}

#resultDiv {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 4px 12px 0px #2A140E0D,
        0px 24px 64px -20px #891E0033;
}

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

.resultCount {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #1c385c;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#clearAll-btn,
.downloadZip {
    padding: 6px 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    text-align: center;
    border: none;
    border-radius: 8px;
    color: #fff !important;
    transition: 0.3s ease-in-out;
}

#clearAll-btn {
    background-color: #e55555 !important;
}

.downloadZip {
    background: #023c89;
    cursor: pointer;

    &:hover {
        background: #002049;
    }
}

.downloadZip:disabled,
#clearAll-btn:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
}

.results {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.download_file_div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 16px;
}

.generated-item {
    border: 1px solid #DDE1E7;
    box-shadow: 0px 1px 2px 0px #0000000D;
    border-radius: 10px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    padding: 15px 16px;
    background-color: #fff;
}

.generated-item.error-border {
    padding: 7px 8px !important;
}

.file_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file__name,
.file-size-text {
    font-weight: 500;
    color: #1C385C;
    font-size: 14px;
    line-height: 20px;
}

.file-size-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.size-mobile {
    display: none !important;
}

.error-border {
    border: 1px solid #E85353;
}

.file-error-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    color: #E85353;
}

.button_div {
    display: flex;
    gap: 8px;
}

.main-btns-div:not(.d-none),
.edit-btns-div:not(.d-none) {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    min-width: 178px;
}

.expand {
    background: none;
    border: none;
    cursor: pointer;
}

.camera {
    background-color: #EDEFF2 !important;
    height: 44px;
    border: none !important;
}

.edit-btn-js,
.copy-btn-js,
.download-btn-js,
.save-btn-js,
.cancel-btn-js {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.download-btn-js {
    background-color: #1C385C;
    color: #fff;

    &:hover {
        background-color: #002049;
    }
}

.edit-btn-js,
.copy-btn-js,
.save-btn-js {
    background-color: #EDEFF2;
    color: #1C385C;

    &:hover {
        background-color: #CFDAEB;
    }
}

.cancel-btn-js {
    background-color: #E853531A;
    color: #E85353;

    &:hover {
        background-color: #E8535333;
    }
}

.file-action-btns-mobile {
    display: none !important;
}

.table-container {
    display: none;
    width: 100%;
    padding-right: 3px;
    background: #fff;
    overflow: auto;
    max-height: 404px;
}

.table-container::-webkit-scrollbar {
    height: 6px;
}

.table-fixed {
    width: 100%;
    min-width: 800px;
    margin-bottom: 10px;
    border-spacing: 0;
    border: 1px solid #DDE1E7;

}

.table-fixed th,
.table-fixed td {
    padding: 6px;
    box-shadow: 0 0 0 0.5px #DDE1E7;
    border-collapse: collapse;
    border-spacing: 0;
    white-space: nowrap;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #1C385C;
    min-width: 92px;
}

.table-fixed th {
    box-shadow: none !important;
    border: 1px solid #DDE1E7;
    border-top: none;
}

.table-fixed thead th {
    background-color: #F6F8FB;
    font-weight: 700;
}

.table-fixed tr:hover th:not(.active-cell),
.table-fixed tr:hover td:not(.active-cell) {
    background-color: #FAFAFA !important;
}

.active-cell {
    background: #DDE1E7 !important;
}

.feedback_div_main:not(.d-none) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 !important;
    padding-top: 48px !important;

    .feedback_div_top {
        padding: 0px !important;

        .feed_head {
            font-weight: 700;
            font-size: 14px;
            line-height: 20px;
            color: #1c385c;
        }
    }

    .text_light {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #8e9bae;
    }
}

#resultDiv>.loader {
    align-self: center;
    width: 50px;
    height: 50px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #023c89;
    border-radius: 50%;
    animation: 2s linear infinite spin;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

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

@media (max-width: 768px) {

    #box2 {
        height: fit-content !important;
    }

    .divUploadFile {
        border: none !important;
        min-height: 188px !important;
    }

    .tool-footer {
        display: none !important;
    }

    .inner-title-desktop {
        display: none;
    }

    .inner-title-mobile {
        display: block;
    }

    .generated-item {
        padding: 7px 8px !important;
    }

    .size-desktop {
        display: none !important;
    }

    .size-mobile {
        display: block !important;
    }

    .file-name-size {
        display: flex;
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }

    .file-size-text {
        position: static !important;
        transform: none !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        line-height: 16px !important;
        color: #8E9BAE !important;
    }

    .main-btns-div:not(.d-none),
    .edit-btns-div:not(.d-none) {
        gap: 5px;
        min-width: fit-content;
    }
}


@media (max-width: 496px) {

    .file-action-btns-desktop {
        display: none;
    }

    .file-action-btns-mobile {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 32px !important;
        height: 32px !important;
        padding: 0px !important;
        background: transparent !important;
    }

    .button_div {
        gap: 5px !important;
    }

    .main-btns-div:not(.d-none),
    .edit-btns-div:not(.d-none) {
        min-width: auto;
    }
}