.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.chart-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.chart-wrapper {
    height: 300px;
    margin-top: 15px;
}

.stats-summary {
    margin-top: 20px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.filters {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.filters .form-actions {
    margin-top: 20px;
}

.navigation {
    margin-top: 10px;
}

.navigation a {
    color: #3498db;
    text-decoration: none;
}

.navigation a:hover {
    text-decoration: underline;
}

.data-table {
    margin-top: 30px;
}

.table-container {
    overflow-x: auto;
    margin-top: 15px;
}

#patients-table {
    width: 100%;
    border-collapse: collapse;
}

#patients-table th {
    background-color: #f2f2f2;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

#patients-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

#patients-table tbody tr:hover {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .chart-wrapper {
        height: 250px;
    }
}