/* Контейнер з усіма рейсами */
.bussystem-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

/* Окрема карточка рейсу */
.bussystem-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Верхня частина: час + маршрут */
.bussystem-card-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Час виїзду/прибуття */
.bussystem-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}

.bussystem-time-from,
.bussystem-time-to {
    white-space: nowrap;
}

.bussystem-time-arrow {
    opacity: 0.7;
}

/* Маршрут текстом */
.bussystem-route {
    font-size: 15px;
    font-weight: 500;
}

/* Перевізник */
.bussystem-carrier {
    font-size: 13px;
    color: #666;
}

/* Правий блок: ціна + кнопка */
.bussystem-card-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

/* Ціна */
.bussystem-price {
    font-size: 18px;
    font-weight: 700;
}

/* Кнопка (поки просто "Детальніше") */
.bussystem-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: #1a73e8;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.bussystem-btn:hover {
    background: #155ec0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

/* Додатковий дрібний текст (наприклад, тривалість) */
.bussystem-meta {
    font-size: 12px;
    color: #888;
}

/* Адаптація для ширших екранів */
@media (min-width: 640px) {
    .bussystem-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .bussystem-card-main {
        flex: 1;
    }

    .bussystem-card-side {
        flex-direction: column;
        align-items: flex-end;
        margin-top: 0;
    }
}
