.topup-panel { margin: 0 0 16px; padding: 24px; }
.topup-security { display: flex; align-items: center; gap: 7px; color: #748b91; font-size: 9px; font-weight: 700; }
.topup-security i { width: 7px; height: 7px; border-radius: 50%; background: #3ab481; box-shadow: 0 0 0 4px rgba(58, 180, 129, 0.12); }
.topup-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr); gap: 22px; margin-top: 21px; }
.account-search > label, .topup-form label, .topup-form legend { display: block; margin-bottom: 7px; color: #647c85; font-size: 9px; font-weight: 800; letter-spacing: 0.35px; text-transform: uppercase; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-row input, .topup-form input { width: 100%; border: 1px solid #dce8e6; border-radius: 11px; padding: 11px 12px; outline: 0; color: #234754; background: #fff; font: inherit; font-size: 11px; }
.search-row input:focus, .topup-form input:focus { border-color: #21aaa3; box-shadow: 0 0 0 3px rgba(33, 170, 163, 0.11); }
.search-row button { border: 0; border-radius: 11px; padding: 0 14px; color: #fff; background: #167f83; font-size: 10px; font-weight: 800; }
.search-row button:disabled { opacity: 0.62; }
.account-results { display: grid; gap: 7px; margin-top: 10px; }
.account-result { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid #e4eceb; border-radius: 12px; padding: 9px 10px; color: #294c58; text-align: left; background: #fff; }
.account-result:hover, .account-result.active { border-color: #60c9c0; background: #f0fbf9; }
.result-card-icon, .selected-icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #087d7c; background: #dcf5f1; font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; }
.account-result > span:nth-child(2) { min-width: 0; }
.account-result b, .account-result small { display: block; }
.account-result b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-result small { margin-top: 3px; color: #768990; font-size: 9px; }
.account-result em { margin-left: auto; font-size: 8px; font-style: normal; white-space: nowrap; }
.result-state.normal { color: #198b80; }
.result-state.review { color: #ad7629; }
.result-state.suspended { color: #bd4a4f; }
.empty-results { margin: 8px 0; color: #7a8d94; font-size: 10px; }
.topup-form { border: 1px solid #dfe9e7; border-radius: 16px; padding: 16px; background: #fbfdfc; }
.selected-account { display: flex; align-items: center; gap: 10px; min-height: 57px; border-radius: 12px; padding: 10px; background: #eaf8f5; }
.selected-account.empty { color: #71878e; background: #f2f6f5; }
.selected-account b, .selected-account small { display: block; }
.selected-account b { color: #214a55; font-size: 11px; }
.selected-account small { margin-top: 3px; color: #778b91; font-size: 9px; }
.selected-balance { margin-left: auto; text-align: right; }
.selected-balance span, .selected-balance strong { display: block; }
.selected-balance span { color: #74898e; font-size: 8px; }
.selected-balance strong { margin-top: 3px; color: #087f80; font-size: 14px; }
.topup-form fieldset { margin: 18px 0 0; border: 0; padding: 0; }
.topup-form fieldset:disabled { opacity: 0.48; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.amount-button { border: 1px solid #dce7e5; border-radius: 10px; padding: 10px 5px; color: #49666f; background: #fff; font-size: 10px; font-weight: 800; }
.amount-button.selected { border-color: #18a59f; color: #087f80; background: #e7f8f5; box-shadow: 0 0 0 2px rgba(24, 165, 159, 0.09); }
.topup-form fieldset > label { margin-top: 14px; }
.custom-amount { position: relative; }
.custom-amount input { padding-right: 47px; }
.custom-amount span { position: absolute; top: 50%; right: 12px; color: #73868d; font-size: 9px; font-weight: 800; transform: translateY(-50%); }
.topup-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 16px; border: 0; border-radius: 12px; padding: 13px 14px; color: #fff; background: linear-gradient(100deg, #116d78, #19aba4); font-size: 11px; font-weight: 800; }
.topup-submit b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; color: #765224; background: #f4cf89; }
.topup-feedback { min-height: 15px; margin: 10px 2px 0; color: #657c84; font-size: 9px; line-height: 1.4; }
.topup-feedback.success { color: #168578; font-weight: 750; }
.topup-feedback.error { color: #bd4a4f; font-weight: 750; }
.topup-history { margin-top: 18px; border-top: 1px solid #e5eceb; padding-top: 14px; }
.topup-history h3 { margin: 0 0 9px; font-size: 10px; }
.topup-history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px; border-bottom: 1px solid #eff3f2; }
.topup-history-row b, .topup-history-row span { display: block; }
.topup-history-row b { color: #395965; font-size: 9px; }
.topup-history-row span { margin-top: 2px; color: #85959a; font-size: 8px; }
.topup-history-row strong { color: #16897f; font-size: 10px; white-space: nowrap; }
.topup-confirm-summary { display: grid; gap: 8px; margin: 18px 0; }
.topup-confirm-summary div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf1f0; padding-bottom: 8px; }
.topup-confirm-summary span { color: #768990; font-size: 10px; }
.topup-confirm-summary b { color: #284a57; font-size: 10px; text-align: right; }
.audit-note { border-radius: 10px; padding: 9px 10px; color: #5e777d; background: #eef8f6; font-size: 9px; line-height: 1.45; }
.confirm-topup-button { border: 0; border-radius: 10px; padding: 10px 12px; color: #fff; background: #168d86; font-size: 11px; font-weight: 750; }

@media (max-width: 1060px) { .topup-layout { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .topup-panel { padding: 17px; } .topup-security { display: none; } .search-row { grid-template-columns: 1fr; } .search-row button { min-height: 39px; } .amount-grid { grid-template-columns: 1fr 1fr; } .selected-account { flex-wrap: wrap; } .selected-balance { width: 100%; margin: 4px 0 0 44px; text-align: left; } }
