.clinical-chart {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clinical-chart-header {
    text-align: center;
    margin-bottom: 25px;
}

.clinical-chart-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.clinical-chart-subtitle {
    font-size: 1.3rem;
    color: #e0e7ff;
    font-weight: 600;
    margin: 8px 0 0 0;
}

.chart-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.chart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.chart-item:last-child {
    margin-bottom: 0;
}

.chart-label {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-right: 15px;
    min-width: 200px;
}

.chart-bar-container {
    flex: 2;
    height: 35px;
    background: #e5e7eb;
    border-radius: 17px;
    position: relative;
    overflow: hidden;
    margin-right: 15px;
}

.chart-bar {
    height: 100%;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width 1s ease-in-out;
    position: relative;
}

.chart-bar.bar-100 {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}

.chart-bar.bar-80 {
    background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
}

.chart-bar.bar-75 {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

.chart-bar.bar-70 {
    background: linear-gradient(90deg, #7c3aed 0%, #8b5cf6 100%);
}

.chart-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    min-width: 35px;
    text-align: center;
}

/* Animation on load */
.chart-bar {
    width: 0;
}

.chart-bar.bar-100 {
    animation: expandBar100 2s ease-out forwards;
}

.chart-bar.bar-80 {
    animation: expandBar80 2s ease-out forwards;
}

.chart-bar.bar-75 {
    animation: expandBar75 2s ease-out forwards;
}

.chart-bar.bar-70 {
    animation: expandBar70 2s ease-out forwards;
}

@keyframes expandBar100 {
    to {
        width: 100%;
    }
}

@keyframes expandBar80 {
    to {
        width: 80%;
    }
}

@keyframes expandBar75 {
    to {
        width: 75%;
    }
}

@keyframes expandBar70 {
    to {
        width: 70%;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .clinical-chart {
        padding: 20px;
    }
    
    .clinical-chart-header h2 {
        font-size: 1.4rem;
    }
    
    .clinical-chart-subtitle {
        font-size: 1.1rem;
    }
    
    .chart-container {
        padding: 15px;
    }
    
    .chart-item {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
    }
    
    .chart-label {
        margin-right: 0;
        margin-bottom: 8px;
        min-width: auto;
        font-size: 0.95rem;
    }
    
    .chart-bar-container {
        margin-right: 0;
        margin-bottom: 8px;
        height: 30px;
    }
    
    .chart-value {
        align-self: center;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .clinical-chart {
        padding: 15px;
        margin: 0.5rem 0;
    }
    
    .clinical-chart-header h2 {
        font-size: 1.2rem;
    }
    
    .clinical-chart-subtitle {
        font-size: 1rem;
    }
    
    .chart-container {
        padding: 12px;
    }
    
    .chart-label {
        font-size: 0.9rem;
    }
    
    .chart-bar-container {
        height: 25px;
    }
    
    .chart-value {
        font-size: 0.9rem;
    }
}