/* Vehicle markers */

.vehicle-marker {
    background: transparent;
    border: none;
}

.vehicle-badge {
    transform: scale(0.72);
    transform-origin: center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* Vehicle popup */

.vehicle-popup {
    min-width: 250px;
}

.vehicle-popup-line {
    margin-bottom: 14px;
}

.vehicle-popup-line .line-badge {
    transform: scale(1.12);
    transform-origin: left center;
}

.vehicle-popup-direction {
    margin: 18px 0 18px;

    font-size: 20px;
    font-weight: 1000;
    color: var(--text-main);
}

.vehicle-popup-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vehicle-timeline {
    position: relative;
    display: grid;
    row-gap: 0;
}

.vehicle-timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 18px;
    height: 96px;
    width: 2px;
    background: rgba(255,255,255,0.22);
    border-radius: 999px;
}

.vehicle-current-stop,
.vehicle-stop,
.vehicle-destination-stop {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 12px;
    align-items: center;
}

.vehicle-current-stop,
.vehicle-stop {
    min-height: 31px;
}

.vehicle-stop-connector,
.vehicle-stop-icon::after {
    display: none;
}

.vehicle-current-dot,
.vehicle-stop-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-color);
    justify-self: center;
    box-shadow: 0 0 0 4px rgba(15,23,42,.9);
}

.vehicle-stop-label,
.vehicle-destination-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 3px;
}

.vehicle-current-name {
    font-size: 16px;
    font-weight: 800;
    color: #374151;
}

.vehicle-stop-name {
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.vehicle-destination-stop {
    margin-top: 10px;
    align-items: center;
}

.vehicle-destination-stop > div:last-child {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
}

.vehicle-destination-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--line-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    justify-self: center;
    box-shadow:
        0 0 0 5px rgba(15,23,42,.9),
        0 0 0 9px rgba(0, 0, 0, 0.06);
}

.vehicle-destination-name {
    font-size: 19px;
    font-weight: 900;
    color: var(--text-main);
}

.vehicle-next-stop {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}
