.main-tool {
    padding: 16px;
    background-color: white !important;
    max-width: 1200px;
    margin: 0 auto 0;
    border-radius: 16px;
    position: relative;
    display: grid;
    gap: 16px;
}

.tool-area {
    display: flex;
    gap: 16px;
}

.upload-area {
    min-height: 300px;
    border: unset;
}

.before-upload {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
}

.upload-section {
    padding: 0px;
    border-radius: 12px;
    min-height: 350px;
    border: 2px dashed #ddddf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 100%;
    transition: 0.3s all;
    gap: 10px;
}

.upload-section:hover {
    background-color: #f8f9fc;
}

.url-input-div {
    display: flex;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eaeaea;
    width: 230px;
    padding: 0px 0px 0px 10px;
    gap: 4px;
    background: #fff;
    overflow: hidden;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.drag-n-drop-text {
    width: 100%;
    font-weight: 400;
    text-align: center;
    color: #000000;
    line-height: 27px;
    font-size: 18px;
}
.before-upload > label[for="file"] {
    height: 82px;
}
.selection-div {
    display: flex;
    gap: 10px;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.browse-dropbtn {
    border: none;
    background: transparent;
}
.browse-dropbtn label {
    background: #f1f3f7;
    min-width: 130px;
    border-radius: 8px;
    padding: 8px 24px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all ease-in 0.3s;
}
.url-switch,
.browse-camera-option {
    border: 1px solid #eaeaea;
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.bottom-review-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.privacy-disclaimer {
    font-size: 14px;
    color: #9da9b5;
    font-style: italic;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
}
.container {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}
.drag-n-drop-text small {
    font-size: 14px;
    font-weight: 400;
    color: #9da9b5;
    display: inline-block;
    line-height: 20px;
    text-align: center;
    width: min(400px, calc(100% - 1rem));
}
.browse-dropbtn label:hover {
    background: #e3e7ed;
}
.js-toggle-url:hover {
    background-color: #eceff3;
}
.url-input-div .file-url {
    background-color: #fff0;
    border: none;
    font-size: 14px;
    width: 100%;
}
.url-input-div button {
    border: none;
    border-left: 1px solid #eaeaea;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    transition: all ease-in 0.2s;
}
.url-input-div button:hover {
    background-color: #f9f9f9;
}
.url-icon.active {
    filter: brightness(0) saturate(100%) invert(29%) sepia(87%) saturate(633%)
        hue-rotate(181deg) brightness(93%) contrast(93%);
}
/* model */
.modal_invalid {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 0.4);
}
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px 30px;
    width: 470px;
    max-width: 99%;
    border-radius: 15px;
    position: relative;
}
.limit-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.a-i-center {
    display: flex;
    gap: 8px;
    align-items: center;
}
.limit-modal-body > div > img {
    height: 20px;
}
.limit-modal-body .heading {
    color: black;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}
.limit-modal-body .modal-text {
    color: #363b42;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}
.button_row {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 6px;
}
.accountModalClose {
    display: flex;
    justify-content: end;
}

.close_invalid_file {
    background: #f1f3f7;
    padding: 8px 16px;
    color: #000000;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.try-another-btn {
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.try-another-btn:hover {
    background: #000;
    color: #fff;
}

.keep-plan-btn {
    background: #f1f3f7;
    padding: 8px 16px;
    color: #000000;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.keep-plan-btn:hover {
    background-color: #e3e7ed;
}
.preview-grid {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#preview-container {
    max-height: 300px;
    overflow-y: auto;
}

#preview-container::-webkit-scrollbar {
    width: 5px;
}

#preview-container::-webkit-scrollbar-track {
    background: #f0f0ff;
    border-radius: 4px;
}

#preview-container::-webkit-scrollbar-thumb {
    background-color: #2e2f7d;
    border-radius: 4px;
}

#preview-container::-webkit-scrollbar-thumb:hover {
    background-color: #1f2070;
}

