html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.container,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
    max-width: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.tab-content {
    width: 100%;
    display: block;
}

#overviewTab {
    width: 100%;
}

.dv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    width: 100%;
}

.dv-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 12px;
}

.dv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.chart-wrapper {
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-wrapper canvas {
    max-width: 100%;
    max-height: 100%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.announcement-bar,
.loading,
.statistics-results {
    width: 100%;
    box-sizing: border-box;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    width: 100%;
}

.info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

@media (max-width: 1024px) {
    .chart-wrapper {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .dv-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .chart-wrapper {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}
