.bus-dashboard {
    --dashboard-border: #dce3ec;
    --dashboard-text: #132033;
    color: var(--dashboard-text);
}

.bus-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
    padding: 16px 22px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #18263b, #1e2f47);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.header-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
}

.header-icon i {
    color: #9ed9ff;
    font-size: 26px;

}

.header-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.header-subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.header-weather {
    flex: 0 0 auto;
}

.header-weather-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    justify-content: space-between;
}

.header-weather-icon {
    color: #a9c7eb;
    font-size: 32px;
    line-height: 1;
}

.header-weather-content {
    text-align: right;
    align-items: flex-end;
}

.header-weather-temperature {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.header-weather-description {
    margin-top: 4px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    white-space: nowrap;
}

.bus-updating {
    opacity: .5;
    pointer-events: none;
}

.dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    padding: 14px 18px;
    border-top: 1px solid var(--dashboard-border);
    color: #68778a;
    font-size: 13px;
}

.dashboard-footer-refresh {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dashboard-footer-refresh i {
    color: #0d6efd;
}

.dashboard-footer-refresh strong {
    color: #25364c;
    font-size: 15px;
}

.dashboard-footer-note {
    padding-left: 18px;
    border-left: 1px solid var(--dashboard-border);
}

.bus-data-wrapper {
    position: relative;
}

.bus-loading {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    background: rgba(255, 255, 255, .30);

    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity .25s ease,
            visibility .25s ease;
}

.bus-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}


/* Сам индикатор */

.bus-loading-content {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    background: #192b43;
    color: #fff;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    opacity: 0;
    transform: scale(.96);

    transition:
            opacity .2s ease,
            transform .2s ease;
}

.bus-loading.is-visible .bus-loading-content {
    opacity: 1;
    transform: scale(1);
}


/* Spinner */

.bus-loading-content .spinner-border {
    width: 20px;
    height: 20px;

    border-width: 2px;
    color: #9ed9ff;
}