.selected-img-preview {
    padding: 0 10px 0px 0px;
    overflow: auto;
    height: auto;
    /* max-height: 320px;
        min-height: 320px; */
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.preview-item {
    border: 1px solid #eaeaea;
    padding: 12px;
    margin-right: 10px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.preview-item:hover {
    background: #f5f7fb;
}

.right-preview {
    margin: auto 0;
}

.preview-image {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    border: 0.5px solid #eaeaea;
}

.images-clear {
    display: flex;
    justify-content: space-between;
    padding: 0px 10px 0px 0px;
    position: relative;
}

.images-clear .start-over-btn {
    cursor: pointer;
    background: #f1f3f7;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    margin: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.images-clear .start-over-btn:hover {
    background: #e3e7ed;
}

.convert-btn {
    color: #fff;
    border-radius: 8px;
    border: none;
    padding: 8px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #000000;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: all ease-in 0.2s;
}

.convert-btn:hover {
    background: #262626;
}

.result-waiting {
    flex-basis: 100%;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-waiting .header
 {
    display: flex;
    flex-direction: column;
}

.result-waiting .result-text-download-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-waiting .result-text-download-all button {
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}

.result-waiting .start-over-btn {
    width: 150px;
    margin: 0 auto;
}

.result-waiting .download-all-btn {
    background: #414a55;
    color: #fff;
}

.result-waiting .start-over-btn:hover {
    background: #d2d5db;
}

.result-waiting .download-all-btn:hover {
    background: #1f2a36;
}

.result-waiting .result-waiting-card
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 8px 0 0 0;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0px 5px 20px 0px #0000000d;
}

.result-waiting .img-title-text {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    padding: 0 0 0 8px;
}

.result-waiting .img-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    border-right: 1px solid #eaeaea;
    padding-right: 5px;
}

.result-waiting .img-title span {
    font-size: 12px;
    max-width: 14ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-waiting .img-title-text .img-text {
    font-size: 14px;
    flex: auto;
    padding-right: 45px;
    text-align: justify;
    border-left: 2px solid #eaeaea;
    line-height: 20px;
    height: 100px;
    max-height: 200px;
    border: none;
    resize: none;
}

.result-waiting .img-title-text .img-text::-webkit-scrollbar {
    width: 5px;
}

.result-waiting .img-title-text .img-text::-webkit-scrollbar-track {
    background: #f0f0ff;
    border-radius: 4px;
}

.result-waiting .img-title-text .img-text::-webkit-scrollbar-thumb {
    background-color: #2e2f7d;
    border-radius: 4px;
}

.result-waiting .img-title-text .img-text::-webkit-scrollbar-thumb:hover {
    background-color: #1f2070;
}

.img-text-copy-download {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 20px;
    gap:10px;
}

.img-text-copy-download img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.imagetotext-progress {
    width: 100%;
    height: 5px;
    position: absolute;
    left: 0;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    background: #eaeaea;
}

.result-waiting .img-title img {
    min-height: 80px;
    min-width: 100px;
    border-radius: 8px;
    height: 80px;
    width: 100px;
    object-fit: cover;
}

.imagetotext-progress {
    width: 100%;
    height: 6px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.imagetotext-progress::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 40%;
    background: linear-gradient(to left, #03478e, #4f8ec9);
    border-radius: 5px;
    animation: progressSlide 3s linear infinite;
}

@keyframes progressSlide {
    0% { left: -30%; }
    100% { left: 100%; }
}

.finished-div
 {
    background: #F1F6FF;
    padding: 2px 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: fit-content;
}

.finished-div span {
    color: #017BFF;
    line-height: 18px;
    font-size: 12px;
    font-weight: 400;
}

/* 2nd section */

.other_tool_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    margin-top: 2em;
    margin-bottom: 2rem;
}
.other_tool_grid .tool_box
 {
    text-align: center;
    padding: 1em;
    background-color: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    border: 1px solid #fff0;
}

.other_tool_grid .tool_box img {
    width: 48px;
    height: 44px;
}

.other_tool_grid .tool_box p {
    margin-top: 15px;
    text-transform: capitalize;
    color:#000;
}

.other_tool_grid .tool_box:hover {
    border: 1px solid #ccc;
}

.guide-row {
    display: flex;
    column-gap: 3rem;
    align-items: center;
    margin-top: 1rem;
    font-size: 18px;
}

.guide-row > div.flex-2 {
    flex: 2;
}

.guide-row > div.flex-1 {
    flex: 1;
}

.img-fluid {
    max-width: 100%;
}

.htw_ul {
    margin-left: 40px;
}

h2.feature-card-heading {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.feature-heading-hr {
    border-radius: 5px 0 0 5px;
    width: 70px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.hr-left
{
    border: 3px solid #03488E;
    background: #03488E;
}

.hr-right {
    border: 3px solid #ff0092;
    background: #ff0092;
}

.feature-card {
    padding: 20px 16px 10px;
    border-radius: 8px;
    height: auto;
    min-height: 100%;
    transition: 1s;
    line-height: 1.5;
    background: #fff;
    border: 2px solid #03488E;
}

.feature-card .title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
}

.feature-card p {
    color: #000;
}

.wcu-heading {
    margin: 1rem 0;
}

.faq-box {
    padding: 15px;
    background: #fff;
    box-shadow: 0 15px 50px #0000000f;
    border-radius: 10px;
    margin-top: 25px;
}

.faq-q h3 {
    font-size: 20px;
    color: #091e42;
}
.faq-q p {
    color:#000;
}

.faq-a {
    background: #fff;
}
.faq-a p{
    color:#000;
}

#moreOptionsSetting213 select {
    width: 100%;
    padding: 6px 14px;
    border: 2px solid #03488e;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='10'%20viewBox='0%200%2014%2010'%3E%3Cpath%20fill='%2303488e'%20d='M7%2010L0%200h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
}

#moreOptionsSetting213 select:focus {
    outline: none;
    border-color: #022f60;
    box-shadow: 0 0 0 3px rgba(3, 72, 142, 0.2);
}

#moreOptionsSetting213 .row > div {
    margin-bottom: 15px;
}

.upload-area.highlight {
  background-color: #f8f9fc;
}

@media screen and (max-width: 800px) {
    .other_tool_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-cards-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 450px) {
    .other_tool_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tool-area{
        flex-direction: column;
    }

    .guide-row{
        flex-direction: column;
    }

    .feature-cards-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}

.img-text-copy-downloads button {
    display: flex;
    border: none;
    background: #F1F3F7;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    gap: 4px;
    color: #000000;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    text-align: center;
    border-radius: 8px;
    transition: all ease-in .2s;
}

.img-text-copy-downloads button:hover {
    background: #E3E7ED;
}