/* SabiHQ v1479 — billing checkout and modal clarity.
   Layout-only refinement: existing text sizes remain unchanged. */

/* A half-width Billing column cannot safely carry three narrow plan cards at
   14-inch desktop widths. Stack them once the outer page becomes two columns. */
@media (min-width: 1280px) {
  .sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] > * {
  min-width: 0;
}

.sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] > * > .flex.items-start {
  flex-wrap: wrap;
  padding-right: 0 !important;
}

.sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] > * > .flex.items-start > :first-child {
  min-width: 0;
  flex: 1 1 15rem;
}

.sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] > * > p,
.sabihq-dashboard-shell [data-sabi-v1475-live-admin-plan-pricing="monthly-annual"] > * button {
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.35;
}

/* An add-on checkout is a capacity purchase, not a plan comparison. Hide the
   unrelated plan/status siblings while retaining the selected add-on details. */
.sabihq-dashboard-shell section:has(> [data-hospitality-v1006-addon-modal-live-price="backend-priced"])
  > :not([data-hospitality-v1006-addon-modal-live-price="backend-priced"]) {
  display: none !important;
}

.sabihq-dashboard-shell [data-hospitality-v1006-addon-modal-live-price="backend-priced"] {
  min-width: 0;
}

.sabihq-dashboard-shell [data-hospitality-v1006-addon-modal-live-price="backend-priced"] .text-right {
  text-align: left;
}

.sabihq-dashboard-shell [data-hospitality-v1006-addon-modal-live-price="backend-priced"] p {
  overflow-wrap: anywhere;
}
