/* Wallet Dashboard Styles */
.wallet-dashboard {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.wallet-dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.wallet-section-title {
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f4;
    color: #212341;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.wallet-field-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #212341;
}

.wallet-field-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #7a7a7a;
}

.wallet-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .wallet-overview {
        grid-template-columns: 1fr;
    }
}

/* Wallet Balance Display */
.wallet-balance-display {
    background-color: #f6f7fe;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2em;
}

.wallet-balance-display.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    background: linear-gradient(145deg, #f6f7fe 0%, #ffffff 100%);
    border: 4px solid #f6f7f9;
    border-radius: 20px;
    box-shadow: 0 10px 36px rgba(33, 35, 65, 0.06);
}

.wallet-balance-display.card .balance-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(33, 35, 65, 0.06);
    font-size: 36px;
    margin-bottom: 18px;
}

.wallet-balance-display.card .balance-label {
    font-size: 15px;
    font-weight: 600;
    color: #5e5e5e;
    margin-bottom: 8px;
}

.wallet-balance-display.card .balance-amount {
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
    color: #212341;
}

.dashboard-kaveh-content .card {
    border: 5px solid #f6f7f9;
    background-color: #fff;
    border-radius: 20px;
}

.dashboard-kaveh-content .card-header:first-child {
    background-color: #f6f7fe;

}

.wallet-no-transactions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
}

.wallet-balance-display strong {
    font-size: 1.5em;
    display: block;
    margin-top: 10px;
}

/* Add Funds Form */
.wallet-add-funds {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 20px;
    border: 4px solid #f6f7f9;
    box-shadow: 0 10px 36px rgba(33, 35, 65, 0.06);
}

.wallet-add-funds h4 {
    margin-top: 0;
}

.wallet-add-funds .form-group,
.wallet-add-funds .wallet-form-group {
    margin-bottom: 24px;
}

.wallet-add-funds .wallet-form-actions {
    margin-top: 8px;
    margin-bottom: 0;
}

.wallet-add-funds label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #212341;
}

.wallet-add-funds input,
.wallet-add-funds select {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px 12px 42px;
    border: 1px solid #e8eaef;
    border-radius: 50px;
    font-size: 14px;
    background-color: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wallet-add-funds input {
    padding-left: 18px;
    padding-right: 18px;
}

.wallet-add-funds input:focus,
.wallet-add-funds select:focus {
    outline: 0;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
}

.wallet-add-funds button {
    background: #28a745;
    color: white;
    border: none;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wallet-add-funds button:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.22);
}

.wallet-add-funds button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Wallet Transactions */
.wallet-transactions-section {
    background: #ffffff;
    border: 4px solid #f6f7f9;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 36px rgba(33, 35, 65, 0.06);
}

.wallet-transactions {
    margin-top: 0;
}

.wallet-transactions-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0f4;
}

.wallet-transactions-header .wallet-transactions-title,
.wallet-transactions-header .wallet-section-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
}

.wallet-transactions h4 {
    margin-bottom: 0;
    color: #495057;
    font-weight: 600;
    padding-bottom: 0;
}

.wallet-transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wallet-transactions-table th,
.wallet-transactions-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.wallet-transactions-table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #495057;
    text-transform: none;
    font-size: 13px;
    letter-spacing: 0;
}

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

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

.wallet-transactions-table tbody tr:last-child td {
    border-bottom: none;
}

/* Transaction Type Styling */
.transaction-type-credit {
    color: #28a745;
    font-weight: 600;
}

.transaction-type-debit {
    color: #dc3545;
    font-weight: 600;
}

.transaction-amount-credit {
    color: #28a745;
    font-weight: 600;
}

.transaction-amount-debit {
    color: #dc3545;
    font-weight: 600;
}

/* Checkout Wallet Info */
.wallet-checkout-info {
    box-shadow: 0 4px 30px #edf0f5;
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    margin-bottom: 20px;
}

.wallet-checkout-info h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
    font-weight: bold;
    font-size: 18px;
}

.wallet-balance {
    font-size: 1.1em;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 15px;
}

.wallet-checkout-info .wallet-apply-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 10px 0 0;
    line-height: 1.7;
}

.wallet-checkout-info .wallet-apply-label {
    color: inherit;
}

.wallet-checkout-info .wallet-apply-price,
.wallet-checkout-info .wallet-apply-price .woocommerce-Price-amount,
.wallet-checkout-info .wallet-apply-price .woocommerce-Price-amount.amount {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
    vertical-align: middle;
}

.wallet-checkout-info .wallet-apply-price .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.wallet-checkout-info .wallet-apply-price .woocommerce-Price-currencySymbol {
    margin: 0 !important;
    white-space: nowrap;
}

.wallet-checkout-info .wallet-balance .woocommerce-Price-amount,
.wallet-checkout-info .wallet-balance .woocommerce-Price-amount.amount {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
    vertical-align: middle;
}

.wallet-checkout-info .wallet-balance .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.wallet-checkout-info .wallet-balance .woocommerce-Price-currencySymbol {
    margin: 0 !important;
    white-space: nowrap;
}

