.br-booking-steps {
    position: relative;
    margin-bottom: 1.5rem;
}

.br-booking-steps__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    position: relative;
}

.br-booking-steps__track {
    position: absolute;
    top: 1.0625rem;
    left: calc(16.666% + 1.35rem);
    right: calc(16.666% + 1.35rem);
    height: 2px;
    background: rgba(148, 163, 184, 0.35);
    z-index: 0;
}

.br-booking-steps__item {
    position: relative;
    text-align: center;
    z-index: 1;
}

.br-booking-steps__line {
    position: absolute;
    top: 1.0625rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: transparent;
    transform: translateX(0);
}

.br-booking-steps__item:last-child .br-booking-steps__line {
    display: none;
}

.br-booking-steps__item.is-completed .br-booking-steps__line,
.br-booking-steps__item.is-active .br-booking-steps__line {
    background: #f59e0b;
}

.br-booking-steps__marker-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.br-booking-steps__marker {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.45);
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.br-booking-steps__item.is-completed .br-booking-steps__marker,
.br-booking-steps__item.is-active .br-booking-steps__marker {
    border-color: #f59e0b;
    background: #f59e0b;
    color: #ffffff;
}

.br-booking-steps__item.is-active .br-booking-steps__marker {
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.18);
}

.br-booking-steps__label {
    max-width: 11rem;
    margin: 0 auto;
    font-size: 0.875rem;
    line-height: 1.35;
    font-weight: 600;
    color: #64748b;
}

.br-booking-steps__item.is-completed .br-booking-steps__label,
.br-booking-steps__item.is-active .br-booking-steps__label {
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .br-booking-steps {
        margin-bottom: 1.25rem;
    }

    .br-booking-steps__items {
        gap: 0.35rem;
    }

    .br-booking-steps__track {
        left: calc(16.666% + 1rem);
        right: calc(16.666% + 1rem);
    }

    .br-booking-steps__marker {
        width: 1.9rem;
        height: 1.9rem;
        font-size: 0.82rem;
    }

    .br-booking-steps__line,
    .br-booking-steps__track {
        top: 0.95rem;
    }

    .br-booking-steps__label {
        max-width: 6.5rem;
        font-size: 0.75rem;
    }
}

html.dark .br-booking-steps__track {
    background: rgba(148, 163, 184, 0.2);
}

html.dark .br-booking-steps__marker {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.28);
}

html.dark .br-booking-steps__item.is-completed .br-booking-steps__marker,
html.dark .br-booking-steps__item.is-active .br-booking-steps__marker {
    border-color: #f59e0b;
    background: #f59e0b;
    color: #fff;
}

html.dark .br-booking-steps__label {
    color: #94a3b8;
}

html.dark .br-booking-steps__item.is-completed .br-booking-steps__label,
html.dark .br-booking-steps__item.is-active .br-booking-steps__label {
    color: #f8fafc;
}
