.statement-row-link { cursor: pointer; }
.statement-row-link:hover td { background: rgba(76, 201, 240, .1) !important; }
.account-statement-dialog[open] { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; width: 100vw !important; max-width: 100vw !important; height: 100vh !important; max-height: 100vh !important; margin: 0 !important; padding: 16px; overflow: hidden; border: 0; background: rgba(3, 10, 17, .82); backdrop-filter: blur(5px); }
.account-statement-dialog::backdrop { background: rgba(3, 10, 17, .82); backdrop-filter: blur(5px); }
.account-statement-modal { position: relative; width: 920px !important; max-width: calc(100vw - 32px) !important; height: 940px !important; max-height: calc(100vh - 32px) !important; margin: auto !important; padding: 1rem; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; border: 1px solid #294258; border-radius: 16px; background: #101923; box-shadow: 0 30px 90px rgba(0, 0, 0, .75); }
.account-statement-modal > header { display: flex; align-items: center; gap: .65rem; }
.statement-refresh { display: inline-flex; align-items: center; gap: .3rem; width: auto; margin: 0 0 0 auto; padding: .38rem .65rem; font-size: .78rem; white-space: nowrap; }
.statement-refresh span:first-child { font-size: 1rem; line-height: 1; }
.statement-overview { overflow: hidden; margin-top: .65rem; border: 1px solid #29475a; border-radius: 16px; background: #0b1722; }
.statement-account-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; color: #f7ffff; background: linear-gradient(120deg, #2daaa7, #4196c7); }
.statement-account-card div { display: grid; gap: .15rem; }
.statement-account-card strong { font-size: 1.15rem; }
.statement-balance { text-align: right; }
.statement-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; padding: .7rem 1.1rem .25rem; }
.statement-totals span { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: .55rem; min-height: 42px; border-bottom: 1px solid rgba(117, 155, 181, .16); }
.statement-totals i { color: #a9b8c6; font-style: normal; font-weight: 800; }
.statement-totals small { color: var(--ops-muted); }
.statement-totals .good { color: #52e0a0; }
.statement-totals .bad { color: #ff7b83; }
.statement-summary-toggle { display: block; width: auto; margin: .25rem auto .7rem; padding: .25rem .65rem; color: #61d2cf; background: transparent; border: 0; font-size: .78rem; }
.statement-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.statement-tabs button { margin: 0; border-radius: 999px; }
.statement-tabs button:not(.active) { background: transparent; color: #62d1ce; border: 1px solid #4fc3c0; }
.statement-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .5rem; margin: .65rem 0; }
.statement-controls > * { margin: 0; }
.statement-filter-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; white-space: nowrap; }
.statement-filter-trigger.has-active-filter { border-color: #54d1ce; color: #71ded9; }
.statement-filter-active-dot { position: absolute; top: -5px; right: -5px; width: 11px; height: 11px; border: 2px solid #101923; border-radius: 999px; background: #ff2438; box-shadow: 0 0 0 2px rgba(255, 36, 56, .18); }
.statement-filter-sheet { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 1rem; }
.statement-filter-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 13, .78); backdrop-filter: blur(3px); }
.statement-filter-panel { position: relative; z-index: 1; display: grid; gap: .8rem; width: min(620px, 100%); max-height: calc(100% - 2rem); overflow: auto; padding: 1rem; border: 1px solid #35536b; border-radius: 16px; background: #f7f9fb; color: #17202a; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.statement-filter-panel > * { margin: 0; }
.statement-filter-panel header { display: flex; justify-content: center; align-items: center; min-height: 34px; }
.statement-filter-panel header strong { font-size: 1.1rem; }
.statement-filter-panel header .close { position: absolute; right: .4rem; }
.statement-filter-panel label { display: grid; gap: .3rem; }
.statement-filter-panel label small { color: #4e5965; font-weight: 800; }
.statement-filter-panel input, .statement-filter-panel select { width: 100%; margin: 0; color: #17202a; background: #fff; border-color: #9da8b2; box-sizing: border-box; }
.statement-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.statement-filter-panel footer { display: grid; grid-template-columns: auto 1fr; gap: .55rem; }
.statement-filter-panel footer button { margin: 0; }
.statement-history-head { display: flex; justify-content: space-between; align-items: center; margin: .85rem 0 .45rem; }
.statement-history-head span { padding: .2rem .55rem; border-radius: 999px; color: #55cfca; background: rgba(79, 195, 192, .12); font-size: .75rem; }
.statement-history-list { display: grid; gap: .55rem; }
.statement-transaction { margin: 0; padding: .75rem; border: 1px solid var(--ops-line); border-radius: 12px; background: #0c1824; }
.statement-transaction header, .statement-transaction footer { display: flex; align-items: center; gap: .45rem; margin: 0; padding: 0; background: none; }
.statement-transaction header { justify-content: space-between; margin-bottom: .35rem; }
.statement-transaction time { color: var(--ops-muted); font-size: .75rem; }
.statement-transaction footer { margin-top: .45rem; }
.statement-transaction footer strong { margin-left: auto; color: #52e0a0; font-size: 1.05rem; }
@media (max-width: 760px) {
  .account-statement-dialog[open] { padding: 0; }
  .account-statement-modal { width: 100vw !important; max-width: 100vw !important; height: 100dvh !important; max-height: 100dvh !important; padding: .7rem; border: 0; border-radius: 0; }
  .statement-refresh { padding: .35rem .5rem; }
  .statement-refresh span:last-child { display: none; }
  .statement-totals { grid-template-columns: 1fr; }
  .statement-filter-grid { grid-template-columns: 1fr; }
  .statement-controls { grid-template-columns: 1fr 1fr; }
  .statement-filter-trigger { grid-column: 1 / -1; }
}
