@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.active-link { 
    background-color: #1e293b; 
    border-left: 4px solid #ef4444; 
}

.tab-content { 
    display: none; 
    opacity: 0; 
    transition: opacity 0.3s ease-in-out; 
}

.tab-content.active { 
    display: flex; 
    opacity: 1; 
}

/* Sticky Column Styles */
.sticky-col-1 { 
    position: sticky; 
    left: 0; 
    z-index: 30; 
    background-color: #f8fafc; 
    border-right: 1px solid #e2e8f0; 
}

.sticky-col-2 { 
    position: sticky; 
    left: 80px; 
    z-index: 30; 
    background-color: #f8fafc; 
    border-right: 2px solid #e2e8f0; 
}

/* Ensure headers stay on top of sticky columns */
th.sticky-col-1, th.sticky-col-2 { 
    z-index: 40; 
}

.status-select { 
    appearance: none; 
    width: 100%; 
    height: 100%; 
    text-align: center; 
    font-weight: bold; 
    cursor: pointer; 
    border: none; 
    background: transparent; 
    font-size: 11px; 
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Modal Styles */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 500px;
    transform: scale(0.95);
    transition: transform 0.2s ease-in-out;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}