.statement-page {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    padding: 116px 20px 96px;
    background: #111216;
    color: #fff;
}

.statement-shell {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.statement-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.statement-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #f01b43;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.statement-header h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.05;
}

.statement-header p {
    margin: 0;
    color: #a4a7b1;
    font-size: 15px;
}

.statement-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #2c2f3a;
    border-radius: 999px;
    background: #191b23;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.statement-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.statement-filters::-webkit-scrollbar {
    display: none;
}

.statement-filter,
.statement-filter:visited {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #2b2e39;
    border-radius: 999px;
    background: #181a22;
    color: #a4a7b1 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    outline: 0;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s ease, box-shadow .16s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.statement-filter:hover,
.statement-filter:focus {
    border-color: #3b3f4c;
    background: #20232d;
    color: #fff !important;
    text-decoration: none !important;
}

.statement-filter:active {
    transform: scale(.96);
}

.statement-filter.is-active,
.statement-filter.is-active:visited,
.statement-filter.is-active:hover,
.statement-filter.is-active:focus,
.statement-filter.is-active:active {
    border-color: #f01b43;
    background: #f01b43;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(240, 27, 67, .24);
}

.statement-filter:focus-visible {
    box-shadow: 0 0 0 3px rgba(240, 27, 67, .24);
}

.statement-panel {
    overflow: hidden;
    border: 1px solid #292c36;
    border-radius: 18px;
    background: #171821;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}

.statement-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #292c36;
}

.statement-panel-head h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 20px;
}

.statement-panel-head span {
    color: #8f939f;
    font-size: 13px;
}

.statement-list {
    display: grid;
}

.statement-item {
    display: grid;
    grid-template-columns: 48px minmax(180px, 1fr) 164px 150px;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 18px 24px;
    border-bottom: 1px solid #252832;
}

.statement-item:last-child {
    border-bottom: 0;
}

.statement-type-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
}

.statement-item--deposit .statement-type-icon {
    background: rgba(16, 185, 129, .14);
    color: #10b981;
}

.statement-item--withdraw .statement-type-icon {
    background: rgba(240, 27, 67, .14);
    color: #f01b43;
}

.statement-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.statement-main strong {
    color: #fff;
    font-size: 15px;
}

.statement-main span,
.statement-main small {
    overflow: hidden;
    color: #9296a2;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.statement-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.statement-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.statement-status--paid {
    background: rgba(16, 185, 129, .13);
    color: #34d399;
}

.statement-status--paid span {
    background: #10b981;
}

.statement-status--pending {
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
}

.statement-status--pending span {
    background: #f59e0b;
}

.statement-value {
    text-align: right;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.statement-value.is-positive {
    color: #34d399;
}

.statement-value.is-negative {
    color: #ff4d6d;
}

.statement-empty {
    padding: 72px 24px;
    text-align: center;
}

.statement-empty-icon {
    display: flex;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #20232d;
    color: #f01b43;
    font-size: 25px;
}

.statement-empty h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 19px;
}

.statement-empty p {
    margin: 0;
    color: #9296a2;
}

.statement-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.statement-pagination a,
.statement-pagination span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border-radius: 999px;
}

.statement-pagination a {
    border: 1px solid #30333e;
    background: #191b23;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.statement-pagination span {
    color: #a4a7b1;
    font-size: 13px;
}

@media (max-width: 700px) {
    .statement-page {
        padding: 96px 14px 112px;
    }

    .statement-header {
        align-items: center;
        gap: 14px;
    }

    .statement-header p {
        max-width: 240px;
        font-size: 13px;
    }

    .statement-back {
        width: 42px;
        min-width: 42px;
        padding: 0;
        justify-content: center;
    }

    .statement-back span {
        display: none;
    }

    .statement-panel {
        border-radius: 15px;
    }

    .statement-panel-head {
        padding: 18px;
    }

    .statement-item {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 16px;
    }

    .statement-type-icon {
        width: 40px;
        height: 40px;
    }

    .statement-status {
        grid-column: 2;
        grid-row: 2;
    }

    .statement-value {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        font-size: 14px;
    }

    .statement-pagination {
        gap: 8px;
    }

    .statement-pagination a {
        padding: 0 11px;
        font-size: 12px;
    }

    .statement-pagination span {
        padding: 0 4px;
        font-size: 11px;
    }
}
