.tool-section {
    background-color: var(--color-skyblue);
    min-height: 90vh;
}

.recent-batches,
.tool,
.alert-msg {
    max-width: 720px;
    margin: 16px auto 0;
}

.delete-action{
    cursor: pointer;
}
.alert-msg {
    padding: 12px 20px;
    border-radius: 12px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 1em;
    margin: auto !important;
}

.tool {
    min-height: 300px;
    background: none;
    display: flex;
    flex-direction: column;
    gap: unset;
    padding: unset;
}

.main-tool {
    background-color: white;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drag-n-drop-text {
    line-height: 24px;
    font-weight: 600;
}

.drag-n-drop-text small {
    line-height: 20px;
    width: unset;
}

.batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    height: fit-content;
}

.batch-head .text,
.batch-head .text span {
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.batch-name-input,
.batch-name-div {
    border: none;
    border-bottom: 1px solid #eaeaea;
    border-radius: 0;
    padding: 4px 0;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    width: 250px;
    font-weight: 500;
    background-color: transparent;
    outline: none;
    height: 32px;
}

.batch-name-div {
    display: flex;
    align-items: center;
}

.start-batch {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #7d1ae8;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: none;
    transition: all 0.2s ease-in-out;
}

.start-batch:hover {
    color: #5500c0;
}

.black-text-lg {
    font-size: 16px;
    line-height: 24px;
    color: black;
    font-weight: 600;
}

.grey-text-sm {
    font-size: 12px;
    line-height: 16px;
    color: #9da9b5;
}

.file-count {
    padding: 2px 6px;
    background-color: #f1f3f7;
    border-radius: 99px;
    display: flex;
    align-items: center;
}

.file-count * {
    font-size: 12px;
    line-height: 16px;
}

.upload-area {
    min-height: 112px;
    height: 252px;
    width: 100%;
    border: 2px dashed #ddddf8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.upload-area:hover {
    background-color: #f8f9fc;
}

.browse-dropbtn label {
    padding: 8px 32px;
}

.browse-dropbtn label span {
    font-weight: 500;
}

.uploaded-files {
    border: 1px solid #eaeaea;
    height: 100%;
    max-height: 336px;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
}

.uploaded-files::-webkit-scrollbar,
.batches::-webkit-scrollbar {
    background-color: transparent;
}

.uploaded-files::-webkit-scrollbar-thumb,
.batches::-webkit-scrollbar-thumb {
    background-color: #d8dee6;
}

.uploaded-file {
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    background-color: #ffffff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.uploaded-files .uploaded-file:last-child {
    border-bottom: none;
}

.file-name {
    font-size: 14px;
    line-height: 20px;
    color: black;
}

.uploaded-cross {
    cursor: pointer;
}

.uploaded-footer button {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.uploaded-footer button:first-child {
    padding: 8px 24px;
    background-color: #f1f3f7;
    color: black;
}

.uploaded-footer button:first-child:hover {
    background-color: #e3e7ed;
}

.uploaded-footer button:last-child {
    padding: 8px 16px;
    background-color: #7d1ae8;
    color: white;
}

.uploaded-footer button:last-child:hover {
    background-color: #5500c0;
}

.recent-head {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: black;
}

.batch-count {
    font-size: 14px;
    line-height: 20px;
    color: #9da9b5;
}

.batches {
    /* max-height: 332px; */
    height: 100%;
    /* overflow-y: auto; */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.batch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease-in-out;
}

.batch-card:hover {
    background-color: #fdfdfd;
}

.folder {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #f1f3f7;
}

.batch-no {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: black;
}

.ellipse {
    width: 4px;
    height: 4px;
    background-color: #9da9b5;
    border-radius: 50%;
}

.gray-text-sm {
    font-size: 12px;
    line-height: 16px;
    color: #9da9b5;
}

.load-btn {
    padding: 12px 28px;
    background-color: #ffffff;
    width: 100%;
    color: black;
    font-size: 14px;
    line-height: 20px;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.pagination {
    padding: 6px;
    border-radius: 999px;
    border: 0.5px solid #eaeaea;
    box-shadow:
        0px 10px 15px -3px #0000001a,
        0px 4px 6px -4px #0000001a;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    z-index: 10;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.pagination .file-no {
    font-size: 12px;
    line-height: 16px;
    color: #363b42;
    font-weight: 500;
}

.pagination .btn {
    cursor: pointer;
}

.pagination .btn path {
    transition: all 0.2s ease-in-out;
}

.pagination .btn:disabled path {
    stroke: #eaeaea;
}

.pagination .btn:hover path {
    stroke: #000000;
}

.js-image-to-show {
    border-radius: 4px;
    border: 1px solid #eaeaea;
    object-fit: contain;
}

.failed-response {
    border-radius: 99px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 16px;
    color: #ee212b;
    background-color: #ee212b15;
    width: fit-content !important;
    height: fit-content !important;
}

.progress-flg {
    border-radius: 99px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 16px;
}

.start-batch-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 4px;
    width: 102px;
    height: 36px;
    background: #7d1ae8;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

.view-batch-btn {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    transition: all 0.2s ease-in-out;
    padding: 8px 16px;
    gap: 4px;
    height: 36px;
    background: #f1f3f7;
    border-radius: 8px;
}

.view-batch-btn:hover {
    background-color: #e3e7ed;
}

.start-batch-btn:hover {
    background-color: #5500c0;
}

.batch-info-left {
    min-width: 300px;
    max-width: 300px;
}

.progress-flg.blue {
    color: #2563eb;
    background-color: #2563eb14;
}

.progress-flg.green {
    color: #16a34a;
    background-color: #16a34a14;
}

.progress-flg.purple {
    color: #7c3aed;
    background-color: #7c3aed14;
}

.batch-head .text {
    border-bottom: 1px solid #eaeaea;
}

.tabs {
    padding: 2px;
    border-radius: 8px;
    background-color: #f1f3f7;
    display: flex;
    align-items: center;
    height: 34px;
}

.tabs button {
    background-color: transparent;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 18px;
    color: #9da9b5;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.disabled-tabs {
    cursor: not-allowed;
}

.tabs button.active {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0px 1px 2px 0px #0000000d;
}

.right-actions div {
    height: 32px;
    width: 32px;
}

.uploaded-file .loading {
    position: relative;
    z-index: 0;
}

.uploaded-file .loading img {
    pointer-events: none;
}

.uploaded-file .loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 50%;
    pointer-events: none;
    z-index: 1;
}

.loader img {
    animation: spin 1s linear infinite;
}

.pagination .btn.disabled {
    cursor: not-allowed;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Modal Overlay */
.bulk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Content */
.bulk-modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bulkModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 5px !important;
}

@keyframes bulkModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.bulk-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f3f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bulk-modal-header .file-name {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

/* Modal Body */
.bulk-modal-body {
    padding: 0;
    background: #fdfdfd;
}

#resultDiv {
    width: 100%;
    height: 400px;
    padding: 24px;
    border: none;
    outline: none;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: transparent;
    overflow-y: auto;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
}

/* Modal Footer */
.bulk-modal-footer {
    padding: 12px 24px;
    border-top: 1px solid #f1f3f7;
    background: #fff;
    display: flex;
    justify-content: center;
}

/* Buttons */
.premium-btn-sm {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 4px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    background: transparent !important;
}

.close-btn {
    font-size: 24px;
    color: #9da9b5;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.close-btn:hover {
    color: #1a1a1a;
}

/* Preview Pagination */
.pagination-preview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pagination-preview .preview-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.pagination-preview svg {
    cursor: pointer;
}

.pagination-preview svg.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.being-previewed-text {
    font-size: 14px;
    color: #7d1ae8;
    font-weight: 500;
}

.underlined-input {
    border-bottom: none !important;
}

.show-mobile-only {
    display: none !important;
}

@media (max-width: 550px) {
    .batch-info-left {
        min-width: unset;
        max-width: unset;
    }

    .show-mobile-only {
        display: block !important;
    }

    .gray-text-sm {
        text-wrap: nowrap;
    }

    .being-previewed-text {
        font-size: 12px;
    }

    .show-desktop-only {
        display: none !important;
    }
}