/* Customer reservation changes only; shared booking and staff styles stay intact. */
body[data-screen="change"] #booking-current > h2 {
  border: 0;
  padding: 0;
}

body[data-screen="change"] .booking-summary > div {
  align-items: center;
}

body[data-screen="change"] .booking-summary dt,
body[data-screen="change"] .booking-summary dd {
  align-self: center;
  padding: 0;
}

body[data-screen="change"] .booking-arrow-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

body[data-screen="change"] .booking-arrow {
  display: block;
  flex: 0 0 24px;
  pointer-events: none;
}

body[data-screen="change"].booking-current main > .back {
  display: none;
}

body[data-screen="change"] .choice.booking-arrow-control {
  justify-content: space-between;
}

body[data-screen="change"] .quantity-control .booking-arrow-control {
  gap: 6px;
}

body[data-screen="change"] #cancel-booking {
  text-align: center;
}

body[data-screen="change"] #confirm-cancel h2 {
  text-align: center;
}

body[data-screen="change"] #cancel-summary li {
  align-items: center;
}

/* These are programmatic screen/status targets, not keyboard controls. */
body[data-screen="change"] .booking-step:focus,
body[data-screen="change"] #change-order-form:focus,
body[data-screen="change"] #cancel-status:focus {
  outline: none;
}

/* Dialog focus restoration can retain :focus-visible after a pointer click. */
body[data-screen="change"].booking-pointer-input .booking-arrow-control:focus {
  outline: none;
}

@media (max-width: 360px) {
  body[data-screen="change"] #cancel-booking button {
    gap: 10px;
    font-size: 20px;
  }

  body[data-screen="change"] .quantity-control .booking-arrow-control {
    gap: 4px;
    font-size: 14px;
    padding: 8px 5px;
  }

  body[data-screen="change"] .quantity-control .booking-arrow {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}
