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

    .d-flex {
        display: flex;
    }
    .image{
        display: flex;
            padding: 4px 5px;
    }
.url-input-link{
    margin-left: 8px;
}
.url-input-link.is-loading {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.85;
}
.url-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: urlSpin 0.6s linear infinite;
}
@keyframes urlSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
    .preview-image {
        padding: 20px;
    }
    .bigger-images{   
         border-radius: 0px !important;
    border: 0px solid !important;
    background: none !important;
    background-image:none !important;
}

    .file-progess-wrapper {
        padding: 0px !important;
    }
.file-wrapper-main{
       min-height: 90px;
}
    /* .file-progess-wrapper:has([data-state="expanded"]) {
            padding: 0px !important;
        } */
    .action-div {
        padding: 20px !important;
        gap: 0 !important;
            border-bottom: 0px !important;
        /* equal columns handle spacing internally */
    }

    /* Three equal columns: left | center | right */
    .left-action {
        flex: 1;
        justify-content: flex-start;
        min-width: 0;
    }

    .center-action {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .right-action {
        flex: 1;
        justify-content: flex-end;
        display: flex;
        align-items: center;
        gap: 16px;
        margin-right: 5px;
    }

    .action-icon-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: background 0.2s ease;
    }

    .action-icon-btn:hover {
        background: #f1f5f9;
    }

    .remove-icon:hover,
    .download-text:hover,
    .copy-text:hover {
        filter: none;
    }

    .download-dropdown-parent {
        position: relative;
        display: inline-block;
    }

    .download-menu {
        position: absolute;
        right: 0;
        top: 100%;
        margin-top: 6px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
        z-index: 9999;
        /* â† raised */
        min-width: 201px;
        padding: 6px 0;
    }

    .download-menu-item {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 8px 14px;
        background: none;
        border: none;
        font-size: 13px;
        color: #334155;
        text-align: left;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .download-menu-item:hover {
        background: #f1f5f9;
        color: #0f172a;
    }

    .result-Container {
        width: 100%;
        margin-top: 2px;
        overflow-x: auto;
        background: #ffffff;
        border-radius: 8px;
        padding: 0px;
        border: 1px solid #e2e8f0;
        max-height: 380px;
        overflow-y: auto;
        font-size: 13px;
        line-height: 1.4;
        color: #1e293b;
        outline: none;
        border: 0px !important;
      
    }

.result-Container:has(p) {
    margin-top: 12px;
    margin-bottom: 5px;
}
    

    .result-Container table {
        width: 100%;
        border-collapse: collapse;
        margin: 0;
    }

    .result-Container th,
    .result-Container td {
        border: 1px solid #E1E8ED;
        padding:6px;
        text-align: center;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        color: #091E42;
        min-width: 38px;
        max-width: 157px;
    }

    .result-Container th:first-child,
    .result-Container td:first-child {
        min-width: 30px;
        max-width: 157px;
    }

    .result-Container th {
        background-color: white;
        font-weight: 600;
        color: #0f172a;
    }


    .result-Container tr:nth-child(even) td {
        /* background-color: #fdfdfe; */
    }

    .result-Container td:focus,
    .result-Container th:focus {
        background-color: white !important;
        outline: 2px solid #3b82f6;
    }

    .result-Container td.cell-active,
    .result-Container th.cell-active {
        background-color: white !important;
        outline: 2px solid #3b82f6;
        outline-offset: -2px;

        position: relative;
    }

    .result-Container td.cell-active::after,
    .result-Container th.cell-active::after {
        content: "";
        position: absolute;
        right: -3px;
        bottom: -3px;
        width: 8px;
        height: 8px;
        background: #3b82f6;
        border-radius: 50%;
    }
    .result-Container:has(table) {
    min-height: 126px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #DADCE0 transparent;
    overflow-x: auto;
}

/* Chrome, Edge, Safari */
.result-Container::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background: transparent;
}

.result-Container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.result-Container::-webkit-scrollbar-thumb {
    background: #E1E8ED;
    border-radius: 10px;
}

