/* Progress Grid Component - Canvas Version */
.progress-grid-container canvas {
    display: inline-block;
    background-color: white;
}

.progress-grid-container canvas[data-size="normal"] {
    width: 100px;
    height: 70px;
}

.progress-grid-container canvas[data-size="small"] {
    width: 80px;
    height: 54px;
}

.progress-grid-container canvas[data-size="tiny"] {
    width: 60px;
    height: 40px;
}

/* Canvas-based progress grid - no CSS grid needed */

.progress-title {
    text-align: center;
    margin-top: 1px;
    font-size: 8px;
    color: #666;
    font-weight: 500;
    line-height: 1;
}

.progress-component.small .progress-title {
    font-size: 7px;
}

.progress-component.tiny .progress-title {
    font-size: 6px;
}

/* Kanban specific styles */
.kanban-metrics {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.kanban-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.kanban-metric-label {
    font-size: 9px;
    color: #666;
    margin-top: 2px;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Bootstrap integration */
.progress-grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-component {
        width: 120px;
        height: 90px;
    }
    
    .grid-cell.label-cell {
        font-size: 10px;
    }
    
    .progress-title {
        font-size: 10px;
    }
}