.progress-chart-container {
    min-height: 300px;
    padding: 20px;
}

.css-chart {
    position: relative;
    height: 250px;
    border-bottom: 2px solid #e0e0e0;
    border-left: 2px solid #e0e0e0;
    margin: 20px 0;
    background: linear-gradient(to top, #f8f9fa 0%, #ffffff 100%);
}

.chart-bar {
    position: absolute;
    width: 40px;
    background: linear-gradient(to top, #007bff, #0056b3);
    border-radius: 4px 4px 0 0;
    bottom: 0;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-bar:hover {
    background: linear-gradient(to top, #0056b3, #004085);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.bar-date {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    transform-origin: center;
}

.y-axis {
    position: absolute;
    left: -60px;
    top: 0;
    height: 100%;
    width: 50px;
}

.y-label {
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    font-size: 11px;
    color: #666;
    text-align: right;
}

.y-label.y-max {
    top: 0%;
}

.y-label.y-mid {
    top: 50%;
}

.y-label.y-min {
    top: 100%;
}

.progress-summary {
    margin-top: 15px;
}

.progress-summary .badge {
    font-size: 14px;
    padding: 8px 12px;
}

.chart-title h6 {
    color: #333;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-bar {
        width: 30px;
    }
    
    .bar-date {
        font-size: 9px;
    }
    
    .y-axis {
        left: -50px;
        width: 45px;
    }
    
    .y-label {
        font-size: 10px;
    }
}

/* Animation for chart bars */
@keyframes chartBarGrow {
    from {
        height: 0;
    }
    to {
        height: var(--bar-height);
    }
}

.chart-bar {
    animation: chartBarGrow 0.8s ease-out;
} 