/* Own simulator form, mounted inside the native dialog so close, focus and SPA navigation still work. */
[data-testid="payment-modal"].checkout-active > :not(.checkout-panel) { display: none !important; }
.checkout-panel { box-sizing: border-box; display: grid; gap: 12px; width: min(100%, 480px); margin: auto; padding: 20px; color: #f4f5f7; background: #25282d; border: 1px solid #525963; border-radius: 12px; font: 16px/1.45 system-ui,sans-serif; text-align: start; }
.checkout-panel [hidden] { display: none !important; }
.checkout-panel header,.checkout-panel footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.checkout-panel h2 { font: 600 21px/1.3 system-ui,sans-serif; margin: 0; }
.checkout-panel p { font: 14px/1.45 system-ui,sans-serif; color: #d0d4da; margin: 0; }
.checkout-panel p:empty { display: none; }
.checkout-panel label { font-weight: 600; }
.checkout-panel input,.checkout-panel select,.checkout-panel button,.checkout-panel a { box-sizing: border-box; min-height: 44px; padding: 9px 12px; font: inherit; color: inherit; border: 1px solid #78808c; border-radius: 5px; background: #30353c; max-width: 100%; }
.checkout-panel button,.checkout-panel a { cursor: pointer; }
.checkout-panel a { display: inline-flex; align-items: center; text-decoration: underline; }
.checkout-panel select,.checkout-panel input { width: 100%; }
.checkout-panel button:disabled { color: #c5c8cf; opacity: .7; cursor: default; }
.checkout-panel :focus-visible { outline: 2px solid #bedbff; outline-offset: 2px; }
.checkout-panel dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); margin: 4px 0 12px; gap: 7px 12px; font-size: 15px; }
.checkout-panel dd { margin: 0; text-align: end; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.checkout-panel [aria-live] > button,.checkout-panel [aria-live] > a { margin-top: 10px; }
.checkout-panel footer { border-top: 1px solid #525963; padding-top: 12px; }
