.supply-chart-container {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 0;
}

#supplyChart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rent-growth-container {
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#rentGrowthChart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Add these styles for the modal */
#censusModal {
    backdrop-filter: blur(4px);
}

#censusModalContent {
    scrollbar-width: thin;
    scrollbar-color: rgb(148, 163, 184) transparent;
}

#censusModalContent::-webkit-scrollbar {
    width: 8px;
}

#censusModalContent::-webkit-scrollbar-track {
    background: transparent;
}

#censusModalContent::-webkit-scrollbar-thumb {
    background-color: rgb(148, 163, 184);
    border-radius: 4px;
}

@media print {
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    .min-h-screen {
        height: auto !important;
        min-height: 0 !important;
    }
    
    canvas {
        max-width: 100% !important;
        height: auto !important;
    }
}