.job-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.job-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.job-row {
    transition: background-color 0.2s ease;
}

.job-row:hover {
    background-color: #f8f9fa;
}

.job-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Alpine.js Modal Styles */
[x-cloak] {
    display: none !important;
}

.job-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.job-modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10000 !important;
}

.job-modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.job-modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex-grow: 1;
}

.job-modal-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-modal-close:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.job-modal-body {
    padding: 0 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    background: white;
}

.job-modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
    background: white;
}

.table tbody tr {
    cursor: pointer;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Ensure transitions work properly */
.job-modal-overlay,
.job-modal-content {
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix any potential conflicts with theme styles */
.job-modal-overlay * {
    box-sizing: border-box;
}

/* Ensure modal is above everything */
.job-modal-overlay {
    isolation: isolate;
}

/* Fix potential dark mode conflicts */
.job-modal-content,
.job-modal-header,
.job-modal-body,
.job-modal-footer {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Fix search and profile issues - override theme dark mode */
.navbar-search-suggestion,
.navbar-search-wrapper {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Fix profile dropdown */
.dropdown-menu {
    background: #ffffff !important;
    color: #1f2937 !important;
}

.dropdown-item {
    color: #1f2937 !important;
}

.dropdown-item:hover {
    background: #f8f9fa !important;
    color: #1f2937 !important;
}

/* Ensure Alpine.js transitions work */
[x-cloak] {
    display: none !important;
}

/* Debug borders removed for production */