/* Shared itinerary day-items timeline.
 *
 * Used by the public tour page ("Full activity details") and by the travel
 * quote / My Trip itinerary so both surfaces render one design.
 *
 * Selectors are scoped under .itinerary-timeline on purpose: the generic
 * .meta-item class is also used by theme blocks (tour cards, blog blocks) and
 * must never inherit the timeline chip styling.
 */

/* Itinerary Timeline Styles */
.itinerary-timeline {
    list-style: none;
    padding-left: 50px;
    /* Space for the icon and line */
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/* The vertical line */
.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    /* (Icon width / 2) + border width */
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border-primary);
    /* A light grey for the line, adjust as needed */
}

.itinerary-timeline .timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    /* Increased vertical space between items */
}

.itinerary-timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.itinerary-timeline .timeline-marker {
    position: absolute;
    left: -51px;
    /* Pulls the icon to the left */
    top: -10px;
    width: 40px;
    height: 40px;
    background: var(--bg-body);
    /* Same as your page background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-primary);
    /* Border for the circle */
    z-index: 1;
    /* Sits on top of the vertical line */
}

.itinerary-timeline .timeline-marker svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    /* Icon color */
}


/* Container for all meta items for a single timeline entry */
.itinerary-timeline .timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    /* Space between meta items */
    /* border-top: 1px solid #444; Subtle separator line */
}

/* A single meta item (e.g., "Distance: 10km") styled nicely as tags */
.itinerary-timeline .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    padding: 4px 10px;
    border-radius: var(--radius-s, 6px);
    background-color: rgba(255, 255, 255, 0.03);
}

.itinerary-timeline .meta-item svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: inherit;
}

.itinerary-timeline .meta-item .meta-label {
    font-weight: 600;
}
