.wallet-transactions-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* HEADER */

.wallet-transactions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.wallet-transactions-header h1 {
    margin: 0 0 6px;
    font-size: 27px;
    color: #1f2937;
}

.wallet-transactions-header h1 i {
    color: #2563eb;
    margin-right: 7px;
}

.wallet-transactions-header p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.wallet-back-btn {
    min-height: 43px;
    padding: 0 15px;
    border-radius: 10px;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}


/* MEMBER */

.wallet-member-card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.wallet-member-profile {
    display: flex;
    align-items: center;
    gap: 13px;
}

.wallet-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-member-profile h2 {
    margin: 0 0 5px;
    font-size: 17px;
}

.wallet-member-profile p {
    margin: 2px 0;
    font-size: 10px;
    color: #8b95a5;
}

.wallet-current-balance {
    text-align: right;
}

.wallet-current-balance span {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
}

.wallet-current-balance strong {
    font-size: 23px;
    color: #1f2937;
}


/* SUMMARY */

.wallet-transaction-summary {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.wallet-transaction-summary-card {
    padding: 18px;
    border-radius: 15px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.wallet-transaction-summary-card span {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
}

.wallet-transaction-summary-card h3 {
    margin: 5px 0 0;
    font-size: 19px;
}

.wallet-tx-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-tx-icon.funded {
    background: #ecfdf5;
    color: #16a34a;
}

.wallet-tx-icon.deducted {
    background: #fef2f2;
    color: #dc2626;
}

.wallet-tx-icon.transactions {
    background: #eff6ff;
    color: #2563eb;
}


/* TABLE */

.wallet-transactions-card {
    background: #ffffff;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.wallet-transactions-card-header {
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f3;
}

.wallet-transactions-card-header h2 {
    margin: 0 0 4px;
    font-size: 17px;
}

.wallet-transactions-card-header p {
    margin: 0;
    font-size: 10px;
    color: #6b7280;
}

.wallet-transactions-table-wrap {
    overflow-x: auto;
}

.wallet-transactions-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.wallet-transactions-table th {
    padding: 14px;
    background: #f8fafc;
    text-align: left;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
}

.wallet-transactions-table td {
    padding: 15px 14px;
    border-bottom: 1px solid #eef1f4;
    font-size: 11px;
    color: #374151;
}

.wallet-tx-date {
    display: block;
    white-space: nowrap;
}

.wallet-transactions-table td small {
    display: block;
    margin-top: 3px;
    color: #8b95a5;
}

.wallet-tx-reference {
    font-family: monospace;
    font-size: 10px;
    background: #f3f4f6;
    padding: 5px 7px;
    border-radius: 6px;
}

.wallet-credit {
    color: #15803d;
}

.wallet-debit {
    color: #dc2626;
}

.wallet-tx-status {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.wallet-tx-status.successful {
    background: #ecfdf5;
    color: #15803d;
}

.wallet-tx-status.pending {
    background: #fff7ed;
    color: #c2410c;
}

.wallet-tx-status.failed {
    background: #fef2f2;
    color: #dc2626;
}


/* EMPTY */

.wallet-transactions-empty {
    padding: 60px 20px;
    text-align: center;
}

.wallet-transactions-empty > i {
    font-size: 30px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.wallet-transactions-empty h3 {
    margin: 0 0 5px;
}

.wallet-transactions-empty p {
    margin: 0;
    font-size: 11px;
    color: #6b7280;
}