
/*
 * AURIXA DEPOSIT BONUS POSITION FIX V3
 * Only the dynamically injected bonus panel.
 */

/* Position the new card on the header edge */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered {
  position: relative !important;
  z-index: 50 !important;
  margin-top: -22px !important;
}

/* Correct mobile accordion heading */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered > .arx-tier-toggle {
  width: 100% !important;
  height: auto !important;
  min-height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  gap: 8px !important;
  padding: 11px 12px !important;
}

/* Keep icon stable */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-icon {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
}

/* Allow text to occupy the available space */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-title {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

/* Prevent title truncation */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-title strong {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  height: auto !important;
  max-width: none !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: unset !important;
}

/* Small title above main text */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-title small {
  display: block !important;
  margin-bottom: 3px !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

/* Compact bonus badge */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-max {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  width: auto !important;
  padding: 8px 9px !important;
  font-size: 11px !important;
}

/* Arrow alignment */
.dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-chevron {
  flex: 0 0 12px !important;
  width: 12px !important;
  text-align: center !important;
}

@media (max-width: 390px) {
  .dv4-page .dv4-hero-stack > section.arx-deposit-tiered > .arx-tier-toggle {
    gap: 6px !important;
    padding: 10px !important;
  }

  .dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-title strong {
    font-size: 11px !important;
  }

  .dv4-page .dv4-hero-stack > section.arx-deposit-tiered .arx-tier-max {
    font-size: 10px !important;
    padding: 7px !important;
  }
}
