/* Reuse the existing installation modal's dimensions, type, header and mobile sheet. */
.esim-topup-dialog[open] { display:flex; flex-direction:column; overflow:hidden; }
.esim-topup-dialog>header,.esim-topup-footer { flex-shrink:0; }
.esim-topup-body { display:grid; min-height:0; gap:12px; padding:16px 20px 20px; overflow-y:auto; overscroll-behavior:contain; }
.esim-topup-state { margin:0; color:var(--cherry-muted); font-size:14px; line-height:24px; }
.esim-topup-packages { display:grid; gap:12px; min-width:0; }
.esim-topup-package { position:relative; display:flex; align-items:center; gap:12px; min-width:0; min-height:80px; padding:14px 16px; border:1px solid var(--cherry-line); border-radius:16px; background:var(--cherry-canvas); color:var(--cherry-ink); cursor:pointer; }
.esim-topup-package:has(input:checked) { border-color:var(--cherry-primary); background:var(--cherry-selected); }
.esim-topup-package:focus-within { outline:2px solid var(--cherry-primary); outline-offset:2px; }
.esim-topup-package>input { width:18px; height:18px; flex-shrink:0; margin:0; accent-color:var(--cherry-primary); cursor:pointer; }
.esim-topup-package__description { display:grid; flex:1; min-width:0; gap:4px; }
.esim-topup-package__description strong { font-size:16px; line-height:24px; font-weight:600; overflow-wrap:anywhere; }
.esim-topup-package__description>span { color:var(--cherry-muted); font-size:13px; line-height:20px; }
.esim-topup-package__price { display:grid; min-width:0; gap:2px; text-align:right; overflow-wrap:anywhere; }
.esim-topup-package__price strong { color:var(--cherry-heading); font-size:16px; line-height:24px; font-weight:600; }
.esim-topup-package__price>span { color:var(--cherry-muted); font-size:12px; line-height:18px; }
.esim-topup-footer { display:grid; gap:10px; padding:16px 20px 20px; border-top:1px solid var(--cherry-line); }
.esim-topup-footer .esim-installation-copy,.esim-topup-retry { margin-top:0; }
.esim-topup-footer button:disabled { opacity:.5; cursor:not-allowed; }
.esim-topup-footer button:disabled:hover,.esim-topup-footer button:disabled:active { background:var(--cherry-primary); }
.esim-topup-dialog [hidden] { display:none!important; }
body.esim-topup-open { overflow:hidden; }
