
/* ========================================
   COURSE ASSIGNMENTS VIEW STYLES
   ======================================== */

.stat-card {
    border-radius: 10px;
    border: none;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.danger { border-left: 4px solid #dc3545; }
.stat-card.success { border-left: 4px solid #28a745; }
.stat-card.info { border-left: 4px solid #17a2b8; }
.stat-card.warning { border-left: 4px solid #ffc107; }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.danger { 
    background-color: rgba(220, 53, 69, 0.1); 
    color: #dc3545; 
}

.stat-icon.success { 
    background-color: rgba(40, 167, 69, 0.1); 
    color: #28a745; 
}

.stat-icon.info { 
    background-color: rgba(23, 162, 184, 0.1); 
    color: #17a2b8; 
}

.stat-icon.warning { 
    background-color: rgba(255, 193, 7, 0.1); 
    color: #ffc107; 
}

.filters-card {
    border-radius: 10px;
    border: none;
}

.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.course-card-unassigned {
    border-left: 4px solid #dc3545;
}

.staff-card {
    position: relative;
}

.staff-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.staff-workload-indicator {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.workload-none { 
    background-color: #e9ecef; 
    color: #6c757d; 
}

.workload-light { 
    background-color: #d1e7dd; 
    color: #0f5132; 
}

.workload-moderate { 
    background-color: #fff3cd; 
    color: #664d03; 
}

.workload-heavy { 
    background-color: #f8d7da; 
    color: #842029; 
}

.assignment-list {
    max-height: 250px;
    overflow-y: auto;
}

.assignment-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px;
    margin-bottom: 6px;
    background: white;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.assignment-item:hover {
    background-color: #f8f9fa;
}

.btn-revoke {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.btn-revoke:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.badge-course-code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.badge-units {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state-text {
    color: #6c757d;
    font-size: 1rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stat-card .card-body {
        padding: 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .staff-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   END COURSE ASSIGNMENTS VIEW STYLES
   ======================================== */