@media (max-width: 1700px) {
    .dashboard-summary {
        grid-template-columns: repeat(4, minmax(180px, 1fr));
    }
}

@media (max-width: 1200px) {
    .dashboard-summary {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dashboard-summary {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 767.98px) {

    .bus-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        margin-right: -12px;
        margin-left: -12px;
        border-radius: 0;
    }

    .header-weather {
        width: 100%;
    }

    .header-weather-widget {
        justify-content: center;
        width: 100%;
    }

    .header-weather-content {
        text-align: left;
    }

    .dashboard-footer-note {
        padding-left: 0;
        border-left: 0;
    }

    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .summary-icon {
        margin: 0;
    }

    .dashboard-summary {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .dashboard-summary .summary-card {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;

        width: 100%;
        min-height: 88px;
        height: auto;

        padding: 14px 16px;
        text-align: left;
    }

    .dashboard-summary .summary-left {
        display: contents;
    }

    .dashboard-summary .summary-icon {
        grid-column: 1;
        grid-row: 1;

        width: 42px;
        height: 42px;
        min-height: 42px;
        margin: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dashboard-summary .summary-title {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
        min-height: 0;
        margin: 0;

        display: block;

        font-size: 14px;
        line-height: 1.25;
        font-weight: 600;
        text-align: left;

        white-space: normal;
        overflow-wrap: break-word;
    }

    .dashboard-summary .summary-value {
        grid-column: 3;
        grid-row: 1;

        min-width: 48px;
        margin: 0;

        font-size: 32px;
        line-height: 1;
        font-weight: 800;
        text-align: right;
        white-space: nowrap;

        transform: none !important;
        position: static !important;
    }

}

@media (max-width:1439px){
    .summary-card{
        padding:16px 18px;
    }

    .summary-title{
        font-size:15px;
    }

    .summary-value{
        font-size:36px;
    }
}
