/* Status badges */
.badge-pending { background-color: #6c757d; }
.badge-assigned { background-color: #0d6efd; }
.badge-in_progress, .badge-in-progress { background-color: #ffc107; color: #000; }
.badge-under_review, .badge-under-review { background-color: #fd7e14; }
.badge-completed { background-color: #198754; }
.badge-cancelled { background-color: #dc3545; }

/* TRF status badges */
.badge-draft { background-color: #6c757d; }
.badge-submitted { background-color: #0d6efd; }
.badge-approved { background-color: #198754; }
.badge-rejected { background-color: #dc3545; }

/* Dashboard stat cards */
.stat-card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-2px);
}
.stat-card .card-body {
    padding: 1.5rem;
}
.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
.stat-card .stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}
.stat-card .stat-icon {
    font-size: 2rem;
    opacity: 0.7;
}

/* Kanban board */
.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}
.kanban-column {
    min-width: 280px;
    flex: 1;
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}
.kanban-column-header {
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kanban-column-header .count {
    background: #dee2e6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.kanban-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: grab;
    transition: box-shadow 0.2s;
}
.kanban-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.kanban-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
}
.kanban-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.kanban-card .card-meta {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Availability calendar grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}
.availability-day {
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem;
    min-height: 120px;
}
.availability-day-header {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.availability-slot {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}
.availability-slot.available {
    background: #d1e7dd;
    color: #0f5132;
}
.availability-slot.unavailable {
    background: #f8d7da;
    color: #842029;
}

/* Hours progress bar */
.hours-progress {
    height: 1.5rem;
    border-radius: 0.5rem;
}

/* Table improvements */
.table-hover tbody tr {
    cursor: pointer;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-card {
    max-width: 400px;
    width: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kanban-board {
        flex-direction: column;
    }
    .kanban-column {
        min-width: 100%;
    }
    .availability-grid {
        grid-template-columns: 1fr;
    }
}
