/* High-resolution artwork, cropped to the original rounded widget footprint. */
.phone .app-center-label {
  isolation: isolate;
}
.app-center-artwork {
  position: absolute;
  inset: 2% 1.9% 13.4%;
  border-radius: 6.7% / 30.5%;
  overflow: hidden;
  box-shadow:
    0 3px 5px #183e4824,
    0 7px 12px #183e4826;
}
.app-center-artwork img {
  position: absolute;
  max-width: none;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}
.app-center-artwork::after {
  content: none;
}
.login-bio-button {
  gap: 15px;
}
/* Required providers remain locked on, with the same active visual treatment. */
.phone .partner-management .partner-toggle.on {
  opacity: 1;
  background: #2db7ad;
  border-color: #2db7ad;
  color: #fff;
  filter: none;
  box-shadow: var(--control-shadow);
}
.receive-widget-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #eef3f6;
}
.receive-widget-heading .transfer-provider-widget {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0;
}
.receive-widget .receive-widget-heading h2 {
  padding: 0;
  text-align: center;
}
/* Sprite-backed Favorites commands must not cast rectangular tile shadows. */
.phone .favorites-icon.favorites-sprite-icon {
  filter: none;
  box-shadow: none;
}
/* Shared virtual-card typography and optical alignment for ECOBANK artwork. */
.phone .partner-template-wallet .virtual-label {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.phone .ecobank-card .partner-template-logo {
  top: 2%;
}
.phone .pay-operated-by img[src$="ecobank-mobile-v113.png"] {
  margin-top: -3.8cqw;
}
.phone .pay-operated-by:has(img[src$="ecobank-mobile-v113.png"]) span {
  padding-top: 1cqw;
}
/* Inactive widgets: AGRI 60% opacity; EDUCATION reduced by 15 points. */
.phone .app-center-label:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
}
.phone .app-center-label:disabled:has(.app-center-education) {
  opacity: 0.45;
}
.phone .app-center-label:disabled .app-center-artwork,
.phone .app-center-label:disabled .app-center-artwork img {
  opacity: 1;
}
/* Keep these footer commands flat, including their active states. */
.phone .tab-button:is([onclick="go('favorites')"], [onclick="go('pay')"]),
.phone
  .tab-button:is([onclick="go('favorites')"], [onclick="go('pay')"])
  .tab-icon {
  filter: none;
  box-shadow: none;
  text-shadow: none;
}

/* Equal spacing within and between command pages. Native touch scrolling owns swipes. */
.orange-actions-carousel .promo-track {
  column-gap: 8cqw;
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}
.orange-actions-carousel .orange-action-slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 8%;
  align-items: start;
}
.orange-actions-carousel .orange-command {
  touch-action: pan-x pan-y pinch-zoom;
  translate: none;
}
.orange-actions-carousel .orange-command-picture {
  aspect-ratio: 507/469;
}
.orange-actions-carousel .orange-command-picture > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.orange-actions-carousel .orange-command > span:last-child {
  margin-top: 10px;
  min-height: 2.6em;
}

.app-center-money img {
  left: -2.616279069767442%;
  top: -27.25173210161663%;
  width: 105.28100775193798%;
  height: 167.20554272517322%;
}
.app-center-health img {
  left: -2.3300970873786406%;
  top: -27.03962703962704%;
  width: 104.6116504854369%;
  height: 170.16317016317015%;
}
.app-center-services img {
  left: -2.617547261269995%;
  top: -27.25173210161663%;
  width: 105.28356761997091%;
  height: 167.20554272517322%;
}
.app-center-maxit img {
  left: -2.6686074721009216%;
  top: -27.610208816705335%;
  width: 105.38573508005823%;
  height: 167.9814385150812%;
}
.app-center-agri img {
  left: -2.8223844282238444%;
  top: -24.88479262672811%;
  width: 105.69343065693431%;
  height: 166.82027649769586%;
}
.app-center-education img {
  left: -2.666020358700921%;
  top: -26.096997690531175%;
  width: 105.28356761997091%;
  height: 167.20554272517322%;
}

/* Flat MAXIT footer: preserve the existing icon colors. */
/* Action widgets are momentary commands, never persistent selections.
   Footer tabs and genuine form/carousel selections retain their own rules. */
.phone :is(.wallet-action,.partner-template-actions button,.mini-grid button,
  .partner-app-widget,.app-center-label,.service,.favorites-tile,
  .maxit-nav-action,.maxit-offer-slide,.zencey-start) {
  --widget-press-color:var(--partner-accent,var(--wallet-accent,#2db7ad));
  -webkit-tap-highlight-color:transparent;
}
.phone :is(.wallet-action,.partner-template-actions button,.mini-grid button,
  .partner-app-widget,.app-center-label,.service,.favorites-tile,
  .maxit-nav-action,.maxit-offer-slide,.zencey-start):not(:disabled):not([aria-disabled="true"]):not(.partner-watermarked):not(.muted-tile):active {
  color:var(--widget-press-color);
  background-color:#2db7ad18;
  box-shadow:inset 0 0 0 2px var(--widget-press-color);
}
.phone :is(.wallet-action,.partner-template-actions button):not(:disabled):not([aria-disabled="true"]):active img {
  filter:sepia(1) saturate(3) hue-rotate(110deg);
}
.phone :is(.orange-command,.maxit-shortcut-card,.zencey-service){-webkit-tap-highlight-color:transparent}
/* Restoring focus after a popup must not resemble a selected widget on touch.
   Keyboard focus remains visible for navigation and assistive technology. */
.pointer-navigation .phone :is(.wallet-action,.orange-command,.partner-template-actions button,
  .maxit-shortcut-card,.zencey-service,.maxit-nav-action,.partner-app-widget,
  .app-center-label,.service,.favorites-tile,.mini-grid button):focus{outline:none}
.pointer-navigation .phone .maxit-nav-action:focus:not(:active){background:transparent}

#tabs.maxit-tabs,
#tabs.maxit-tabs::before,
#tabs.maxit-tabs .tab-button,
#tabs.maxit-tabs .tab-icon {
  box-shadow: none;
  filter: none;
  text-shadow: none;
}
