/* Wallet 2.0 – Mobile‑First Premium Styles */

.pq-wallet {
    font-family: inherit;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

/* Headings */
.pq-wallet h2,
.pq-wallet h3 {
    margin-bottom: 15px;
    color: #222;
    font-weight: 600;
}

/* Balance cards */
.pq-wallet-balances {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pq-wallet-balances .pq-card {
    flex: 1;
    min-width: 100%;
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.pq-wallet-balances .pq-card h3 {
    margin-top: 0;
    font-size: 16px;
    color: #444;
}

.pq-wallet-balances .pq-card .pq-amount {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0;
    color: #111;
}

/* Withdrawal form */
.pq-wallet form input[type="text"],
.pq-wallet form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
}

.pq-wallet form button.button {
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

.pq-wallet form button.button:hover {
    background: #005f8d;
}

/* Withdrawal history */
.pq-wallet table.shop_table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.pq-wallet table.shop_table th,
.pq-wallet table.shop_table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.pq-wallet table.shop_table th {
    background: #fafafa;
    font-weight: 600;
}

/* Status badges */
.pq-status {
    padding: 5px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    text-transform: capitalize;
    display: inline-block;
}

.pq-status-pending { background: #f1c40f; }
.pq-status-approved { background: #2ecc71; }
.pq-status-paid { background: #3498db; }
.pq-status-rejected { background: #e74c3c; }

/* Mobile layout */
@media (min-width: 600px) {
    .pq-wallet-balances .pq-card {
        min-width: calc(50% - 15px);
    }
}
/* Withdrawal accordion */
.pq-withdrawal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pq-withdrawal-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pq-withdrawal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pq-withdrawal-header strong {
    font-size: 18px;
}

.pq-toggle {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.pq-withdrawal-body {
    margin-top: 12px;
    display: none;
    font-size: 14px;
    color: #444;
}

.pq-withdrawal-card.active .pq-withdrawal-body {
    display: block;
}
/* Extra mobile polish */

/* Top spacing */
.pq-wallet h2 {
    margin-top: 10px;
}

/* Accordion animation */
.pq-withdrawal-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.pq-withdrawal-card.active .pq-withdrawal-body {
    max-height: 500px; /* enough for content */
}

/* Button spacing */
.pq-wallet form button.button {
    margin-top: 10px;
}
/* Dashboard wallet card */
.pq-wallet-dashboard-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pq-wallet-dashboard-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #222;
}

.pq-wallet-dashboard-balances {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pq-wallet-dashboard-balances .label {
    display: block;
    font-size: 14px;
    color: #666;
}

.pq-wallet-dashboard-balances .amount {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.pq-wallet-dashboard-btn {
    display: block;
    text-align: center;
    background: #0073aa;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.pq-wallet-dashboard-btn:hover {
    background: #005f8d;
}