.result-Container::-webkit-scrollbar-thumb:hover {
    background: #C7D2DC;
}


    .extend-table-btn:hover .extend-icon {
        stroke: #0095FF;
    }

    .custom-tooltip {
        pointer-events: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        font-weight: 500;
    }
    .file-wrapper-main {
        padding: 10px !important;
    }

    .file-progess-wrapper {
        border: 1px solid #E1E8ED;
        background: #FCFCFC;
        border-radius: 15px;
    }

    .right-action [data-tooltip] {
        position: relative;
    }

    .right-action [data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% - 56px);
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        background: #1a1a1a;
        color: #fff;
        font-size: 12px;
        line-height: 1.4;
        white-space: nowrap;
        padding: 4px 8px;
        border-radius: 4px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        z-index: 10000;
    }

    .right-action [data-tooltip]::before {
        content: "";
        position: absolute;
        bottom: calc(100% - 32px);
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        border: 5px solid transparent;
        border-bottom-color: #1a1a1a;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        z-index: 10000;
    }

    .right-action [data-tooltip]:hover::after,
    .right-action [data-tooltip]:hover::before {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }


    /* Generic data-tooltip class: targets the element itself (not a descendant) */
   

    


    
    /* Don't show a tooltip while the download dropdown is open â€” avoids overlap */
    .download-dropdown-parent:has(.download-menu:not(.d-none)) [data-tooltip]:hover::after,
    .download-dropdown-parent:has(.download-menu:not(.d-none)) [data-tooltip]:hover::before {
        opacity: 0;
    }

    .table-pagination {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .pagination-info {
        color: #7D889B;
        white-space: nowrap;
        font-size: 12px;
        font-weight: 400;
        padding: 5px 12px;
    }

    .pagination-pages {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .page-btn {
        background: transparent;
        border: 1px solid transparent;
       
        min-width: 28px;
        height: 28px;
        padding: 0 6px;
        font-size: 12px;
        cursor: pointer;
        color: #2E405E;
    }

    .page-btn:hover:not(:disabled):not(.active) {
        background: #e5e7eb;
        border: 1px solid #e2e8f0;
    }

    .page-btn.active {
        background: #E1E8ED;
        border-color: #E1E8ED;
        font-weight: 600;
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .page-ellipsis {
        padding: 0 4px;
        color: #9ca3af;
    }

    .totlalresult {
        font-size: 18px;
        font-weight: 700;
    }


    /* ===================================================
   MOBILE / RESPONSIVE  -  jpg-to-excel
   =================================================== */

    /* -- Tablet & below (max 1024px) ------------------- */
    @media (max-width: 1024px) {

        /* Show the drop-zone as a compact "Upload More Files" strip */
        .dropF {
            display: block !important;

            height: auto;
            border: 1px dashed #000000;
            border-radius: 16px;
            margin-bottom: 12px;
                
        min-height: 160px;
        min-width: 100%;
        max-width: 100%;
    
        }

        .innreDropF {
            min-height: 100px;
            height: auto;
            padding: 16px 20px;
            gap: 8px;
            flex-direction: column;
            justify-content: center;
        }

        .innreDropF>img:first-child {
            width: 44px;
            height: 44px;
        }

        .DropFquot {
            font-size: 14px;
            width: 100%;
        }

        /* Convert / Start-Over button row stays side-by-side */
        #jsShadowRoot {
            gap: 10px;
        }

        .start-over-btn {
            flex: 1;
            justify-content: center;
            font-size: 14px;
            padding: 10px 12px;
        }

        .convertbtn {
            flex: 1;
            justify-content: center;
            font-size: 14px;
            padding: 10px 12px;
        }
    }
  

    /* -- Phones (max 768px) ----------------------------- */
    @media (max-width: 768px) {

        /* === STATE 1: Upload / Staging (.preview-image row) ===
       [thumbnail]  [name column]  [status + x]           */
        .preview-image {
            padding: 14px 16px !important;
            align-items: center;
            gap: 12px;
            width: 100%;
            flex-wrap: nowrap;
        }


        .preview-image .file-name {
            flex: 1;
            min-width: 0;
            font-size: 13px;
            font-weight: 400;
            color: #091e42;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
        }

        /* Hide the extra file-info block; size already visible in info-status */
        .preview-image .file-info {
            display: none;
        }

        /* Status text ("Uploading", "Completed", "Upload Failed") + X button */
        .preview-image .info-status {
            flex-shrink: 0;
            gap: 8px;
            align-items: center;
        }

        .preview-image .info-status [class*="uplaoding-text-"] {
            font-size: 12px;
            white-space: nowrap;
        }

        .preview-image .remove-icon {
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
        }

        /* .preview-image  {
            width: 24px;
            height: 24px;
            padding: 0 !important;
        }
    .remove-icon {
            width: 24px;
            height: 24px;
            padding: 0 !important;
        } */
        /* === STATE 2: Converting (.loader-container) ===
       Card shows: [Excel icon + filename] / [progress bar] / [CONVERTING] */
        .loader-container {
            padding: 0px 12px;
            text-align: center;
            width: 254px;
            height: 90px;
            display: flex;
            flex-direction: column;
            text-align: center;
            justify-content: center;
            margin: 0px 12px;
        }

        .loader {
            
            width: 100%;
            height: 16px;
            border-radius: 18px;
            margin-bottom: 10px;
             min-width: 180px;
            max-width: 180px;
            margin: 0px auto;
        }

        .loader::after {
            height: 16px;
            border-radius: 18px;
        }

        .loader-text {
            font-size: 12px;
            letter-spacing: 0.06em;
            text-align: center;
        }

        /* === STATE 3: Post-conversion (.action-div) === */
        .action-div {
            gap: 8px !important;
            padding: 12px 16px !important;
            flex-wrap: nowrap;
            align-items: center;
        }

        .left-action {
            gap: 8px;
            min-width: 0;
            flex: 2 1 0;
            overflow: hidden;
            align-items: center;
        }

        .left-action .preview-img {
            flex-shrink: 0;
            width: 36px !important;
            height: 36px !important;
            margin-right: 0;
            border-radius: 6px;
        }

        .left-action .file-name {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 110px;
            font-size: 13px;
            margin: 0;
        }

        /* Restore center-action hidden by style.css at 768px */
        .center-action {
            display: flex !important;
            gap: 6px;
            flex-shrink: 0;
            align-items: center;
        }

        .btn-completed {
            font-size: 11px;
            padding: 3px 8px;
            white-space: nowrap;
        }

        .file-size-span {
            font-size: 11px;
            white-space: nowrap;
        }

        .right-action {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
            margin-right: 0px;
        }

        .action-icon-btn {
            padding: 5px;
        }

        .action-icon-btn img {
            width: 20px;
            height: 20px;
        }

        /* Download dropdown: stays right-anchored, won't clip the viewport */
        .download-menu {
            right: 0;
            left: auto;
            min-width: 170px;
        }

        /* === Table result === */
        .result-Container {
            max-height: 280px !important;
            overflow: auto;
        }

        .result-Container th,
        .result-Container td {
            padding: 6px 10px;
            font-size: 11px;
            min-width: 32px;
            max-width: 120px;
        }

        /* === Pagination === */
        .table-pagination {
            flex-wrap: wrap;
            gap: 6px;
            padding: 1px;
        }

        . {
           
            text-align: center;
        }

        .pagination-pages {
            justify-content: center;
            flex-wrap: wrap;
           
        }

        /* === Upper result bar === */
        .upper-section {
            flex-direction: row;
            flex-wrap: wrap;
            height: auto !important;
            padding: 10px 14px !important;
            gap: 8px;
        }

        .result_actions {
            gap: 8px;
        }

        .start-over-btn,
        .zip-download-btn {
            font-size: 13px;
            padding: 8px 12px;
        }
    }

    /* -- Small phones (max 480px) ----------------------- */
    @media (max-width: 480px) {
        .container{
            padding: 0px 0px !important;
        }
        .uploadMain {
                display: block;
            min-height: auto;
        }
        .uploadLeft {
            width: 100%;
            padding: 10px;
        }

       
        .dropF {
            display: none !important;
            background: linear-gradient(to bottom right, #FFFFFF00 0%, #F3F4F8 100%);
            height: auto;
             border: 1px dashed #000000;
            border-radius: 26px;
            margin-bottom: 12px;
            min-height: 160px;
            min-width: 100%;
            max-width:100%;
    
        }
        .mobile-only{
            display: block;
        }
        .DropFquot{
            display: none !important;
        }
        .dropF.has-uploaded {
    display: block !important;
}
.dropF.d-none {
    display: none !important;
}
        .button-container{
            padding: 2px;
            height: auto;
        }   
.btn-urlL {
    height: 48px;
    border-radius: 10px;
    flex: 1;
    padding: 5px;
    
}
        .innreDropF {
            min-height: 86px;
            padding: 24px 32px;
        }

            .innreDropF>img:first-child {
        width: 98px;
        height: 85px;
    }

        .DropFquot {
            font-size: 13px;
        }

        /* Preview row */
        .preview-image {
            padding: 12px !important;
            gap: 10px;
                align-items: flex-start;

        }

        .preview-image .preview-img {
            width: 36px !important;
            height: 36px !important;
        }

        .preview-image .file-name {
            font-size: 12px;
        }
        .preview-image .file-info {
            display: block;
            position: absolute;
            left: 55px;
            bottom: 3px;
            font-size: 12px;
    font-weight: 400;
        }

        .convertMD{
            padding-left: 0px;
        }
            .file-size {
            font-size: 12px !important;
            margin-left: 6px;
        }
        .zip-download-btn {
            font-size: 14px;
            padding: 6px 12px;
            min-width: 179px;
            float: right;
        }
        .center-action{
            display: none !important;
        }

        /* Action bar */
        .action-div {
            gap: 6px !important;
            padding: 10px 12px !important;
            border-bottom: 0px !important;
        }

        .left-action .file-name {
            max-width: 90px;
            font-size: 12px;
        }

        /* Hide KB size to save horizontal space */
        .center-action .file-size-span {
            display: none;
        }

       
        .result-Container th,
        .result-Container td {
            padding: 5px 8px;
            font-size: 11px;
            min-width: 28px;
            max-width: 90px;
        }

        /* Convert + Start Over: row layout kept */
        #jsShadowRoot {
            flex-direction: row;
            gap: 15px;
            padding: 0px;
        }

    
        .convertbtn {
                   max-width: 155px;
                   font-size: 16px;
        font-weight: 400;
        border-radius: 10px;
        padding: 10px 16px;
    
        }
      
            .start-over-btn {
        font-size: 14px;
        padding: 6px 12px;
        max-width: 132px;
        gap: 8px;
    }
    .start-over-btn img{
        margin:0px !important;
        margin-right: 1px;
    }

.clear-all {
padding: 9px 16px ;
}
      
      
    
        .download-dropdown-parent{
            flex: 1;
        }

        /* Upper bar: stack vertically on small phones */
        .upper-section {
            flex-direction: column;
            align-items: flex-start;
            padding: 10px !important;
            gap: 16px;
            margin-left: 0px;
            margin-right: 0px;
        }

        .result_actions {
            width: 100%;
            justify-content: flex-start;
        }
        .main-share {
    margin: 0px 45px !important;
        }
           .pagination-info {
        
        padding: 5px 5px !important;
    }

      .heading {
   
    font-size: 22px;
            padding: 12px;
        line-height: 36px;
    }
   

  } 
  .qout {
    margin: 0 auto;
    max-width: 100%;
    padding: 0px 10px 10px 10px;
    text-align: justify;
        font-weight: 400;
    font-size: 18px;
    line-height: 39px;
}
    

    /* -- Very small phones (max 360px) ------------------ */
    @media (max-width: 360px) {

        .preview-image {
            padding: 10px !important;
            gap: 8px;
        }

        .preview-image .preview-img {
            width: 32px !important;
            height: 32px !important;
            margin-right: 0px !important;
        }

        .left-action .file-name {
            max-width: 70px;
        }

        .action-icon-btn img {
            width: 18px;
            height: 18px;
        }

        .download-menu {
            min-width: 150px;
        }

        .download-menu-item {
            font-size: 12px;
            padding: 7px 10px;
        }

        #jsShadowRoot {
            gap: 6px;
        }

        .start-over-btn,
        .convertbtn {
            font-size: 12px;
            padding: 8px;
        }
    }