    .img-delete {
        width: auto;
        height: 25px;
        max-height: 25px;
    }
    
    .job-id {
        font-family: 'Courier New', monospace;
        font-size: 0.8rem;
        background: #e9ecef;
        padding: 2px 6px;
        border-radius: 3px;
        word-break: break-all;
    }
    
    .status-badge {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
    }
    
    .status-pending {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }
    
    .status-preparing_tasks {
        background: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }
    
    .status-tasks_defined {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    
    .status-processing_sub_tasks {
        background: #cce7ff;
        color: #004085;
        border: 1px solid #99d3ff;
    }
    
    .status-compiling_results {
        background: #e2e3ff;
        color: #3d348b;
        border: 1px solid #c7c8ff;
    }
    
    .status-completed {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .status-completed_with_failures {
        background: #343a40;
        color: #ffffff;
        border: 1px solid #23272b;
    }

    .status-failed {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    
    .status-partially_completed {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }
    
    .status-cancelled {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    
    .status-tasks_queued {
        background: #e2e3ff;
        color: #3d348b;
        border: 1px solid #c7c8ff;
    }
    
    .status-queued {
        background: #e2e3ff;
        color: #3d348b;
        border: 1px solid #c7c8ff;
    }
    
    .status-processing {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }
    
    .progress-bar {
        width: 80px;
        height: 8px;
        background: #e9ecef;
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #4f8e97ff, #7db4bbff);
        border-radius: 4px;
        transition: width 0.3s ease;
    }
    
    .cancelled-progress .progress-fill {
        background: #6c757d !important;
    }
    
    .progress-text {
        font-size: 0.8rem;
        color: #6c757d;
        margin-top: 2px;
    }
    
    .time-remaining {
        font-size: 0.75rem;
        color: #007bff;
        margin-top: 2px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .time-remaining i {
        font-size: 0.7rem;
        opacity: 0.8;
    }
    
    /* Progress layout: bar + number on first row, time underneath */
    .progress-container {
        display: grid;
        grid-template-columns: 1fr auto; /* bar grows, number hugs content */
        grid-auto-rows: auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 4px;
    }

    .progress-container .progress-bar { grid-column: 1; grid-row: 1; width: 100%; max-width: 180px; }
    .progress-container .progress-text { grid-column: 2; grid-row: 1; white-space: nowrap; font-weight: 500; color: #6c757d; }
    .progress-container .time-remaining { grid-column: 1 / span 2; grid-row: 2; white-space: nowrap; }
    
    .download-link {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        background: #4f8e97ff;
        color: white !important;
        text-decoration: none;
        border-radius: 5px;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .download-link:hover {
        background: #7db4bbff;
        color: white !important;
        text-decoration: none;
    }
    
    .container {
        max-width: 1600px;
    }
    
    .download-link i {
        margin-right: 5px;
    }
    
    .no-report {
        color: #6c757d;
        font-style: italic;
        font-size: 0.8rem;
    }
    
    .error-message {
        color: #dc3545;
        font-size: 0.8rem;
        max-width: 200px;
        word-wrap: break-word;
        background: #f8d7da;
        padding: 4px 8px;
        border-radius: 3px;
        border: 1px solid #f5c6cb;
    }
    
    .date-cell {
        font-size: 0.8rem;
        color: #6c757d;
        white-space: nowrap;
    }
    
    .action-buttons {
        display: flex;
        align-items: center;
        justify-content: center; /* center within the Actions column */
        gap: 6px;
        flex-wrap: nowrap; /* keep buttons side-by-side */
    }

    /*
     * Column sizing and alignment tweaks for tables
     * Target by semantic attributes/classes used in templates
     */
    /* Actions column: center and keep compact with slight padding space */
    td[data-actions-id] {
        text-align: center;
        vertical-align: middle;
        white-space: nowrap; /* keep buttons on one line */
        width: 150px; /* snug fit for icon-only + stop if present may overflow */
        max-width: 170px;
    }

    /* Created/Updated date columns: center and narrow */
    .date-cell {
        text-align: center;
        white-space: nowrap;
        width: 120px;
        max-width: 130px;
        vertical-align: top; /* keep time directly under date as before */
    }

    /* Progress column: cap width to comfortably fit time estimate */
    td[data-progress-id] {
        width: 240px;
        max-width: 260px;
    }

    /* Center status badges in their column */
    td[data-status-id] {
        text-align: center;
        vertical-align: middle;
    }

    /* Icon-only variant for compact buttons */
    .icon-only {
        padding: 6px !important;
        width: 34px;
        height: 34px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .icon-only i { margin: 0 !important; }
    
    .delete-btn {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        background: #dc3545;
        color: white !important;
        text-decoration: none;
        border: none;
        border-radius: 5px;
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .delete-btn:hover {
        background: #c82333;
        color: white !important;
        text-decoration: none;
        transform: translateY(-1px);
    }
    
    .delete-btn i {
        margin-right: 5px;
    }
    
    .stop-btn {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        background: #dc3545;
        color: white;
        text-decoration: none;
        border: none;
        border-radius: 5px;
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .stop-btn:hover {
        background: #c82333;
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
    }
    
    .stop-btn i {
        margin-right: 5px;
    }
    
    /* Beautiful first column styling */
    .search-name-header {
        background: linear-gradient(135deg, #4f8e97ff, #5a9aa5) !important;
        position: relative;
    }
    
    .search-name-header::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, #7db4bbff, #4f8e97ff);
    }
    
    .search-name-cell {
        background: linear-gradient(135deg, rgba(79, 142, 151, 0.03), rgba(178, 212, 216, 0.05));
        border-right: 2px solid rgba(79, 142, 151, 0.1) !important;
        position: relative;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .search-name-cell::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(to bottom, #4f8e97ff, #7db4bbff);
        opacity: 0.6;
    }
    
    .search-name-text {
        font-size: 1rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 4px;
        word-break: break-word;
    }
    
    .search-name-subtitle {
        font-size: 0.8rem;
        color: #6c757d;
        font-weight: 400;
    }
    
    /* Tooltip styling */
    .tooltip-container {
        position: relative;
        display: inline-block;
    }
    
    .tooltip-icon {
        margin-left: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        font-size: 0.75rem;
        cursor: help;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 700;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        position: relative;
        top: -1px;
    }
    
    .tooltip-icon::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
        background-size: 200% 200%;
        opacity: 0;
        transition: all 0.3s ease;
        animation: shimmer 3s ease-in-out infinite;
        z-index: -1;
    }
    
    @keyframes shimmer {
        0%, 100% { background-position: 200% 0; }
        50% { background-position: -200% 0; }
    }
    
    .tooltip-icon:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    
    .tooltip-icon:hover::before {
        opacity: 0.3;
    }
    
    .tooltip-box {
        position: absolute;
        top: 120%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        color: #2c3e50;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border: 1px solid rgba(79, 142, 151, 0.2);
        font-size: 0.85rem;
        line-height: 1.4;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        font-weight: 500;
        min-width: 250px;
        text-align: center;
    }
    
    .tooltip-box::before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-bottom-color: rgba(255, 255, 255, 0.98);
        filter: drop-shadow(0 -3px 3px rgba(0,0,0,0.1));
    }
    
    .tooltip-container:hover .tooltip-box {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }

/* Fix for AutoMap status value */
.status-finished {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Style for standard table headers */
.table th {
    background-color: #f8f9fa;
    border-bottom-width: 2px;
}

/* Simple Query File Link Styling */
.query-file-link {
    color: #4f8e97ff !important;
    text-decoration: underline;
    font-size: 0.8rem;
    font-weight: 500;
    word-break: break-word;
}

.query-file-link:hover {
    color: #7db4bbff !important;
    text-decoration: underline;
}
