/* Amelia Xtend Suite - frontend shared extras / step flow */
.amelia-v2-booking #amelia-container .am-fs__main-heading {
    display: flex;
    align-items: center;
    gap: 0 12px;
}

/* Keep Amelia's native intermediate step title from flashing during Xtend's
 * Date-first bridge transitions. Use opacity instead of visibility so Xtend's
 * step detector can still read Amelia's live heading while the bridge runs. */
.amelia-v2-booking #amelia-container.aacps-heading-transition .am-fs__main-heading {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Match Amelia's native Back-button hover used on forms with Court Selection. */
.amelia-v2-booking #amelia-container [data-aacps-synthetic-back="1"] {
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.amelia-v2-booking #amelia-container [data-aacps-synthetic-back="1"]:hover {
    background: #e9e9ed !important;
    border-color: #b8bfd3 !important;
}

.amelia-v2-booking #amelia-container [data-aacps-synthetic-back="1"]:focus-visible {
    background: #e9e9ed !important;
    border-color: #b8bfd3 !important;
    outline: 2px solid rgba(26, 44, 87, 0.18);
    outline-offset: 1px;
}

.amelia-v2-booking #amelia-container [data-aacps-synthetic-back="1"]:active {
    background: #dedee4 !important;
}

