.bus-vehicle-card {
    height: 100%;
    min-height: 170px;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(31, 45, 61, .06);
}

.bus-vehicle-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px;
}

.bus-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.bus-card-info {
    flex: 1 1 auto;
    min-width: 0;
}

.bus-number {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.bus-speed {
    margin-top: 6px;
    font-size: .8rem;
    line-height: 1.2;
}

.bus-card-climate {
    flex: 0 0 auto;
    min-width: 64px;
    text-align: right;
}

.bus-temperature {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.bus-card-address {
    flex: 1 1 auto;
    margin-top: 20px;
    font-size: .9rem;
    line-height: 1.45;
}

.bus-status-line {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid currentColor;
    opacity: .8;
    font-size: .8rem;
    font-weight: 600;
    text-align: right;
}

.bus-card-danger {
    border-color: #ff7777;
    color: #8b1616;
    background: linear-gradient(135deg, #ffe6e6, #fff3f3);
}

.bus-card-warning {
    border-color: #ffb34d;
    color: #784800;
    background: linear-gradient(135deg, #fff0d7, #fff7e8);
}

.bus-card-no-data {
    border-color: #eac137;
    color: #6f5900;
    background: linear-gradient(135deg, #fff6ca, #fffbea);
}

.bus-card-normal {
    border-color: #79cc88;
    color: #116324;
    background: linear-gradient(135deg, #e4f7e8, #f0fbf2);
}

.bus-card-sleep {
    border-color: #d8dde5;
    color: #465468;
    background: linear-gradient(135deg, #f2f4f7, #fafbfc);
}