/* Style 2 checkout: flat wallet block matching order sidebar / payment section */
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #e7e7e7;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info h4 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #000;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-balance {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.64) !important;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-balance .woocommerce-Price-amount,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-balance .woocommerce-Price-amount.amount,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-balance .woocommerce-Price-amount bdi,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-balance .woocommerce-Price-currencySymbol,
body.kaveh-woo-flow-style-2.woocommerce-checkout .woocommerce-checkout-review-order .wallet-checkout-info .wallet-balance span.woocommerce-Price-amount.amount {
    color: rgba(0, 0, 0, 0.64) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    position: static !important;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option {
    margin: 0;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option > label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    min-height: 52px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    color: #090c0a;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option > label:has(#use_wallet_payment:checked) {
    border-color: #000;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option input[type="checkbox"]:checked {
    background-color: #ea5656;
    border-color: #ea5656;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option .description {
    margin: 8px 2px 0;
    font-size: 12px;
    line-height: 1.7;
    color: #8a8a8a !important;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option .description .woocommerce-Price-amount,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option .description .woocommerce-Price-amount.amount,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option .description .woocommerce-Price-amount bdi,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-discount-option .description .woocommerce-Price-currencySymbol,
body.kaveh-woo-flow-style-2.woocommerce-checkout .woocommerce-checkout-review-order .wallet-checkout-info .wallet-discount-option .description span.woocommerce-Price-amount.amount {
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    position: static !important;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-apply-amount {
    gap: 6px 8px;
}

body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-apply-price .woocommerce-Price-amount,
body.kaveh-woo-flow-style-2.woocommerce-checkout .wallet-checkout-info .wallet-apply-price .woocommerce-Price-amount bdi {
    gap: 6px;
}

.wallet-payment-option {
    margin-top: 15px;
}

.wallet-payment-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.wallet-payment-option input[type="checkbox"] {
    margin-right: 8px;
}

.wallet-amount-selector {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.wallet-amount-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.wallet-amount-selector input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.wallet-amount-selector .description {
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Payment Gateway Wallet Fields */
.wallet-payment-fields {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.wallet-payment-fields p {
    margin-bottom: 10px;
}

.wallet-partial-payment {
    margin-top: 15px;
}

.wallet-partial-payment label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wallet-partial-payment input[type="checkbox"] {
    margin-right: 8px;
}

/* Loading States */
.wallet-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wallet-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: wallet-spin 1s linear infinite;
}

@keyframes wallet-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.wallet-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wallet-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wallet-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wallet-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wallet-dashboard {
        padding: 15px;
    }

    .wallet-transactions-table {
        font-size: 14px;
    }

    .wallet-transactions-table th,
    .wallet-transactions-table td {
        padding: 8px 10px;
    }

    .wallet-balance-display {
        font-size: 1em;
    }

    .wallet-balance-display strong {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .wallet-transactions-table {
        font-size: 12px;
    }

    .wallet-transactions-table th:nth-child(4),
    .wallet-transactions-table td:nth-child(4) {
        display: none;
    }
}

/* Admin Profile Wallet Fields */
.form-table .wallet-admin-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.form-table .wallet-admin-section h3 {
    margin-top: 0;
    color: #23282d;
}



/* Quick Stats Cards */
.wallet-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 0;
}

.wallet-stat-card {
    background: white;
    padding: 22px 20px;
    border-radius: 20px;
    border: 4px solid #f6f7f9;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 110px;
    justify-content: center;
}

.wallet-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(33, 35, 65, 0.08);
}

.wallet-stat-card .stat-label {
    color: #7a7a7a;
    font-size: 13px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.wallet-stat-card .stat-value {
    font-size: 1.45em;
    font-weight: 700;
    color: #212341;
    margin: 0;
    line-height: 1.3;
}

.wallet-stat-card.balance .stat-value {
    color: #28a745;
}

.wallet-stat-card.spent .stat-value {
    color: #dc3545;
}

.wallet-stat-card.transactions .stat-value {
    color: #007bff;
}

/* Quick amounts */
.wallet-quick-amounts-section {
    margin-bottom: 28px;
}

.wallet-quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.wallet-quick-amounts-section .wallet-quick-amounts .btn-outline-secondary,
.wallet-quick-amounts .wallet-quick-amount {
    margin: 0 !important;
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
    padding: 10px 18px;
    min-height: 42px;
    border-top-left-radius: 50px !important;
    border-top-right-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wallet-quick-amounts-section .wallet-quick-amounts .btn-outline-secondary:hover,
.wallet-quick-amounts .wallet-quick-amount:hover {
    background: #218838 !important;
    border-color: #218838 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.24);
}

/* Card */
.wallet-dashboard .wallet-balance-section .card {
    margin-bottom: 25px;
    border-style: solid;
    border-width: 4px;
    border-color: #f6f7f9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 0px 34px 28px rgba(33, 35, 65, 0.04);
}

/* Balance label */
.card .balance-label {
    font-weight: 700;
}

/* Span Tag */
.balance-amount bdi span {
    font-weight: 400 !important;
}

/* Wallet add funds - legacy duplicate block kept in sync */
.wallet-add-funds {
    background-color: #ffffff;
    border-width: 4px;
    border-color: #f6f7f9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 36px rgba(33, 35, 65, 0.06);
}

/* Bdi */
.wallet-quick-amounts-section .wallet-quick-amounts bdi {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

/* Woocommerce  price currency symbol */
.wallet-quick-amounts-section bdi .woocommerce-Price-currencySymbol {
    color: #ffffff;
    margin: 0 !important;
    font-weight: 300 !important;
    font-size: 13px;
}

/* Button */
.container .wallet-dashboard .wallet-dashboard-content .wallet-overview .wallet-add-funds-section .wallet-add-funds #wallet-add-funds-form .form-group .wallet-submit-btn {
    width: 100% !important;
}

/* Button */
#wallet-add-funds-form .form-group .wallet-submit-btn {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Wallet amount */
#wallet-amount {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    text-align: right;
    direction: ltr;
    unicode-bidi: plaintext;
}

/* Wallet payment method */
#wallet-payment-method {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Wallet stat card */
.wallet-dashboard .wallet-quick-stats .wallet-stat-card {
    background-color: #ffffff;
    border-width: 4px;
    border-color: #f6f7f9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Wallet transaction filters */
.wallet-transactions .wallet-transactions-header .wallet-transaction-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
}

.wallet-filter-select {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.wallet-filter-select .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Wallet selects: Select2 UI aligned with dashboard field style */
.wallet-dashboard .wallet-filter-select .select2-container {
    width: 100% !important;
    display: block;
}

.wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 52px;
    border: 1px solid #e8eaef;
    border-radius: 14px !important;
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single,
.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
    border-radius: 14px !important;
}

.wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 14px 18px 14px 42px;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    color: #212341;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 52px;
}

.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single,
.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0010f7;
    box-shadow: 0 0 0 4px rgba(0, 16, 247, 0.2);
    background: #fff;
}

.wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: block !important;
    width: 12px;
    height: 12px;
    left: 16px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9.96053 4.47498L6.70053 7.73498C6.31553 8.11998 5.68553 8.11998 5.30053 7.73498L2.04053 4.47498' stroke='%239EA2B4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: translateY(-50%) rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9.96053 4.47498L6.70053 7.73498C6.31553 8.11998 5.68553 8.11998 5.30053 7.73498L2.04053 4.47498' stroke='%230010f7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wallet-add-funds .wallet-filter-select .select2-container--default .select2-selection--single,
.wallet-add-funds .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    min-height: 48px;
}

.wallet-dashboard .select2-container--open .select2-dropdown {
    border: 1px solid #e8eaef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(33, 35, 65, 0.08);
    z-index: 9999;
    padding: 8px 0 !important;
    transform: none !important;
    min-width: 100%;
    box-sizing: border-box;
}

.wallet-dashboard .select2-container--open .select2-dropdown--below,
.wallet-dashboard .select2-container--open .select2-dropdown--above {
    transform: none !important;
}

.wallet-dashboard .select2-results__options {
    max-height: 240px;
    display: block !important;
    gap: 0 !important;
    padding: 0;
}

.wallet-dashboard .select2-results__option {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    line-height: 1.5;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}

.wallet-dashboard .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #0010f7;
    color: #fff;
}

