.fm-track-banner {
    position: fixed;
    left: auto;
    right: 14px;
    bottom: 14px;
    z-index: 1080;
    background: #1565c0;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(21, 101, 192, .28);
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 10px;
    cursor: pointer;
    max-width: min(280px, calc(100vw - 28px));
}
.fm-track-banner.is-visible { display: flex; }
.fm-track-banner__icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}
.fm-track-banner__text { flex: 1; min-width: 0; }
.fm-track-banner__title { font-weight: 700; font-size: 11px; line-height: 1.2; }
.fm-track-banner__sub { font-size: 10px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-track-banner > .fa-chevron-up { display: none; }

.fm-track-sheet {
    position: fixed; inset: 0; z-index: 1090; display: none;
    background: rgba(15, 23, 42, .45);
}
.fm-track-sheet.is-open { display: block; }
.fm-track-sheet__card {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: #fff; border-radius: 22px 22px 0 0;
    padding: 12px 18px 22px; max-height: 88vh; overflow: auto;
}
.fm-track-sheet__handle {
    width: 42px; height: 5px; border-radius: 99px; background: #e2e8f0; margin: 4px auto 14px;
}
.fm-track-otp {
    letter-spacing: 6px;
    font-size: 34px;
    font-weight: 800;
    color: #0b5cad;
    line-height: 1;
}
.fm-arrival-otp-hero {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #93c5fd;
}
.fm-arrival-otp-hero .fm-track-otp {
    font-size: 42px;
}
.fm-track-arrived-banner {
    background: linear-gradient(135deg, #0b5cad, #0d9488);
    color: #fff;
    border-radius: 16px;
    padding: 16px;
    margin: 12px 0;
    text-align: center;
}
.fm-track-arrived-banner .fm-track-otp {
    color: #fff;
    font-size: 38px;
    letter-spacing: 8px;
}
.fm-track-steps { display: flex; gap: 6px; margin: 14px 0 8px; }
.fm-track-step { flex: 1; text-align: center; }
.fm-track-step__dot {
    width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 6px;
    display: flex; align-items: center; justify-content: center;
    background: #e2e8f0; color: #64748b; font-size: 11px;
}
.fm-track-step.is-done .fm-track-step__dot { background: #10b981; color: #fff; }
.fm-track-step.is-active .fm-track-step__dot { background: #1565c0; color: #fff; }
.fm-track-step__label { font-size: 10px; font-weight: 600; color: #64748b; }
.fm-track-step.is-active .fm-track-step__label { color: #1565c0; }
.fm-otp-modal {
    position: fixed; inset: 0; z-index: 1100; display: none;
    background: rgba(15, 23, 42, .45);
    align-items: center; justify-content: center; padding: 20px;
}
.fm-otp-modal.is-open { display: flex; }
.fm-otp-modal__card {
    background: #fff; border-radius: 24px; padding: 22px 18px 16px;
    width: min(420px, 100%); text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
body.fm-track-open { overflow: hidden; }
