.drw-wallet-page{direction:rtl;text-align:right}.drw-balance-card,.drw-balance-box{background:#f7f7f7;border:1px solid #e5e5e5;border-radius:10px;padding:18px;margin:15px 0}.drw-balance-card strong{display:block;font-size:26px;margin-top:8px}.drw-transactions .credit{color:#118c2f;font-weight:bold}.drw-transactions .debit{color:#c62828;font-weight:bold}.drw-price{font-weight:bold;color:#6d28d9}.drw-recharge-label{color:#15803d}


/* Drake Wallet - User Account Dark Reports UI */

.drw-wallet-page.drw-wallet-dark {
    direction: rtl;
    color: #e5e7eb;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32%),
                linear-gradient(135deg, #080b12 0%, #111827 45%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 24px;
    margin: 0 0 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.drw-wallet-dark * {
    box-sizing: border-box;
}

.drw-wallet-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.drw-wallet-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(147, 197, 253, 0.18);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
}

.drw-wallet-dark h2,
.drw-wallet-dark h3 {
    color: #f9fafb;
    margin: 0;
    line-height: 1.7;
}

.drw-wallet-dark h2 {
    font-size: 28px;
    font-weight: 800;
}

.drw-wallet-dark h3 {
    font-size: 20px;
    font-weight: 800;
}

.drw-wallet-dark p {
    color: #9ca3af;
    margin: 6px 0 0;
    line-height: 1.9;
}

.drw-balance-card {
    min-width: 250px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(59, 130, 246, 0.14));
    border: 1px solid rgba(134, 239, 172, 0.22);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.drw-balance-card span {
    color: #bbf7d0;
    font-size: 13px;
    margin-bottom: 8px;
}

.drw-balance-card strong {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.drw-wallet-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.drw-stat-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 18px;
    min-height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drw-stat-card span {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 8px;
}

.drw-stat-card strong {
    color: #f8fafc;
    font-size: 22px;
    font-weight: 850;
}

.drw-stat-credit {
    border-color: rgba(34, 197, 94, 0.28);
}

.drw-stat-credit strong {
    color: #86efac;
}

.drw-stat-debit {
    border-color: rgba(248, 113, 113, 0.28);
}

.drw-stat-debit strong {
    color: #fca5a5;
}

.drw-report-panel {
    background: rgba(2, 6, 23, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    padding: 20px;
}

.drw-report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.drw-wallet-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 16px;
}

.drw-filter-field label {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 8px;
}

.drw-wallet-dark input[type="date"],
.drw-wallet-dark input[type="text"],
.drw-wallet-dark select {
    width: 100%;
    min-height: 42px;
    color: #f8fafc;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 8px 12px;
    outline: none;
    box-shadow: none;
}

.drw-wallet-dark input[type="date"]:focus,
.drw-wallet-dark input[type="text"]:focus,
.drw-wallet-dark select:focus {
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.drw-wallet-dark input::placeholder {
    color: #64748b;
}

.drw-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.drw-wallet-dark .button.drw-filter-submit,
.drw-wallet-dark .button.drw-filter-reset {
    min-height: 42px;
    border-radius: 12px;
    padding: 8px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.drw-wallet-dark .button.drw-filter-submit {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: 1px solid rgba(147, 197, 253, 0.28);
    color: #ffffff;
}

.drw-wallet-dark .button.drw-filter-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.drw-wallet-dark .button.drw-filter-reset {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #cbd5e1;
}

.drw-wallet-dark .button.drw-filter-reset:hover {
    background: rgba(30, 41, 59, 0.9);
    color: #ffffff;
}

.drw-transactions-wrap {
    width: 100%;
    overflow-x: auto;
}

.drw-wallet-dark table.drw-transactions {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.62);
    margin: 0;
}

.drw-wallet-dark table.drw-transactions thead th {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.92);
    border: none;
    padding: 14px 12px;
    font-weight: 800;
    font-size: 13px;
    text-align: right;
}

.drw-wallet-dark table.drw-transactions tbody td {
    color: #e5e7eb;
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
    padding: 14px 12px;
    vertical-align: middle;
    text-align: right;
}

.drw-wallet-dark table.drw-transactions tbody tr {
    transition: background 0.2s ease;
}

.drw-wallet-dark table.drw-transactions tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

.drw-wallet-dark .credit {
    color: #86efac !important;
    font-weight: 800;
}

.drw-wallet-dark .debit {
    color: #fca5a5 !important;
    font-weight: 800;
}

.drw-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.drw-badge-credit {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(134, 239, 172, 0.22);
}

.drw-badge-debit {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(252, 165, 165, 0.22);
}

.drw-date {
    color: #cbd5e1;
    white-space: nowrap;
}

.drw-muted {
    color: #64748b;
}

.drw-order-link {
    color: #93c5fd;
    font-weight: 800;
    text-decoration: none;
}

.drw-order-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.drw-empty-state {
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.72);
    border: 1px dashed rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
}

.drw-table-note {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 12px;
}

/* WooCommerce account compatibility */
.woocommerce-MyAccount-content .drw-wallet-page.drw-wallet-dark a {
    box-shadow: none;
}

/* Responsive */
@media (max-width: 900px) {
    .drw-wallet-hero {
        flex-direction: column;
    }

    .drw-balance-card {
        min-width: 100%;
    }

    .drw-wallet-stats {
        grid-template-columns: 1fr;
    }

    .drw-wallet-filters {
        grid-template-columns: 1fr 1fr;
    }

    .drw-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .drw-wallet-page.drw-wallet-dark {
        padding: 16px;
        border-radius: 18px;
    }

    .drw-wallet-dark h2 {
        font-size: 23px;
    }

    .drw-wallet-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .drw-report-panel {
        padding: 14px;
    }

    .drw-wallet-dark table.drw-transactions thead {
        display: none;
    }

    .drw-wallet-dark table.drw-transactions,
    .drw-wallet-dark table.drw-transactions tbody,
    .drw-wallet-dark table.drw-transactions tr,
    .drw-wallet-dark table.drw-transactions td {
        display: block;
        width: 100%;
    }

    .drw-wallet-dark table.drw-transactions tr {
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        padding: 12px 0;
    }

    .drw-wallet-dark table.drw-transactions tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-top: none;
        padding: 8px 12px;
        text-align: left;
    }

    .drw-wallet-dark table.drw-transactions tbody td::before {
        content: attr(data-title);
        color: #94a3b8;
        font-weight: 700;
        text-align: right;
    }
}