.wallet-dashboard .select2-container--default .select2-results__option--selected {
    background-color: rgba(0, 16, 247, 0.08);
    color: #212341;
}

.wallet-transaction-filters .wallet-filter-control,
.wallet-transaction-filters .form-control {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.wallet-transactions-filter-empty {
    margin-top: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px dashed #e8eaef;
    border-radius: 16px;
    background: #fafbfc;
    color: #7a7a7a;
}

.wallet-transactions-table tbody.is-filter-empty {
    display: none;
}

.wallet-transactions-filter-empty p {
    margin: 0;
}

/* Wallet transactions table */
.wallet-transactions-table-container {
    overflow-x: auto;
    border-radius: 16px;
}

.wallet-transactions div .wallet-transactions-table {
    box-shadow: none;
    border: 1px solid #eef0f4;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Legacy filter ids kept for backward compatibility */
#transaction-type-filter,
#transaction-period-filter {
    border-radius: 14px;
}

/* Button */
.wallet-transactions-section .wallet-view-all-transactions {
    margin-top: 20px;
    text-align: center;
}

.wallet-transactions-section .wallet-view-all-transactions a {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: rgba(52, 152, 219, 0.14);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 24px;
    padding-left: 24px;
    font-weight: 600;
}

/* Button (hover) */
.wallet-transactions-section .wallet-view-all-transactions a:hover {
    background-color: #3370db;
    color: #ffffff;
}

/* Font Icon */
.card .balance-icon i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* 1200px and larger screen sizes */
@media (min-width:1200px) {

    /* Heading */
    .wallet-transactions .wallet-transactions-header h4 {
        font-size: 20px;
    }

    /* Heading */
    .wallet-add-funds-section .wallet-add-funds h4 {
        font-size: 20px;
    }

}

/* Th */
.wallet-transactions-table tr th {
    text-align: right;
}

/* Transaction date */
.wallet-transactions-table tbody .transaction-date {
    transform: none;
    text-align: right;
}

/* Transaction type — center under column title for consistent visual alignment */
.wallet-transactions-table thead th:nth-child(2),
.wallet-transactions-table tbody td.transaction-type,
.wallet-transactions-table tbody .transaction-type-credit,
.wallet-transactions-table tbody .transaction-type-debit {
    text-align: center !important;
    vertical-align: middle;
}

.wallet-transactions-table tbody .transaction-type .transaction-badge {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    float: none;
    width: auto;
    max-width: 100%;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
}

.wallet-transactions-table tbody .transaction-type .transaction-badge i {
    display: none !important;
}

/* Transaction amount */
.wallet-transactions-table tbody .transaction-amount {
    text-align: right;
}

/* Transaction description */
.wallet-transactions-table tbody .transaction-description {
    text-align: right;
}

/* Transaction balance */
.wallet-transactions-table tbody .transaction-balance {
    text-align: right;
}

/* Heading */
.wallet-add-funds-section .wallet-add-funds h4,
.wallet-add-funds .wallet-section-title {
    font-weight: 700;
}

/* Heading */
.wallet-transactions .wallet-transactions-header h4,
.wallet-transactions .wallet-transactions-title {
    font-weight: 700;
}

/* 1200px and larger screen sizes */
@media (min-width:1200px) {

    /* Heading */
    .wallet-add-funds-section .wallet-add-funds h4 {
        font-size: 18px;
    }

    /* Heading */
    .wallet-transactions .wallet-transactions-header h4 {
        font-size: 18px;
    }
}

/* Woocommerce  price amount */
.card .balance-amount .woocommerce-Price-amount {
    font-weight: 700;
}

/* Woocommerce  price amount */
.card .balance-amount .woocommerce-Price-amount {
    font-size: 24px;
}

.balance-amount {
    margin-top: 0;
}

@media (max-width: 768px) {
    .wallet-dashboard,
    .wallet-dashboard-content {
        gap: 20px;
    }

    .wallet-add-funds,
    .wallet-transactions-section {
        padding: 22px 18px;
    }

    .wallet-section-title {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .wallet-quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wallet-transactions-header {
        gap: 14px;
    }

    .wallet-transactions .wallet-transactions-header .wallet-transaction-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wallet-transaction-filters .wallet-filter-control,
    .wallet-transaction-filters .form-control {
        min-height: 48px;
        font-size: 13px;
        border-radius: 12px;
    }
}

.dashboard-kaveh-dark .wallet-dashboard {
    background: #0f1438 !important;
    color: #ffffff;
}

.dashboard-kaveh-dark-two .wallet-dashboard {
    background: #060919 !important;
    color: #ffffff;
}

.dashboard-kaveh-dark .dashboard-kaveh-content .card {
    border: 5px solid #202446 !important;
    background-color: #202446 !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark-two .dashboard-kaveh-content .card {
    border: 5px solid #1d2134 !important;
    background-color: #1d2134 !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .dashboard-kaveh-content .card-header:first-child,
.dashboard-kaveh-dark .wallet-balance-display,
.dashboard-kaveh-dark .wallet-balance-display.card {
    background: linear-gradient(145deg, #1a1f4a 0%, #202446 100%) !important;
    border-color: #2a2f5a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.dashboard-kaveh-dark-two .dashboard-kaveh-content .card-header:first-child,
.dashboard-kaveh-dark-two .wallet-balance-display,
.dashboard-kaveh-dark-two .wallet-balance-display.card {
    background: linear-gradient(145deg, #12162a 0%, #1d2134 100%) !important;
    border-color: #2a2f45 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.dashboard-kaveh-dark .wallet-balance-display.card .balance-icon i,
.dashboard-kaveh-dark-two .wallet-balance-display.card .balance-icon i {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-balance-display.card .balance-label,
.dashboard-kaveh-dark-two .wallet-balance-display.card .balance-label,
.dashboard-kaveh-dark .card .balance-label,
.dashboard-kaveh-dark-two .card .balance-label {
    color: rgba(255, 255, 255, 0.65) !important;
}

.dashboard-kaveh-dark .wallet-balance-display.card .balance-amount,
.dashboard-kaveh-dark-two .wallet-balance-display.card .balance-amount,
.dashboard-kaveh-dark .card .balance-amount,
.dashboard-kaveh-dark-two .card .balance-amount,
.dashboard-kaveh-dark .card .balance-amount .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .card .balance-amount .woocommerce-Price-amount,
.dashboard-kaveh-dark .balance-amount bdi,
.dashboard-kaveh-dark-two .balance-amount bdi,
.dashboard-kaveh-dark .balance-amount bdi span,
.dashboard-kaveh-dark-two .balance-amount bdi span {
    color: #ffffff !important;
}

.dashboard-kaveh-dark-two .wallet-dashboard .wallet-quick-stats .wallet-stat-card {
    background-color: #1d2134 !important;
    border-color: #2a2f45 !important;
    box-shadow: none !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-quick-stats .wallet-stat-card {
    background-color: #202446 !important;
    border-color: #2a2f5a !important;
    box-shadow: none !important;
}

.dashboard-kaveh-dark .wallet-stat-card .stat-label,
.dashboard-kaveh-dark-two .wallet-stat-card .stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.dashboard-kaveh-dark .wallet-stat-card .stat-value,
.dashboard-kaveh-dark-two .wallet-stat-card .stat-value {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-stat-card.balance .stat-value,
.dashboard-kaveh-dark-two .wallet-stat-card.balance .stat-value {
    color: #3ddc84 !important;
}

.dashboard-kaveh-dark .wallet-stat-card.spent .stat-value,
.dashboard-kaveh-dark-two .wallet-stat-card.spent .stat-value {
    color: #ff6b7a !important;
}

.dashboard-kaveh-dark .wallet-stat-card.transactions .stat-value,
.dashboard-kaveh-dark-two .wallet-stat-card.transactions .stat-value {
    color: #6ea8ff !important;
}

.dashboard-kaveh-dark .wallet-add-funds {
    background-color: #202446 !important;
    border-color: #2a2f5a !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark-two .wallet-add-funds {
    background-color: #1d2134 !important;
    border-color: #2a2f45 !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark-two .wallet-add-funds h4,
.dashboard-kaveh-dark .wallet-add-funds h4,
.dashboard-kaveh-dark-two .wallet-section-title,
.dashboard-kaveh-dark .wallet-section-title,
.dashboard-kaveh-dark .wallet-transactions h4,
.dashboard-kaveh-dark-two .wallet-transactions h4,
.dashboard-kaveh-dark .wallet-transactions .wallet-transactions-header h4,
.dashboard-kaveh-dark-two .wallet-transactions .wallet-transactions-header h4,
.dashboard-kaveh-dark .wallet-transactions-title,
.dashboard-kaveh-dark-two .wallet-transactions-title {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-kaveh-dark-two .wallet-field-label,
.dashboard-kaveh-dark .wallet-field-label,
.dashboard-kaveh-dark .wallet-add-funds label,
.dashboard-kaveh-dark-two .wallet-add-funds label {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-field-hint,
.dashboard-kaveh-dark-two .wallet-field-hint,
.dashboard-kaveh-dark .text-muted,
.dashboard-kaveh-dark-two .text-muted,
.dashboard-kaveh-dark .form-text,
.dashboard-kaveh-dark-two .form-text {
    color: rgba(255, 255, 255, 0.55) !important;
}

.dashboard-kaveh-dark-two #wallet-amount,
.dashboard-kaveh-dark-two #wallet-payment-method,
.dashboard-kaveh-dark-two .wallet-add-funds input,
.dashboard-kaveh-dark-two .wallet-add-funds select,
.dashboard-kaveh-dark-two .wallet-transaction-filters .wallet-filter-control,
.dashboard-kaveh-dark-two .wallet-transaction-filters .form-control {
    background-color: #070a1a !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark #wallet-amount,
.dashboard-kaveh-dark #wallet-payment-method,
.dashboard-kaveh-dark .wallet-add-funds input,
.dashboard-kaveh-dark .wallet-add-funds select,
.dashboard-kaveh-dark .wallet-transaction-filters .wallet-filter-control,
.dashboard-kaveh-dark .wallet-transaction-filters .form-control {
    background-color: #101539 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-add-funds input::placeholder,
.dashboard-kaveh-dark-two .wallet-add-funds input::placeholder,
.dashboard-kaveh-dark .wallet-add-funds select option,
.dashboard-kaveh-dark-two .wallet-add-funds select option {
    color: rgba(255, 255, 255, 0.45);
}

.dashboard-kaveh-dark .wallet-add-funds input:focus,
.dashboard-kaveh-dark .wallet-add-funds select:focus,
.dashboard-kaveh-dark-two .wallet-add-funds input:focus,
.dashboard-kaveh-dark-two .wallet-add-funds select:focus {
    border-color: #3ddc84 !important;
    box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18) !important;
    background-color: inherit;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__arrow,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9.96053 4.47498L6.70053 7.73498C6.31553 8.11998 5.68553 8.11998 5.30053 7.73498L2.04053 4.47498' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9.96053 4.47498L6.70053 7.73498C6.31553 8.11998 5.68553 8.11998 5.30053 7.73498L2.04053 4.47498' stroke='%230010f7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single {
    background: #101539 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single {
    background: #070a1a !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single,
.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--focus .select2-selection--single,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--open .select2-selection--single,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0010f7 !important;
    box-shadow: 0 0 0 4px rgba(0, 16, 247, 0.2) !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-dashboard .select2-container--open .select2-dropdown,
.dashboard-kaveh-dark .wallet-filter-select .select2-dropdown {
    background-color: #202446 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.dashboard-kaveh-dark-two .wallet-dashboard .select2-container--open .select2-dropdown,
.dashboard-kaveh-dark-two .wallet-filter-select .select2-dropdown {
    background-color: #1d2134 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.dashboard-kaveh-dark .wallet-dashboard .select2-results__option,
.dashboard-kaveh-dark-two .wallet-dashboard .select2-results__option,
.dashboard-kaveh-dark .wallet-filter-select .select2-results__option,
.dashboard-kaveh-dark-two .wallet-filter-select .select2-results__option {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-dashboard .select2-container--default .select2-results__option--selected,
.dashboard-kaveh-dark-two .wallet-dashboard .select2-container--default .select2-results__option--selected,
.dashboard-kaveh-dark .wallet-filter-select .select2-results__option--selected,
.dashboard-kaveh-dark-two .wallet-filter-select .select2-results__option--selected {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-dashboard .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.dashboard-kaveh-dark-two .wallet-dashboard .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.dashboard-kaveh-dark .wallet-filter-select .select2-results__option--highlighted,
.dashboard-kaveh-dark-two .wallet-filter-select .select2-results__option--highlighted {
    background-color: #0010f7 !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-transactions-section {
    background-color: #202446 !important;
    border-color: #2a2f5a !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark-two .wallet-transactions-section {
    background-color: #1d2134 !important;
    border-color: #2a2f45 !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-transactions-header,
.dashboard-kaveh-dark-two .wallet-transactions-header {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-kaveh-dark .wallet-transactions-filter-empty,
.dashboard-kaveh-dark-two .wallet-transactions-filter-empty,
.dashboard-kaveh-dark .wallet-no-transactions,
.dashboard-kaveh-dark-two .wallet-no-transactions {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.dashboard-kaveh-dark .wallet-no-transactions p,
.dashboard-kaveh-dark-two .wallet-no-transactions p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dashboard-kaveh-dark .wallet-transactions-table {
    background: #181d3f !important;
    box-shadow: none !important;
    color: #ffffff;
}

.dashboard-kaveh-dark-two .wallet-transactions-table {
    background: #15192b !important;
    box-shadow: none !important;
    color: #ffffff;
}

.dashboard-kaveh-dark .wallet-transactions-table th {
    background: #101539 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-kaveh-dark-two .wallet-transactions-table th {
    background: #0d1020 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-kaveh-dark .wallet-transactions-table td,
.dashboard-kaveh-dark-two .wallet-transactions-table td {
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.dashboard-kaveh-dark .wallet-transactions-table tbody .transaction-description,
.dashboard-kaveh-dark-two .wallet-transactions-table tbody .transaction-description,
.dashboard-kaveh-dark .wallet-transactions-table tbody .transaction-date,
.dashboard-kaveh-dark-two .wallet-transactions-table tbody .transaction-date,
.dashboard-kaveh-dark .wallet-transactions-table tbody .transaction-time,
.dashboard-kaveh-dark-two .wallet-transactions-table tbody .transaction-time,
.dashboard-kaveh-dark .wallet-transactions-table tbody .transaction-balance,
.dashboard-kaveh-dark-two .wallet-transactions-table tbody .transaction-balance {
    color: rgba(255, 255, 255, 0.85) !important;
}

.dashboard-kaveh-dark .wallet-transactions-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.dashboard-kaveh-dark-two .wallet-transactions-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.dashboard-kaveh-dark .wallet-table-container tbody,
.dashboard-kaveh-dark .wallet-table-container td,
.dashboard-kaveh-dark .wallet-table-container tfoot,
.dashboard-kaveh-dark .wallet-table-container th,
.dashboard-kaveh-dark .wallet-table-container thead,
.dashboard-kaveh-dark .wallet-table-container tr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-kaveh-dark-two .wallet-table-container tbody,
.dashboard-kaveh-dark-two .wallet-table-container td,
.dashboard-kaveh-dark-two .wallet-table-container tfoot,
.dashboard-kaveh-dark-two .wallet-table-container th,
.dashboard-kaveh-dark-two .wallet-table-container thead,
.dashboard-kaveh-dark-two .wallet-table-container tr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-kaveh-dark .transaction-type-credit,
.dashboard-kaveh-dark-two .transaction-type-credit,
.dashboard-kaveh-dark .transaction-amount-credit,
.dashboard-kaveh-dark-two .transaction-amount-credit {
    color: #3ddc84 !important;
}

.dashboard-kaveh-dark .transaction-type-debit,
.dashboard-kaveh-dark-two .transaction-type-debit,
.dashboard-kaveh-dark .transaction-amount-debit,
.dashboard-kaveh-dark-two .transaction-amount-debit {
    color: #ff6b7a !important;
}

.dashboard-kaveh-dark .wallet-transactions-table .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .wallet-transactions-table .woocommerce-Price-amount,
.dashboard-kaveh-dark .wallet-stat-card .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .wallet-stat-card .woocommerce-Price-amount {
    color: inherit !important;
}

.dashboard-kaveh-dark .wallet-pagination a,
.dashboard-kaveh-dark-two .wallet-pagination a,
.dashboard-kaveh-dark .wallet-pagination span,
.dashboard-kaveh-dark-two .wallet-pagination span {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .required,
.dashboard-kaveh-dark-two .required {
    color: #ff6b7a !important;
}

.dashboard-kaveh-dark .wallet-stat-card.added .stat-value,
.dashboard-kaveh-dark-two .wallet-stat-card.added .stat-value {
    color: #3ddc84 !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-balance-section .card,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-balance-section .card {
    border-color: transparent !important;
    box-shadow: none !important;
}

.dashboard-kaveh-dark .wallet-field-hint .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .wallet-field-hint .woocommerce-Price-amount,
.dashboard-kaveh-dark .wallet-field-hint bdi,
.dashboard-kaveh-dark-two .wallet-field-hint bdi,
.dashboard-kaveh-dark .text-muted .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .text-muted .woocommerce-Price-amount {
    color: inherit !important;
}

.dashboard-kaveh-dark .wallet-view-all-transactions .btn,
.dashboard-kaveh-dark-two .wallet-view-all-transactions .btn,
.dashboard-kaveh-dark .wallet-pagination .wallet-page-link,
.dashboard-kaveh-dark-two .wallet-pagination .wallet-page-link {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
}

.dashboard-kaveh-dark .wallet-pagination .wallet-page-link.current,
.dashboard-kaveh-dark-two .wallet-pagination .wallet-page-link.current,
.dashboard-kaveh-dark .wallet-pagination .wallet-page-link:hover,
.dashboard-kaveh-dark-two .wallet-pagination .wallet-page-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #0010f7 !important;
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-message,
.dashboard-kaveh-dark-two .wallet-message {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .dashboard-kaveh .wallet-dashboard .form-control,
.dashboard-kaveh-dark-two .dashboard-kaveh .wallet-dashboard .form-control {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .dashboard-kaveh .wallet-dashboard label,
.dashboard-kaveh-dark-two .dashboard-kaveh .wallet-dashboard label {
    color: #ffffff !important;
}

/* Wallet currency symbol (تومان / modern SVG) — dark contrast + spacing */
.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-amount bdi,
.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-amount bdi,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    flex-wrap: nowrap;
}

.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-amount,
.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-amount,
.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-currencySymbol,
.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
    color: inherit !important;
    margin: 0 !important;
}

.dashboard-kaveh-dark .wallet-dashboard .balance-amount,
.dashboard-kaveh-dark-two .wallet-dashboard .balance-amount {
    color: #ffffff !important;
}

.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-currencySymbol svg,
.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-currencySymbol svg,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
    display: block;
    width: 1.05em;
    height: 1em;
    flex-shrink: 0;
    margin: 0;
}

.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-currencySymbol svg,.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-currencySymbol svg,.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-currencySymbol svg path,.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-currencySymbol svg path,.dashboard-kaveh-dark .wallet-dashboard .woocommerce-Price-currencySymbol svg *,.dashboard-kaveh-dark-two .wallet-dashboard .woocommerce-Price-currencySymbol svg *,body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg path,body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg,body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg path,body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg,body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg *,body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-dashboard .woocommerce-Price-currencySymbol svg *{
    fill: currentColor !important;
    stroke: currentColor !important;
    color: inherit !important;
}

.dashboard-kaveh-dark .wallet-dashboard .wallet-field-hint .woocommerce-Price-currencySymbol,
.dashboard-kaveh-dark-two .wallet-dashboard .wallet-field-hint .woocommerce-Price-currencySymbol {
    color: inherit !important;
    margin: 0 !important;
}


/* ------------------------------------------------------------------ */
/* Wallet price spacing (modern Toman + / − signs)                     */
/* Applies to dashboard AND standalone transactions shortcode page     */
/* ------------------------------------------------------------------ */

.wallet-dashboard .woocommerce-Price-amount,
.wallet-dashboard .woocommerce-Price-amount.amount,
.wallet-transactions .woocommerce-Price-amount,
.wallet-transactions .woocommerce-Price-amount.amount,
.wallet-transactions-section .woocommerce-Price-amount,
.wallet-transactions-section .woocommerce-Price-amount.amount {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: nowrap;
	max-width: 100%;
	vertical-align: middle;
}

.wallet-dashboard .woocommerce-Price-amount bdi,
.wallet-transactions .woocommerce-Price-amount bdi,
.wallet-transactions-section .woocommerce-Price-amount bdi {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	gap: 10px !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
	direction: ltr !important;
	unicode-bidi: isolate;
	white-space: nowrap !important;
	line-height: 1.2;
}

.wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
.wallet-transactions .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
.wallet-transactions-section .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding-inline-end: 2px !important;
	order: -1;
	line-height: 1 !important;
	position: static !important;
	float: none !important;
}

.wallet-dashboard .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg,
.wallet-transactions .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg,
.wallet-transactions-section .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	display: block !important;
	width: 1.05em !important;
	height: 1em !important;
	max-width: 22px;
	max-height: 20px;
	flex-shrink: 0;
	margin: 0 !important;
	overflow: visible;
}

.wallet-dashboard .balance-amount .woocommerce-Price-amount bdi {
	gap: 12px !important;
	font-size: inherit;
}

.wallet-dashboard .balance-amount .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	width: 1.05em !important;
	height: 1em !important;
	max-width: 28px;
	max-height: 26px;
}

.wallet-dashboard .wallet-stat-card .stat-value .woocommerce-Price-amount bdi {
	gap: 10px !important;
}

.wallet-dashboard .wallet-stat-card .stat-value .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	width: 1.05em !important;
	height: 1em !important;
	max-width: 22px;
	max-height: 20px;
}

.wallet-dashboard .wallet-quick-amounts .woocommerce-Price-amount bdi {
	gap: 8px !important;
}

.wallet-dashboard .wallet-quick-amounts .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	width: 15px !important;
	height: 14px !important;
	max-width: 16px;
	max-height: 15px;
}

.wallet-dashboard .wallet-field-hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}

.wallet-dashboard .wallet-field-hint .woocommerce-Price-amount bdi {
	gap: 8px !important;
}

.wallet-dashboard .wallet-field-hint .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	width: 14px !important;
	height: 13px !important;
}

.wallet-amount-signed {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	white-space: nowrap;
	direction: ltr;
	unicode-bidi: isolate;
}

.wallet-amount-sign {
	flex-shrink: 0;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	padding: 0 1px 0 0;
}

.wallet-dashboard .transaction-amount-credit .wallet-amount-sign,
.wallet-transactions .transaction-amount-credit .wallet-amount-sign,
.wallet-transactions-section .transaction-amount-credit .wallet-amount-sign {
	color: #28a745;
}

.wallet-dashboard .transaction-amount-debit .wallet-amount-sign,
.wallet-transactions .transaction-amount-debit .wallet-amount-sign,
.wallet-transactions-section .transaction-amount-debit .wallet-amount-sign {
	color: #dc3545;
}

.wallet-dashboard .wallet-transactions-table .woocommerce-Price-amount bdi,
.wallet-transactions .wallet-transactions-table .woocommerce-Price-amount bdi,
.wallet-transactions-section .wallet-transactions-table .woocommerce-Price-amount bdi {
	gap: 8px !important;
}

.wallet-dashboard .wallet-transactions-table .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg,
.wallet-transactions .wallet-transactions-table .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg,
.wallet-transactions-section .wallet-transactions-table .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol svg {
	width: 17px !important;
	height: 16px !important;
	max-width: 18px;
	max-height: 17px;
}

/* Dark / dark-two: modern toman on standalone transactions page too */
.dashboard-kaveh-dark .wallet-transactions .woocommerce-Price-amount bdi,
.dashboard-kaveh-dark-two .wallet-transactions .woocommerce-Price-amount bdi,
.dashboard-kaveh-dark .wallet-transactions-section .woocommerce-Price-amount bdi,
.dashboard-kaveh-dark-two .wallet-transactions-section .woocommerce-Price-amount bdi,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-transactions .woocommerce-Price-amount bdi,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-transactions .woocommerce-Price-amount bdi {
	display: inline-flex !important;
	align-items: center;
	gap: 10px !important;
	flex-wrap: nowrap;
}

.dashboard-kaveh-dark .wallet-transactions .woocommerce-Price-currencySymbol,
.dashboard-kaveh-dark-two .wallet-transactions .woocommerce-Price-currencySymbol,
.dashboard-kaveh-dark .wallet-transactions-section .woocommerce-Price-currencySymbol,
.dashboard-kaveh-dark-two .wallet-transactions-section .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-transactions .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-transactions .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
	color: inherit !important;
	margin: 0 !important;
}

.dashboard-kaveh-dark .wallet-transactions .woocommerce-Price-currencySymbol svg,
.dashboard-kaveh-dark-two .wallet-transactions .woocommerce-Price-currencySymbol svg,
.dashboard-kaveh-dark .wallet-transactions-section .woocommerce-Price-currencySymbol svg,
.dashboard-kaveh-dark-two .wallet-transactions-section .woocommerce-Price-currencySymbol svg,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg {
	display: block !important;
	width: 1.05em !important;
	height: 1em !important;
	max-width: 18px;
	max-height: 16px;
	flex-shrink: 0;
	margin: 0 !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	color: inherit !important;
}

.dashboard-kaveh-dark .wallet-transactions .woocommerce-Price-currencySymbol svg path,
.dashboard-kaveh-dark-two .wallet-transactions .woocommerce-Price-currencySymbol svg path,
.dashboard-kaveh-dark .wallet-transactions-section .woocommerce-Price-currencySymbol svg path,
.dashboard-kaveh-dark-two .wallet-transactions-section .woocommerce-Price-currencySymbol svg path,
.dashboard-kaveh-dark .wallet-transactions .woocommerce-Price-currencySymbol svg *,
.dashboard-kaveh-dark-two .wallet-transactions .woocommerce-Price-currencySymbol svg *,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg path,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg path,
body.dashboard-kaveh-dark.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg *,
body.dashboard-kaveh-dark-two.kaveh-modern-toman .wallet-transactions .woocommerce-Price-currencySymbol svg * {
	fill: currentColor !important;
	stroke: currentColor !important;
	color: inherit !important;
}

.dashboard-kaveh-dark .wallet-transactions .transaction-amount-credit .wallet-amount-sign,
.dashboard-kaveh-dark-two .wallet-transactions .transaction-amount-credit .wallet-amount-sign {
	color: #3ddc84 !important;
}

.dashboard-kaveh-dark .wallet-transactions .transaction-amount-debit .wallet-amount-sign,
.dashboard-kaveh-dark-two .wallet-transactions .transaction-amount-debit .wallet-amount-sign {
	color: #ff6b7a !important;
}

.wallet-add-funds input.form-control#wallet-amount {
	text-align: right;
	direction: ltr;
	unicode-bidi: plaintext;
}

/* Full transactions view */
.wallet-transactions-toolbar {
	margin-bottom: 16px;
}

.wallet-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #3370db;
	text-decoration: none;
	line-height: 1.4;
}

.wallet-back-link:hover {
	color: #2154b5;
	text-decoration: none;
}

.wallet-back-link i {
	font-size: 14px;
	line-height: 1;
}

.wallet-dashboard--transactions .wallet-transactions-section--full {
	margin: 0;
}
