                                                                                 
                                                                       
html body dialog.egcs-topup-dialog:not([open]) { display: none !important; }
.egcs-topup-dialog {
  width: min(1080px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 40px); margin: auto; padding: 24px;
  border: 1px solid #30363e; border-radius: 18px;
  background: #181b20; color: #e7e9ed;
  box-shadow: 0 24px 80px #0006; overflow: auto;
}
.egcs-topup-dialog::backdrop { background: #07090bd9; }
html.egcs-topup-open { overflow: hidden; }
.egcs-topup-dialog .egcs-topup-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.egcs-topup-dialog h2, .egcs-topup .egcs-topup-heading { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.3; }
.egcs-topup-dialog .egcs-topup-close { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #353c45; border-radius: 10px; background: #ffffff05; color: #e7e9ed; font: 26px/1 sans-serif; cursor: pointer; }
.egcs-topup { width: 100%; min-width: 0; color: #e7e9ed; }
.egcs-topup * { box-sizing: border-box; }
.egcs-topup .egcs-topup-heading { margin-bottom: 22px; }
.egcs-topup-dialog .egcs-topup-heading { display: none; }
.egcs-topup .egcs-topup-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 18px; }
.egcs-topup .egcs-topup-methods { display: flex; flex-direction: column; }
.egcs-topup .egcs-topup-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 280px; padding: 28px 18px; text-align: center; color: #a9afb8; }
.egcs-topup .egcs-topup-empty svg { color: #82a7d0; }
.egcs-topup .egcs-topup-empty strong { font-size: 15px; color: #e7e9ed; }
.egcs-topup .egcs-topup-empty p { margin: 0; max-width: 280px; font-size: 12px; line-height: 1.6; }
.egcs-topup .egcs-topup-methods, .egcs-topup .egcs-topup-form { min-width: 0; padding: 18px; border-radius: 14px; background: #121519; }
.egcs-topup .egcs-topup-methods h3 { font-size: 13px; font-weight: 600; color: #a9afb8; margin: 0 0 14px; }
.egcs-topup .egcs-topup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.egcs-topup .egcs-topup-method { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; min-width: 0; min-height: 138px; padding: 22px 12px 16px; border: 1px solid #30363e; border-radius: 12px; color: #e7e9ed; background: #1e2228; cursor: pointer; text-align: center; font: inherit; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.egcs-topup .egcs-topup-method:hover { border-color: #82a7d0; }
.egcs-topup .egcs-topup-method[aria-pressed="true"] { border-color: #82a7d0; background: #242c35; }
.egcs-topup .egcs-topup-method[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 8px; right: 9px; width: 19px; height: 19px; border-radius: 50%; color: #121519; background: #82a7d0; font-size: 12px; font-weight: 800; line-height: 19px; }
.egcs-topup .egcs-topup-method img { display: block; max-width: 130px; width: 100%; height: 44px; object-fit: contain; }
.egcs-topup .egcs-topup-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.egcs-topup .egcs-topup-current { margin: 0; color: #a9afb8; font-size: 12px; }
.egcs-topup .egcs-topup-current strong { color: #e7e9ed; }
.egcs-topup .egcs-topup-label { margin: 0; font-size: 15px; font-weight: 700; }
.egcs-topup .egcs-topup-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #1e2228; border: 1px solid #353c45; border-radius: 12px; }
.egcs-topup .egcs-topup-input:focus-within { border-color: #82a7d0; }
.egcs-topup .egcs-topup-input > span { color: #a9afb8; }
.egcs-topup .egcs-topup-input input { flex: 1; width: 100%; min-width: 0; height: 54px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; color: #e7e9ed; font: inherit; font-size: 18px; }
.egcs-topup .egcs-topup-amount-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: -5px; font-size: 11px; line-height: 1.6; }
.egcs-topup .egcs-topup-hint { margin: 0; color: #a9afb8; font-size: 11px; }
.egcs-topup .egcs-topup-bonus-preview { color: #a9afb8; }
.egcs-topup .egcs-topup-bonus-preview[data-positive="true"] { color: #a4d3bf; }
.egcs-topup .egcs-topup-amounts { display: flex; flex-wrap: wrap; gap: 7px; }
.egcs-topup .egcs-topup-amounts button { padding: 7px 12px; border: 1px solid #30363e; border-radius: 8px; background: #1e2228; color: #a9afb8; font: inherit; font-size: 12px; cursor: pointer; }
.egcs-topup .egcs-topup-amounts button:disabled { opacity: .4; cursor: default; }
.egcs-topup .egcs-topup-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; font-size: 13px; }
.egcs-topup .egcs-topup-total output { font-size: 25px; font-weight: 800; line-height: 1.4; }
.egcs-topup .egcs-topup-submit { min-height: 50px; padding: 12px; border: 0; border-radius: 10px; background: #82a7d0; color: #111820; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.egcs-topup .egcs-topup-submit:hover { background: #9ab9dc; }
.egcs-topup .egcs-topup-submit:disabled { opacity: .55; cursor: not-allowed; }
.egcs-topup .egcs-topup-note, .egcs-topup-dialog .egcs-topup-status { color: #a9afb8; font-size: 12px; line-height: 1.6; }
.egcs-topup .egcs-topup-note { margin: 0; }
.egcs-topup .egcs-topup-amount-heading { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.egcs-topup .egcs-topup-bonus-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; border: 0; background: transparent; color: #a9bfd7; font: inherit; font-size: 11px; line-height: 1.4; cursor: pointer; }
.egcs-topup .egcs-topup-bonus-toggle:hover { color: #e7e9ed; }
.egcs-topup .egcs-topup-bonus-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.egcs-topup .egcs-topup-bonuses[hidden] { display: none !important; }
.egcs-topup .egcs-topup-bonuses { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: 320px; max-width: 100%; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 4px 12px; border: 1px solid #353c45; border-radius: 10px; background: #1b1f25; box-shadow: 0 12px 28px #0006; font-size: 12px; }
.egcs-topup .egcs-topup-bonuses h3 { margin: 0 0 12px; color: #e7e9ed; font-size: 15px; line-height: 1.4; font-weight: 700; }
.egcs-topup .egcs-topup-bonuses ul { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.egcs-topup .egcs-topup-bonuses li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid #ffffff09; color: #a9afb8; line-height: 1.5; }
.egcs-topup .egcs-topup-bonuses li strong { flex-shrink: 0; padding: 3px 9px; border-radius: 6px; background: #96c9b512; color: #a4d3bf; font-size: 13px; font-weight: 600; }
.egcs-topup .egcs-topup-bonuses li:last-child { border-bottom: 0; }
.egcs-topup .egcs-topup-bonuses p { margin: 0; color: #a9afb8; line-height: 1.6; }
.egcs-topup .egcs-topup-checkout { min-width: 0; }
.egcs-topup .egcs-topup-result { overflow-wrap: anywhere; padding: 14px; margin-top: 12px; border: 1px solid #353c45; border-radius: 12px; background: #121519; }
.egcs-topup .egcs-topup-result:empty { display: none; }
.egcs-topup .egcs-topup-message { padding: 14px; margin: 0 0 16px; border: 1px solid #353c45; border-radius: 10px; font-size: 13px; }
.egcs-topup button:focus-visible, .egcs-topup-dialog button:focus-visible { outline: 2px solid #82a7d0; outline-offset: 3px; }
@media (max-width: 680px) {
  .egcs-topup-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 16px; border-radius: 15px; }
  .egcs-topup-dialog h2, .egcs-topup .egcs-topup-heading { font-size: 19px; }
  .egcs-topup .egcs-topup-layout { grid-template-columns: 1fr; gap: 12px; }
  .egcs-topup .egcs-topup-empty { min-height: 150px; padding: 18px 10px; }
  .egcs-topup .egcs-topup-methods, .egcs-topup .egcs-topup-form { padding: 14px; }
  .egcs-topup .egcs-topup-method { min-height: 112px; gap: 12px; padding: 20px 8px 12px; }
  .egcs-topup .egcs-topup-method img { height: 32px; }
}

                                                                       
html body .egcs-topup .egcs-topup-input input[data-topup-amount] { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #e7e9ed !important; }
