/* AURELION_OFFICE_TOPUPS_FORCE_COMPACT_V422_CSS_START */
/* Final override: topup rows must never stretch vertically. */

body.aurelion-office-shell-v124 .office-topups-compact-v422,
body.aurelion-office-shell-v124 .office-topups-compact-v422 * {
  box-sizing: border-box !important;
}

body.aurelion-office-shell-v124 .office-topups-list-compact-v422 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 10px !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: 410px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;

  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  flex: 0 0 72px !important;

  padding: 11px 14px !important;
  overflow: hidden !important;

  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(37,99,235,.055), transparent 44%),
    #ffffff !important;
  border: 1px solid rgba(37,99,235,.12) !important;
  box-shadow:
    0 10px 24px rgba(15,23,42,.045),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div {
  min-height: 0 !important;
  max-height: 50px !important;
  overflow: hidden !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div:first-child {
  display: grid !important;
  grid-template-columns: 116px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 14px !important;
  row-gap: 4px !important;
  align-items: center !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div:first-child > b {
  grid-row: 1 / span 2 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 small,
body.aurelion-office-shell-v124 .office-topups-row-compact-v422 .office-payment-countdown,
body.aurelion-office-shell-v124 .office-topups-row-compact-v422 .office-payment-done {
  margin: 0 !important;
  line-height: 1.15 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 .office-payment-countdown {
  height: 22px !important;
  max-height: 22px !important;
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  color: #1d4ed8 !important;
  background: rgba(37,99,235,.10) !important;
  border: 1px solid rgba(37,99,235,.16) !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div:last-child {
  min-width: 132px !important;
  max-height: 50px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 7px !important;
  text-align: right !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div:last-child small,
body.aurelion-office-shell-v124 .office-topups-row-compact-v422 > div:last-child span:first-child {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
}

body.aurelion-office-shell-v124 .office-topups-row-compact-v422 a {
  height: 30px !important;
  max-height: 30px !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: #071224 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

body.aurelion-office-shell-v124 .office-topups-panel-compact-v422 {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

/* If only one row exists, the row stays compact and the list does not become a giant card. */
body.aurelion-office-shell-v124 .office-topups-list-compact-v422:has(.office-topups-row-compact-v422:nth-child(1):last-child) {
  max-height: 82px !important;
}

body.aurelion-office-shell-v124 .office-topups-list-compact-v422:has(.office-topups-row-compact-v422:nth-child(2):last-child) {
  max-height: 164px !important;
}

body.aurelion-office-shell-v124 .office-topups-list-compact-v422:has(.office-topups-row-compact-v422:nth-child(3):last-child) {
  max-height: 246px !important;
}

body.aurelion-office-shell-v124 .office-topups-list-compact-v422:has(.office-topups-row-compact-v422:nth-child(4):last-child) {
  max-height: 328px !important;
}

body.aurelion-office-shell-v124 .office-topups-list-compact-v422:has(.office-topups-row-compact-v422:nth-child(5):last-child) {
  max-height: 410px !important;
}
/* AURELION_OFFICE_TOPUPS_FORCE_COMPACT_V422_CSS_END */
