:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #17a2b8;
}

body {
    background: #f5f6fa;
    min-height: 100vh;
}

.navbar-brand {
    font-weight: 600;
}

.sidebar {
    min-height: calc(100vh - 56px);
    background: var(--primary);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--secondary);
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-new { background: #e3f2fd; color: #1565c0; }
.status-scheduled { background: #fff3e0; color: #ef6c00; }
.status-in_progress { background: #e8f5e9; color: #2e7d32; }
.status-on_hold { background: #fce4ec; color: #c2185b; }
.status-qa_review { background: #f3e5f5; color: #7b1fa2; }
.status-awaiting_client_closeout { background: #fff8e1; color: #f57f17; }
.status-complete { background: #e0f2f1; color: #00695c; }
.status-cancelled { background: #efebe9; color: #5d4037; }

.priority-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-P1 { background: #ffebee; color: #c62828; }
.priority-P2 { background: #fff3e0; color: #ef6c00; }
.priority-P3 { background: #e3f2fd; color: #1565c0; }

.sla-risk {
    font-weight: 600;
}

.sla-ok { color: var(--success); }
.sla-warning { color: var(--warning); }
.sla-breached { color: var(--danger); }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background: #f8f9fa;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.evidence-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.evidence-item img {
    max-width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.filter-bar {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stats-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
}

.timeline-item .time {
    font-size: 0.8rem;
    color: #999;
}
