/* Wallet transactions use the shared table component, with a full-width
   WhatsApp layout that stays isolated from the other platform themes. */
.whatsapp-wallet-transactions-page {
    width: 100%;
    margin: 0;
    padding: 0 0 2rem;
}

.whatsapp-wallet-transactions-page > .whatsapp-platform-table {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.whatsapp-wallet-transactions-page .shared-table-v2,
.whatsapp-wallet-transactions-page .shared-table-v2 > .shadow-sm {
    width: 100%;
    max-width: none;
}

/* The shared component reserves 80vh by default for long admin tables.
   Wallet history should end naturally below its rows and pager. */
.whatsapp-wallet-transactions-page .shared-table-card-body .table-responsive {
    min-height: 0 !important;
}

.whatsapp-wallet-transactions-page .shared-table-header-title h5 {
    color: #173b36;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -.01em;
}

.whatsapp-wallet-transactions-page .shared-table-header-row2 .btn-dark {
    background: #075e54;
    border-color: #075e54;
}

.whatsapp-wallet-transactions-page .shared-table-header-row2 .btn-secondary {
    color: #173b36;
    background: #e8f5f0;
    border-color: #cfe7df;
}

@media (max-width: 767px) {
    .whatsapp-wallet-transactions-page {
        padding-bottom: 1rem;
    }

    .whatsapp-wallet-transactions-page .shared-table-header-row2 .btn {
        flex: 1 1 auto;
    }
}
