﻿
/* =====================================
   BINARYPRO WALLET PAGE
   ===================================== */

.wallet-balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px;
    margin-bottom: 25px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(120deg, #5b4bdb, #8475f2);
    box-shadow: 0 12px 30px rgba(91, 75, 219, 0.16);
}

.wallet-label {
    color: #e1ddff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.wallet-balance-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.wallet-note {
    color: #e5e2ff;
    font-size: 13px;
}

.wallet-balance-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 35px;
    font-weight: 700;
}

/* SUMMARY CARDS */
.wallet-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wallet-summary-card {
    padding: 23px;
    background: #ffffff;
    border: 1px solid #e9eaf2;
    border-radius: 15px;
    transition: 0.25s ease;
}

    .wallet-summary-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(30, 35, 80, 0.06);
    }

.wallet-summary-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}

.income-icon {
    background: #e8f8f0;
    color: #159b68;
}

.withdrawal-icon {
    background: #fff0eb;
    color: #e67b4a;
}

.pending-icon {
    background: #fff6df;
    color: #c18a1d;
}

.wallet-summary-card p {
    color: #858ba3;
    font-size: 13px;
    margin-bottom: 12px;
}

.wallet-summary-card h3 {
    color: #20243a;
    font-size: 25px;
    font-weight: 800;
}

/* TRANSACTION SECTION */
.wallet-transactions {
    background: #ffffff;
    border: 1px solid #e9eaf2;
    border-radius: 16px;
    overflow: hidden;
}

.wallet-transactions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px;
    border-bottom: 1px solid #e9eaf2;
}

    .wallet-transactions-header h2 {
        color: #20243a;
        font-size: 20px;
        margin-bottom: 7px;
    }

    .wallet-transactions-header p {
        color: #858ba3;
        font-size: 13px;
    }

    .wallet-transactions-header select {
        padding: 11px 14px;
        border: 1px solid #e1e3ee;
        border-radius: 9px;
        background: #ffffff;
        color: #444a62;
        font-size: 13px;
        outline: none;
    }

        .wallet-transactions-header select:focus {
            border-color: #5b4bdb;
        }

/* TRANSACTION TABLE */
.wallet-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.wallet-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

    .wallet-table thead {
        background: #f8f8fc;
    }

    .wallet-table th {
        padding: 16px 20px;
        color: #858ba3;
        font-size: 11px;
        font-weight: 700;
        text-align: left;
        letter-spacing: 0.4px;
    }

    .wallet-table td {
        padding: 18px 20px;
        color: #444a62;
        font-size: 13px;
        border-top: 1px solid #f0f1f6;
    }

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

.wallet-empty {
    padding: 55px 20px !important;
    text-align: center;
    color: #858ba3 !important;
    font-size: 14px !important;
}

/* TRANSACTION TYPE */
.transaction-income {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 7px;
    background: #e8f8f0;
    color: #159b68;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.transaction-withdrawal {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 7px;
    background: #fff0eb;
    color: #e67b4a;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.transaction-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 7px;
    background: #e8f8f0;
    color: #159b68;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

/* FOOTER */
.wallet-table-footer {
    padding: 17px 25px;
    border-top: 1px solid #e9eaf2;
    color: #858ba3;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .wallet-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wallet-summary-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .wallet-balance-card {
        padding: 25px 20px;
    }

    .wallet-balance-content h2 {
        font-size: 29px;
    }

    .wallet-balance-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 15px;
        font-size: 26px;
    }

    .wallet-summary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wallet-summary-card:last-child {
        grid-column: auto;
    }

    .wallet-transactions-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

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