/*
 * Final alignment for payment marks in the operation list and cabinet table.
 * Keep the official SVGs intact. Align their visible artwork, accounting for
 * the clear space already included in the Mastercard and Google Pay artboards.
 */
.spectrum-site .future-product .future-operation-method {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  min-height: 30px;
  flex: 0 0 80px;
  overflow: visible;
}

.spectrum-site .cabinet-table td.cabinet-method {
  text-align: left;
  vertical-align: middle;
}

.spectrum-site .future-product .future-operation-method > .payment-brand,
.spectrum-site .cabinet-table td.cabinet-method > .payment-brand,
.spectrum-site .cabinet-operation > div > span > .payment-brand {
  display: block;
  position: relative;
  left: var(--payment-mark-left, 0px);
  width: var(--payment-mark-width, 44px);
  height: var(--payment-mark-height, 30px);
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: var(--payment-mark-margin-block, 0px) 0;
  flex: none;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
  filter: none;
  transform: none;
}

/* 30 / 108 scale: the first visible Mastercard contour starts at x=17.872. */
.spectrum-site :is(.future-operation-method, .cabinet-method) > .payment-brand-mastercard,
.spectrum-site .cabinet-operation > div > span > .payment-brand-mastercard {
  --payment-mark-left: -4.965px;
}

/*
 * Google Pay's 1094 x 742 artboard contains the acceptance mark at
 * x=170.7..922.7, y=170..570. At 76px wide its visible mark is 52.24 x 27.79px.
 * The offset aligns the outline with the other marks; transparent margins
 * remain visible and are never cropped. Vertical margins keep a 30px row slot.
 */
.spectrum-site :is(.future-operation-method, .cabinet-method) > .payment-brand-google-pay,
.spectrum-site .cabinet-operation > div > span > .payment-brand-google-pay {
  --payment-mark-width: 76px;
  --payment-mark-height: 52px;
  --payment-mark-left: -11.859px;
  --payment-mark-margin-block: -11px;
}

/* Keep the time on the same line beside the mark in the mobile cabinet. */
.spectrum-site .cabinet-operation > div > span > .payment-brand {
  display: inline-block;
}
