#deposit_address_cards[hidden], #deposit_address_state[hidden],
#deposit_memo_card[hidden], #deposit_confirm_card[hidden], #deposit_tip_card[hidden],
#deposit_address_retry[hidden] { display: none !important; }
#binance_deposit_status, #binance_deposit_retry { display: none !important; }
#deposit_address_state {
    display: flex; align-items: center; gap: 14px; min-height: 88px;
    color: #777; border: 1px dashed rgba(128,128,128,.3);
}
[color-scheme=dark] #deposit_address_state { color: #aaa; }
#deposit_address_state p { margin: 0; flex: 1; }
.deposit-state-indicator {
    width: 24px; height: 24px; flex: 0 0 24px; border: 2px solid currentColor;
    border-radius: 7px; opacity: .6;
}
#deposit_address_state[data-state=loading] .deposit-state-indicator {
    border-radius: 50%; border-right-color: transparent; animation: deposit-spin .8s linear infinite;
}
#deposit_address_state[data-state=error] .deposit-state-indicator { color: #d6934a; }
#deposit_address_cards { align-items: stretch; }
#deposit_address_cards > div { flex: 1; min-width: 0; }
#deposit_wallet_qr:not(:empty), #deposit_wallet_tag_qr:not(:empty) { padding: 8px; background: #fff; }
#deposit_address_cards .im_pt_wallet_input_form_btn_flex { margin-top: 16px; }
#deposit_address_cards .im_pt_wallet_input_form_num { overflow-wrap: anywhere; }
#deposit_address_retry, #deposit_history_pagination button {
    padding: 7px 12px; border: 1px solid #777; border-radius: 6px;
    color: inherit; background: transparent; cursor: pointer;
}
#deposit_history_pagination {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px; margin: 20px 0; overflow-anchor: none;
}
#deposit_history_pagination button[aria-current=page] { background: #2975eb; color: #fff; border-color: #2975eb; }
#deposit_history_pagination button:disabled { cursor: default; opacity: .55; }
#deposit_history_pagination button[aria-current=page]:disabled { opacity: 1; }
#deposit_history_pagination .deposit-history-notice { flex-basis: 100%; text-align: center; color: #999; font-size: .9em; }
@keyframes deposit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #deposit_address_state .deposit-state-indicator { animation: none; } }
@media (max-width: 640px) {
    #deposit_address_cards { flex-direction: column; }
    #deposit_address_state { flex-wrap: wrap; }
    #deposit_address_state p { flex-basis: calc(100% - 40px); }
}
