/**
 * XTREMEOFFICE - ACCOUNT & LOGIN STYLESHEET
 */

/* ====================================================================
   SHARED FORM ELEMENTS (login + account)
   ==================================================================== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9em; }
.required { color: #dc3545; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border, #e0e0e0);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--primary, #8B3A9C); outline: none; }
.form-disabled { background: #f5f5f5; color: #999; }
.form-hint { display: block; margin-top: 4px; color: #999; font-size: 0.8em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-checkbox { margin-bottom: 20px; font-size: 0.9em; }
.form-checkbox input { margin-right: 8px; }

.form-message { padding: 10px 14px; border-radius: 6px; margin-bottom: 15px; font-size: 0.9em; }
.form-error { background: #f8d7da; color: #721c24; }
.form-success { background: #d4edda; color: #155724; }
.form-link { text-align: center; margin-top: 15px; font-size: 0.9em; }

.btn-save {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary, #8B3A9C), var(--primary-dark, #6B2A7C));
    color: white; border: none; border-radius: 8px;
    font-size: 1em; font-weight: 700; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-save:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,58,156,0.3); }

/* ====================================================================
   LOGIN PAGE
   ==================================================================== */
.auth-page { max-width: 520px; margin: 40px auto; padding: 0 20px; }
.auth-container { background: white; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); overflow: hidden; }
.auth-header { background: linear-gradient(135deg, var(--primary, #8B3A9C), var(--primary-dark, #6B2A7C)); color: white; padding: 30px; text-align: center; }
.auth-dex { width: 60px; height: 60px; border-radius: 50%; border: 3px solid white; margin-bottom: 10px; }
.auth-header h1 { font-size: 1.4em; margin: 0; }

.auth-tabs { display: flex; border-bottom: 2px solid var(--border, #e0e0e0); }
.auth-tab { flex: 1; padding: 14px; background: none; border: none; font-size: 1em; font-weight: 600; color: #999; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: 0.2s; }
.auth-tab.active { color: var(--primary, #8B3A9C); border-bottom-color: var(--primary, #8B3A9C); }
.auth-tab:hover { color: var(--primary, #8B3A9C); }

.auth-panel { padding: 30px; }
.auth-subtitle { color: #666; margin-bottom: 20px; font-size: 0.95em; }

.btn-auth { display: block; width: 100%; padding: 14px; background: linear-gradient(135deg, var(--primary, #8B3A9C), var(--primary-dark, #6B2A7C)); color: white; border: none; border-radius: 8px; font-size: 1.05em; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(139,58,156,0.3); transition: 0.2s; }
.btn-auth:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,58,156,0.4); }
.btn-auth:disabled { opacity: 0.6; cursor: not-allowed; }

.customer-type-toggle { display: flex; margin-bottom: 20px; border: 2px solid var(--primary, #8B3A9C); border-radius: 8px; overflow: hidden; }
.type-btn { flex: 1; padding: 10px; background: white; border: none; font-weight: 600; cursor: pointer; color: var(--primary, #8B3A9C); transition: 0.2s; }
.type-btn.active { background: var(--primary, #8B3A9C); color: white; }
.type-btn:hover:not(.active) { background: #f3eaf6; }

/* ====================================================================
   ACCOUNT PAGE
   ==================================================================== */
.account-page { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; min-height: 500px; }

/* Sidebar */
.account-sidebar { background: white; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 20px; align-self: start; position: sticky; top: 20px; }
.account-user { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #eee; margin-bottom: 15px; }
.account-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary, #8B3A9C), var(--primary-dark, #6B2A7C)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2em; flex-shrink: 0; }
.account-email { font-size: 0.85em; color: #555; word-break: break-all; display: block; }
.account-badge { display: inline-block; background: #e8f5e9; color: #2e7d32; font-size: 0.7em; padding: 2px 8px; border-radius: 10px; font-weight: 600; margin-top: 4px; }

.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #444; text-decoration: none; font-size: 0.95em; transition: 0.15s; }
.account-nav-item:hover { background: #f5f0f7; color: var(--primary, #8B3A9C); }
.account-nav-item.active { background: var(--primary, #8B3A9C); color: white; font-weight: 600; }
.account-nav-item.active .nav-icon { filter: grayscale(1) brightness(10); }
.nav-icon { font-size: 1.1em; width: 22px; text-align: center; }
.nav-divider { height: 1px; background: #eee; margin: 8px 0; }
.nav-logout { color: #c0392b; }
.nav-logout:hover { background: #fdecea; }

/* Content */
.account-content { background: white; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 30px; }
.account-content h2 { margin: 0 0 8px 0; font-size: 1.4em; color: var(--text, #333); }
.account-content h3 { margin: 20px 0 12px 0; font-size: 1.1em; color: #555; }
.account-intro { color: #666; margin-bottom: 25px; }

/* Dashboard cards */
.dashboard-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dash-card { background: #f9f7fb; border: 2px solid transparent; border-radius: 12px; padding: 22px; text-decoration: none; color: inherit; transition: 0.2s; }
.dash-card:hover { border-color: var(--primary, #8B3A9C); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139,58,156,0.12); }
.dash-icon { font-size: 1.8em; display: block; margin-bottom: 8px; }
.dash-card h3 { margin: 0 0 4px 0; font-size: 1em; color: var(--text, #333); }
.dash-card p { margin: 0; font-size: 0.85em; color: #888; }

/* Addresses */
.address-section { margin-bottom: 30px; }
.address-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.address-header h3 { margin: 0; }
.btn-add-address { padding: 6px 14px; background: var(--primary, #8B3A9C); color: white; border: none; border-radius: 6px; font-size: 0.85em; cursor: pointer; font-weight: 600; transition: 0.2s; }
.btn-add-address:hover { background: var(--primary-dark, #6B2A7C); }

.address-card { background: #fafafa; border: 1px solid #e8e8e8; border-radius: 10px; padding: 16px; margin-bottom: 10px; }
.addr-top { display: flex; gap: 8px; margin-bottom: 6px; }
.addr-label { background: var(--primary, #8B3A9C); color: white; font-size: 0.75em; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.addr-default { background: #d4edda; color: #155724; font-size: 0.75em; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.address-card p { margin: 2px 0; font-size: 0.95em; color: #444; }
.addr-actions { margin-top: 10px; display: flex; gap: 15px; }
.addr-actions a { font-size: 0.85em; color: var(--primary, #8B3A9C); text-decoration: none; font-weight: 600; }
.addr-delete { color: #c0392b !important; }
.address-empty { padding: 20px; text-align: center; color: #999; }

/* Orders placeholder */
.orders-placeholder { text-align: center; padding: 40px 20px; color: #888; }
.placeholder-icon { font-size: 3em; display: block; margin-bottom: 15px; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; padding: 20px; }
.modal-box { background: white; border-radius: 16px; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #eee; }
.modal-header h3 { margin: 0; }
.modal-close { background: none; border: none; font-size: 1.5em; cursor: pointer; color: #999; padding: 0; line-height: 1; }
.modal-close:hover { color: #333; }
#addressForm { padding: 24px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.btn-cancel { padding: 10px 20px; background: #f0f0f0; color: #666; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-cancel:hover { background: #e0e0e0; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 768px) {
    .account-page { padding: 0 8px; margin: 15px auto; }
    .account-layout { grid-template-columns: 1fr; gap: 10px; }
    .account-sidebar { position: static; padding: 15px; border-radius: 10px; }
    
    /* User info compact */
    .account-user { flex-direction: row; align-items: center; gap: 10px; padding-bottom: 12px; }
    .account-avatar { width: 36px; height: 36px; font-size: 1em; flex-shrink: 0; }
    .account-email { font-size: 0.8em; word-break: break-all; }
    
    /* Navigatie: horizontale scroll pills */
    .account-nav { 
        flex-direction: row; 
        flex-wrap: nowrap; 
        gap: 4px; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .account-nav::-webkit-scrollbar { display: none; }
    .account-nav-item { 
        padding: 7px 12px; 
        font-size: 0.8em; 
        white-space: nowrap; 
        flex-shrink: 0;
        border-radius: 20px;
    }
    .account-nav-item.active { border-radius: 20px; }
    .nav-divider { display: none; }
    
    /* Content area */
    .account-content { padding: 15px; border-radius: 10px; }
    .account-content h2 { font-size: 1.2em; margin-bottom: 5px; }
    
    /* Dashboard cards */
    .dashboard-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dash-card { padding: 14px; border-radius: 10px; }
    .dash-icon { font-size: 1.3em; margin-bottom: 4px; }
    .dash-card h3 { font-size: 0.85em; }
    .dash-card p { font-size: 0.75em; }
    
    /* Formulieren */
    .form-row { grid-template-columns: 1fr; }
    .auth-panel { padding: 20px; }
    
    /* Adreskaarten */
    .address-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .address-card { padding: 12px; }
    
    /* ============================================
       BESTELLINGEN + OFFERTES TABEL → CARDS
       ============================================ */
    .quote-table { font-size: 0.82em; }
    .quote-table thead { display: none; }
    .quote-table,
    .quote-table tbody,
    .quote-table tr,
    .quote-table td {
        display: block;
        width: 100%;
    }
    .quote-table tbody tr {
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 8px;
        background: white;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 10px;
    }
    .quote-table td {
        padding: 2px 0;
        border: none;
    }
    .quote-table td::before {
        content: attr(data-label);
        font-size: 0.7em;
        text-transform: uppercase;
        color: #999;
        display: block;
        font-weight: 600;
    }
    /* Lege data-label: geen ::before tonen (verwijder-knop kolom) */
    .quote-table td[data-label=""]::before { display: none; }
    .quote-table td[data-label=""] { 
        grid-column: 1 / -1; 
        text-align: right; 
        padding-top: 4px;
        border-top: 1px solid #f0f0f0;
    }
    
    /* Offerte sessie: product naam volle breedte */
    .quote-table td[data-label="Product"] {
        grid-column: 1 / -1;
    }
    
    /* Offerte sessie: input veld compact */
    .quote-table td input[type="number"] {
        width: 60px !important;
        padding: 4px;
        font-size: 0.9em;
    }
    
    /* Offerte sessie items container compact */
    #quoteSessionItems { padding: 12px; border-radius: 10px; }
    
    /* Saved quotes: bekijken knop volle breedte */
    .saved-quotes-table td[data-label=""] { text-align: center; }
    .saved-quotes-table .btn-detail { width: 100%; padding: 8px; }
    
    /* Offerte session acties */
    .quote-session-actions { flex-direction: column; }
    .quote-session-actions .btn-save { width: 100%; text-align: center; }
    
    /* Offerte session header */
    .quote-session-header h3 { font-size: 1em; flex-wrap: wrap; }
    
    /* Offerte detail card */
    .quote-detail-card { padding: 15px; }
    .qd-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    
    /* Offerte detail: artikelnr compact */
    .quote-detail-card .quote-table td[data-label="Artikelnr"] {
        grid-column: 1 / -1;
        font-size: 0.85em;
    }
    
    /* Offerte detail */
    .qd-meta { flex-direction: column; gap: 5px; }
    .qd-actions { flex-direction: column; }
    .qd-actions button, .qd-actions a { width: 100%; text-align: center; }
    
    /* Offerte totalen */
    .quote-totals { max-width: 100%; }
    
    /* Staffel hint */
    .staffel-hint { font-size: 0.82em; padding: 10px 12px; }
    
    /* Modal */
    .modal-box { max-width: calc(100vw - 30px); }
}

@media (max-width: 500px) {
    .auth-page { margin: 15px auto; }
    .dashboard-cards { grid-template-columns: 1fr; }
}

/* ====================================================================
   OFFERTES TAB STYLING
   ==================================================================== */

.quote-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.quote-header h2 { margin: 0; }

.quote-session-header { margin-bottom: 15px; }
.quote-session-header h3 { display: flex; align-items: center; gap: 8px; }
.badge-count { background: #8B3A9C; color: white; font-size: 0.75em; padding: 2px 10px; border-radius: 12px; }
.quote-session-sub { font-size: 0.9em; color: #666; margin-top: 4px; }

.quote-table { width: 100%; border-collapse: collapse; font-size: 0.9em; margin-bottom: 15px; }
.quote-table th { background: #f8f8f8; padding: 10px 12px; text-align: left; font-size: 0.8em; text-transform: uppercase; color: #888; border-bottom: 2px solid #eee; }
.quote-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.quote-table td strong { font-size: 0.95em; }
.quote-table td small { color: #888; }
.quote-table tr:hover { background: #faf7fc; }
.quote-table input[type="number"] { padding: 5px; border: 1px solid #ddd; border-radius: 4px; text-align: center; }

.btn-remove { background: none; border: none; color: #dc3545; font-size: 1.3em; cursor: pointer; padding: 2px 8px; border-radius: 4px; }
.btn-remove:hover { background: #f8d7da; }

.btn-detail { padding: 5px 14px; background: #8B3A9C; color: white; border: none; border-radius: 6px; font-size: 0.8em; cursor: pointer; }
.btn-detail:hover { background: #6B2A7C; }

.quote-session-actions { display: flex; gap: 10px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; }

.quote-totals { max-width: 350px; margin-left: auto; margin-top: 15px; }
.qt-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.9em; }
.qt-korting { color: #28a745; }
.qt-total { font-weight: 700; font-size: 1.05em; border-top: 2px solid #333; padding-top: 8px; margin-top: 5px; }

.staffel-hint { background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 8px; padding: 12px 16px; margin-top: 15px; font-size: 0.88em; color: #2e7d32; }

.quote-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.8em; font-weight: 600; }
.status-actief { background: #d4edda; color: #155724; }
.status-goedgekeurd { background: #cce5ff; color: #004085; }
.status-verlopen { background: #f8d7da; color: #721c24; }
.status-geannuleerd { background: #e2e3e5; color: #383d41; }
.status-paid { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-failed, .status-cancelled, .status-expired { background: #f8d7da; color: #721c24; }

.back-link { display: inline-block; margin-bottom: 15px; color: #8B3A9C; text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

.quote-detail-card { background: white; border-radius: 12px; padding: 25px; }
.qd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.qd-header h2 { margin: 0; }
.qd-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.88em; color: #666; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.qd-warning { background: #f8d7da; border: 1px solid #f5c6cb; border-radius: 8px; padding: 12px 16px; margin-bottom: 15px; color: #721c24; font-size: 0.9em; }
.qd-brief { background: #f9f7fc; border-left: 4px solid #8B3A9C; padding: 15px 20px; border-radius: 0 8px 8px 0; margin-bottom: 20px; font-size: 0.92em; line-height: 1.6; white-space: pre-line; }
.qd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.btn-secondary { background: #f0f0f0 !important; color: #555 !important; }
.btn-secondary:hover { background: #e0e0e0 !important; }
.btn-approve { background: linear-gradient(135deg, #28a745, #218838) !important; box-shadow: 0 3px 10px rgba(40,167,69,0.3); }
.btn-approve:hover { box-shadow: 0 5px 15px rgba(40,167,69,0.4); }

.dash-alert { display: flex; align-items: center; gap: 15px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 10px; padding: 16px 20px; margin-top: 20px; }
.dash-alert a { color: #8B3A9C; font-weight: 600; }

.empty-state { text-align: center; padding: 40px 20px; color: #888; }
.empty-state .placeholder-icon { font-size: 3em; display: block; margin-bottom: 15px; }
.loading-text { text-align: center; padding: 30px; color: #888; }

#quoteSessionItems { background: white; border: 2px solid #8B3A9C; border-radius: 12px; padding: 20px; margin-bottom: 25px; }

@media (max-width: 768px) {
    .qd-meta { flex-direction: column; gap: 5px; }
    .qd-actions { flex-direction: column; }
    .qd-actions button, .qd-actions a { width: 100%; text-align: center; }
    .quote-table { font-size: 0.8em; }
}

/* ====================================================================
   WALLET / WINKELTEGOED TAB
   ==================================================================== */

/* Saldo card */
.wallet-balance-card {
    background: linear-gradient(135deg, #f9f7fc, #f0eaf5);
    border: 2px solid var(--primary, #8B3A9C);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
}
.wallet-balance-label { font-size: 0.9em; color: #666; margin-bottom: 4px; }
.wallet-balance-amount { font-size: 2.2em; font-weight: 800; color: var(--primary, #8B3A9C); }
.wallet-balance-max { font-size: 0.8em; color: #999; margin-top: 4px; }

/* Opladen sectie */
.wallet-topup-section { margin-bottom: 30px; }
.wallet-topup-section h3 { font-size: 1.1em; margin-bottom: 8px; color: var(--text, #333); }
.wallet-info { font-size: 0.9em; color: #666; line-height: 1.6; margin-bottom: 15px; }

.wallet-topup-form { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 20px; }

/* Quick bedrag knoppen */
.wallet-topup-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.topup-amount-btn {
    padding: 8px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s;
}
.topup-amount-btn:hover { border-color: var(--primary, #8B3A9C); color: var(--primary, #8B3A9C); }
.topup-amount-btn.active {
    background: var(--primary, #8B3A9C);
    color: white;
    border-color: var(--primary, #8B3A9C);
}

/* Custom bedrag input */
.wallet-topup-custom { margin-top: 12px; }
.wallet-topup-custom label { display: block; margin-bottom: 8px; font-size: 0.88em; color: #666; }
.wallet-topup-custom input[type="number"] {
    width: 120px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
    transition: border-color 0.2s;
}
.wallet-topup-custom input:focus { border-color: var(--primary, #8B3A9C); outline: none; }

/* Opladen knop */
.btn-wallet-topup {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary, #8B3A9C), var(--primary-dark, #6B2A7C));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-wallet-topup:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,58,156,0.3); }
.btn-wallet-topup:disabled { opacity: 0.6; cursor: not-allowed; }

/* Terugbetaling */
.wallet-refund-section { margin-bottom: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.wallet-refund-section h3 { font-size: 1.1em; margin-bottom: 8px; color: var(--text, #333); }
.btn-wallet-refund {
    padding: 10px 20px;
    background: #f0f0f0;
    color: #555;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: 0.2s;
}
.btn-wallet-refund:hover { border-color: #c0392b; color: #c0392b; background: #fdecea; }
.wallet-refund-pending { background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; padding: 12px 16px; font-size: 0.9em; color: #856404; }

/* Transactiehistorie */
.wallet-history { padding-top: 20px; border-top: 1px solid #eee; }
.wallet-history h3 { font-size: 1.1em; margin-bottom: 12px; color: var(--text, #333); }

.wallet-table { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.wallet-table th {
    background: #f8f8f8;
    padding: 10px 12px;
    text-align: left;
    font-size: 0.78em;
    text-transform: uppercase;
    color: #888;
    border-bottom: 2px solid #eee;
}
.wallet-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.wallet-table tr:hover { background: #faf7fc; }
.wallet-date { white-space: nowrap; color: #888; font-size: 0.9em; }
.wallet-credit { color: #28a745; font-weight: 600; }
.wallet-debit { color: #dc3545; font-weight: 600; }
.wallet-balance-cell { font-weight: 600; white-space: nowrap; }
.wallet-badge-pending {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 6px;
}

/* ====================================================================
   WALLET RESPONSIVE
   ==================================================================== */
@media (max-width: 768px) {
    .wallet-balance-card { padding: 18px; }
    .wallet-balance-amount { font-size: 1.8em; }
    
    .wallet-topup-form { padding: 14px; }
    .wallet-topup-amounts { gap: 6px; }
    .topup-amount-btn { padding: 7px 14px; font-size: 0.88em; }
    
    .wallet-topup-custom > div {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .wallet-topup-custom input[type="number"] { width: 100% !important; }
    .btn-wallet-topup { width: 100%; text-align: center; }
    
    /* Transactie tabel → cards */
    .wallet-table thead { display: none; }
    .wallet-table, .wallet-table tbody, .wallet-table tr, .wallet-table td { display: block; width: 100%; }
    .wallet-table tr {
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 8px;
        background: white;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px 10px;
    }
    .wallet-table td { padding: 2px 0; border: none; }
    .wallet-table td:nth-child(1) { grid-column: 1 / -1; font-size: 0.8em; color: #888; }
    .wallet-table td:nth-child(2) { grid-column: 1 / -1; font-size: 0.9em; }
}
