.xendit-pay-box {
  text-align: left;
}

.xendit-pay-box--checkout {
  margin: 0;
  padding: 0;
  max-width: none;
}

.xendit-kind {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f1f7;
  color: #5e4b78;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

.xendit-kind--qr {
  background: #eef6ff;
  color: #1f5f99;
}

.xendit-kind--va {
  background: #f4f6f8;
  color: #445566;
}

.xendit-kind--ewallet {
  background: #eaf8f1;
  color: #1f6b45;
}

.xendit-pay-box--checkout .xendit-checkout-lead {
  margin: 0 0 8px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.xendit-pay-box--checkout .xendit-checkout-next {
  margin: 0;
}

.xendit-pay-box--checkout .xendit-checkout-breakdown {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  background: #fafafa;
}

.xendit-pay-box--checkout .xendit-checkout-lines {
  margin: 0;
}

.xendit-pay-box--checkout .xendit-checkout-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 4px 0;
  color: #444;
  font-size: 13px;
  line-height: 1.45;
}

.xendit-pay-box--checkout .xendit-checkout-line dt {
  margin: 0;
  font-weight: normal;
}

.xendit-pay-box--checkout .xendit-checkout-line dd {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.xendit-pay-box--checkout .xendit-checkout-line-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  color: #111;
  font-size: 14px;
}

.xendit-pay-box--checkout .xendit-checkout-line-subtotal {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #e0e0e0;
  color: #666;
  font-size: 12px;
}

.xendit-pay-box--checkout .xendit-checkout-line-rounding {
  color: #5e4b78;
  font-size: 12px;
}

.xendit-pay-box--checkout .xendit-checkout-line-rounding dd {
  font-weight: 600;
}

.xendit-pay-box--checkout .xendit-rounding-note {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.xendit-order-pay-box .xendit-rounding-note {
  margin: 6px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.xendit-pay-box--checkout .xendit-checkout-line-total .xendit-amount {
  font-size: 16px;
}

.xendit-pay-box--checkout .xendit-checkout-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  background: #fafafa;
}

.xendit-pay-box--checkout .xendit-checkout-total-label {
  color: #555;
  font-size: 13px;
}

.xendit-pay-box--checkout .xendit-checkout-total .xendit-amount {
  font-size: 16px;
  color: #111;
}

.xendit-pay-box--order {
  max-width: 440px;
  margin: 0 auto;
}

.xendit-order-summary,
.xendit-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  text-align: left;
}

.xendit-order-summary {
  display: block;
}

.xendit-confirm-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  text-align: left;
}

.xendit-confirm-alert p:last-child,
.xendit-confirm-alert .xendit-confirm-hint:last-child {
  margin-bottom: 0;
}

.xendit-confirm-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 20px;
}

.xendit-confirm-hint {
  margin-top: 8px;
  color: inherit;
  opacity: .85;
  font-size: 13px;
}

.xendit-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #666;
  font-size: 12px;
  line-height: 1.2;
}

.xendit-amount {
  display: block;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.xendit-secure {
  color: #287a45;
  font-size: 12px;
  white-space: nowrap;
}

.xendit-help {
  max-width: 400px;
  margin: 0 auto 14px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.xendit-pending {
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 8px;
}

.xendit-pending .panel-body {
  text-align: center;
}

.xendit-instruction {
  margin-bottom: 8px;
  color: #444;
}

.xendit-qr {
  max-width: 240px;
  width: 100%;
  height: auto;
  background: #fff;
  padding: 8px;
  border: 1px solid #eee;
}

.xendit-va {
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 4px 0 8px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  word-break: break-all;
}

.xendit-open-app {
  min-width: 180px;
}

.xendit-wallet-hint {
  margin-top: 8px;
  font-size: 12px;
}

.xendit-gopay-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid #00AED6;
  border-radius: 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.xendit-gopay-open:hover,
.xendit-gopay-open:focus {
  text-decoration: none;
  color: #111;
  background: #f4fcfe;
}

.xendit-gopay-logo {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #00AED6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.xendit-expiry {
  margin-top: 10px;
}

.xendit-simulate {
  margin: 16px 0 8px;
  padding: 12px;
  border: 1px dashed #c9a227;
  border-radius: 8px;
  background: #fffbeb;
}

.xendit-simulate-note {
  margin: 0 0 10px;
  color: #7a5b00;
  font-size: 12px;
}

.xendit-simulate-status {
  margin: 10px 0 0;
  color: #555;
  font-size: 13px;
}

.xendit-status {
  display: inline-block;
  margin: 12px 0 0;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.35;
}

.xendit-status.is-wait {
  background: #f3f1f7;
  color: #5e4b78;
}

.xendit-status.is-paid {
  background: #eaf6ed;
  color: #1e7e34;
  font-weight: 600;
}

.xendit-status.is-error {
  background: #f9eaea;
  color: #a94442;
}

.xendit-qr-actions {
  margin: 0 0 8px;
}

.xendit-howto {
  margin: 18px 0 4px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  text-align: left;
}

.xendit-howto-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.xendit-howto-copy {
  margin: 0 0 12px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.xendit-howto-copy p {
  margin: 0 0 6px;
}

.xendit-howto-tabs {
  margin-bottom: 0;
}

.xendit-howto-tabs > li > a {
  padding: 8px 12px;
  font-size: 13px;
}

.xendit-howto-panels {
  padding: 12px 12px 4px;
  border: 1px solid #ddd;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  background: #fafafa;
}

.xendit-howto-section + .xendit-howto-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e2e2;
}

.xendit-howto-heading {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.xendit-howto-steps {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #444;
  font-size: 13px;
  line-height: 1.45;
}

.xendit-howto-steps li + li {
  margin-top: 4px;
}

.xendit-howto-other {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.xendit-howto-note,
.xendit-howto-bankcode {
  margin: 0 0 10px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.xendit-howto-bankcode {
  font-weight: 600;
  color: #333;
}

@media (max-width: 520px) {
  .xendit-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .xendit-va {
    font-size: 18px;
  }

  .xendit-howto-tabs > li > a {
    padding: 7px 9px;
    font-size: 12px;
  }
}
