/* Gantt Chart Custom Styles */
#gantt .bar {
    transition: opacity 0.3s;
}

#gantt .bar:hover {
    opacity: 0.8;
}

.gantt-legend {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.gantt-legend span {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: white;
}

.bar-C1 { background: #3498db; }
.bar-C2 { background: #e74c3c; }
.bar-C3 { background: #f39c12; }
.bar-C4 { background: #27ae60; }
.bar-C5 { background: #9b59b6; }

/* Competency View Styles */
.competency-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.competency-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e9ecef;
}

.course-filter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.outcomes-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.outcome-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
}

.outcome-card header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.outcome-code {
    font-family: monospace;
    font-weight: bold;
    color: #667eea;
}

.level-badge {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.course-tag {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.rubric-requirement {
    background: #f8f9fa;
    padding: 1rem;
    border-left: 3px solid #667eea;
    margin: 1rem 0;
}

.framework-tag {
    display: inline-block;
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.evidence-section {
    margin-top: 1.5rem;
}

.evidence-list {
    list-style: none;
    padding: 0;
}

.evidence-list li {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.evidence-link {
    font-weight: 500;
    color: #667eea;
    text-decoration: none;
}

.justification-preview {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.tbd {
    color: #dc3545;
    font-style: italic;
}

.competency-timeline {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}