/* ==========================================
   ADMIN WALLETS
========================================== */

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


/* HEADER */

.admin-wallets-header {
    margin-bottom: 25px;
}

.admin-wallets-header h1 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #1f2937;
}

.admin-wallets-header h1 i {
    margin-right: 8px;
    color: #2563eb;
}

.admin-wallets-header p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}


/* ==========================================
   SUMMARY
========================================== */

.wallet-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.wallet-summary-card {
    min-height: 125px;
    padding: 20px;
    border-radius: 17px;
    background: #ffffff;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, .06);
}

.wallet-summary-card span {
    display: block;
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 700;

    color: #6b7280;

    text-transform: uppercase;
}

.wallet-summary-card h2 {
    margin: 0 0 4px;

    font-size: 21px;

    color: #111827;
}

.wallet-summary-card small {
    font-size: 10px;
    color: #9ca3af;
}

.wallet-summary-icon {
    width: 49px;
    min-width: 49px;
    height: 49px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
}

.wallet-summary-icon.balance {
    background: #eff6ff;
    color: #2563eb;
}

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

.wallet-summary-icon.deducted {
    background: #fff7ed;
    color: #ea580c;
}

.wallet-summary-icon.members {
    background: #f5f3ff;
    color: #7c3aed;
}


/* ==========================================
   SEARCH
========================================== */

.wallet-search-card {
    margin-bottom: 22px;
    padding: 17px;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, .05);
}

.wallet-search-form {
    display: flex;
    gap: 10px;
}

.wallet-search-box {
    flex: 1;
    height: 46px;

    padding: 0 14px;

    border: 1px solid #dce1e7;
    border-radius: 10px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-search-box i {
    color: #9ca3af;
}

.wallet-search-box input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-size: 13px;
}

.wallet-search-form button,
.wallet-search-reset {
    min-height: 46px;

    padding: 0 18px;

    border-radius: 10px;

    border: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}

.wallet-search-form button {
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
}

.wallet-search-reset {
    background: #f3f4f6;
    color: #4b5563;
}


/* ==========================================
   RECORD CARD
========================================== */

.wallet-records-card {
    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 5px 22px
        rgba(15, 23, 42, .06);
}

.wallet-records-header {
    padding: 22px 24px;

    border-bottom:
        1px solid #edf0f3;
}

.wallet-records-header h2 {
    margin: 0 0 4px;

    font-size: 18px;

    color: #1f2937;
}

.wallet-records-header p {
    margin: 0;

    font-size: 11px;

    color: #6b7280;
}


/* ==========================================
   TABLE
========================================== */

.wallet-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.wallet-table {
    width: 100%;
    min-width: 1000px;

    border-collapse: collapse;
}

.wallet-table th {
    padding: 14px 16px;

    text-align: left;

    background: #f8fafc;

    border-bottom:
        1px solid #e5e7eb;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;

    white-space: nowrap;
}

.wallet-table td {
    padding: 16px;

    border-bottom:
        1px solid #eef1f4;

    color: #374151;

    font-size: 12px;

    vertical-align: middle;
}

.wallet-table tbody tr:hover {
    background: #fafbfc;
}


/* MEMBER */

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

.wallet-member-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;

    border-radius: 11px;

    background: #eff6ff;
    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-member strong {
    display: block;

    margin-bottom: 3px;

    color: #1f2937;
}

.wallet-member small {
    display: block;

    margin-top: 2px;

    color: #8b95a5;

    font-size: 10px;
}


/* MONEY */

.wallet-balance-value {
    color: #1f2937;
    white-space: nowrap;
}

.wallet-money {
    font-weight: 700;
    white-space: nowrap;
}

.wallet-money.funded {
    color: #15803d;
}

.wallet-money.deducted {
    color: #dc2626;
}


/* TRANSACTION COUNT */

.wallet-transaction-count {
    min-width: 32px;
    height: 27px;

    padding: 0 8px;

    border-radius: 999px;

    background: #f3f4f6;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #4b5563;

    font-weight: 700;
}


/* DATE */

.wallet-date {
    display: block;

    margin-bottom: 3px;

    white-space: nowrap;
}

.wallet-time {
    color: #8b95a5;
    font-size: 10px;
}

.wallet-no-activity {
    color: #9ca3af;
}


/* EMPTY */

.wallet-empty-state {
    padding: 65px 20px;

    text-align: center;
}

.wallet-empty-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #f3f4f6;
    color: #6b7280;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.wallet-empty-state h3 {
    margin: 0 0 6px;
}

.wallet-empty-state p {
    margin: 0;

    color: #6b7280;

    font-size: 12px;
}

.wallet-view-btn {
    min-height: 35px;
    padding: 0 11px;
    border-radius: 8px;

    background: #eff6ff;
    color: #2563eb;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;
}

.wallet-view-btn:hover {
    background: #dbeafe;
}