/* =========================================================================
   NAYUOMI MY WALLET - MODERN JAPANESE CAFE DESIGN SYSTEM
   ========================================================================= */

:root {
    --wallet-primary-color: #15370D !important;
    --wallet-text-color: #15370D !important;
    --wallet-bg-color: #CEFFED !important;
    --wallet-border-color: rgba(21, 55, 13, 0.08) !important;
}

/* Page Container */
.cas-wallet-page,
.woo-wallet-my-wallet-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px 14px 40px;
    box-sizing: border-box;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #15370D;
}

/* Topbar / Header */
.cas-wallet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cas-wallet-header-info {
    flex: 1;
}

.cas-wallet-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.cas-wallet-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    color: #e11d48;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.cas-wallet-back-btn:hover {
    background: #fef2f2;
    transform: translateX(-2px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.15);
}

.cas-wallet-back-btn svg {
    stroke: #e11d48;
    display: block;
}

.cas-wallet-page-title,
.woo-wallet-my-wallet-container .woo-wallet-header h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    margin: 0 !important;
    letter-spacing: -0.4px;
    font-family: "Outfit", sans-serif !important;
}

.cas-wallet-page-subtitle,
.woo-wallet-my-wallet-container .woo-wallet-header p {
    font-size: 13.5px !important;
    color: #4e6347 !important;
    margin: 0 !important;
    font-weight: 500;
}

.cas-wallet-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid rgba(21, 55, 13, 0.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #15370D;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cas-wallet-back-link:hover {
    background: #f0fdf4;
    border-color: #15370D;
    color: #15370D;
}

/* =========================================================================
   Digital Wallet Hero Card
   ========================================================================= */
.cas-wallet-card-wrapper {
    margin-bottom: 22px;
}

.cas-wallet-card {
    position: relative;
    background: linear-gradient(135deg, #0e2b0b 0%, #15370D 50%, #1f5413 100%);
    border-radius: 22px;
    padding: 24px 22px 20px;
    color: #ffffff;
    box-shadow: 0 16px 36px -6px rgba(21, 55, 13, 0.32), 0 4px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cas-wallet-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 174, 82, 0.28) 0%, rgba(244, 174, 82, 0) 70%);
    pointer-events: none;
}

.cas-wallet-card-overlay {
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 255, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cas-wallet-card-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cas-wallet-card-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cas-wallet-card-star {
    color: #F4AE52;
    font-size: 15px;
    line-height: 1;
}

.cas-wallet-card-brand-txt {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: #F4AE52;
    text-transform: uppercase;
}

.cas-wallet-card-chip {
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.cas-wallet-card-body {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
}

.cas-wallet-card-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.cas-wallet-card-val {
    font-size: 38px;
    font-weight: 800;
    font-family: "Outfit", sans-serif;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.cas-wallet-card-val .woocommerce-Price-amount {
    color: #ffffff !important;
}

.cas-wallet-card-val .woocommerce-Price-currencySymbol {
    color: #F4AE52 !important;
    margin-right: 2px;
    font-weight: 700;
}

/* Card Actions / Navigation Pills */
.cas-wallet-card-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cas-wallet-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cas-wallet-tab-pill:hover,
.cas-wallet-tab-pill.is-active {
    background: #F4AE52;
    border-color: #F4AE52;
    color: #15370D;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(244, 174, 82, 0.4);
    transform: translateY(-1px);
}

.cas-wallet-tab-pill svg {
    flex-shrink: 0;
}

/* =========================================================================
   Stat Cards (Overview Grid)
   ========================================================================= */
.cas-wallet-stats-grid,
.woo-wallet-my-wallet-container .woo-wallet-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin: 0 0 24px !important;
}

.cas-wallet-stat-card,
.woo-wallet-my-wallet-container .woo-wallet-stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(21, 55, 13, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 14px rgba(21, 55, 13, 0.04) !important;
    box-sizing: border-box;
}

.cas-wallet-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cas-wallet-stat-icon--success {
    background: #ecfdf5;
    color: #059669;
}

.cas-wallet-stat-icon--danger {
    background: #fef2f2;
    color: #dc2626;
}

.cas-wallet-stat-icon--neutral {
    background: #f0fdf4;
    color: #15370D;
}

.cas-wallet-stat-content {
    flex: 1;
    min-width: 0;
}

.cas-wallet-stat-value,
.woo-wallet-my-wallet-container .woo-wallet-stat-card__value {
    display: block !important;
    font-size: 17.5px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    font-family: "Outfit", sans-serif !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cas-wallet-stat-label,
.woo-wallet-my-wallet-container .woo-wallet-stat-card__label {
    display: block !important;
    font-size: 12px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    margin-top: 3px !important;
}

/* =========================================================================
   Recent Transactions List
   ========================================================================= */
.cas-wallet-transactions-section {
    margin-top: 10px;
}

.cas-wallet-txn-head,
.woo-wallet-my-wallet-container .ww-txn-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
}

.cas-wallet-txn-title,
.woo-wallet-my-wallet-container .ww-txn-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    font-family: "Outfit", sans-serif !important;
    margin: 0 !important;
    letter-spacing: -0.3px;
}

.cas-wallet-txn-meta,
.woo-wallet-my-wallet-container .ww-txn-meta {
    background: rgba(21, 55, 13, 0.08) !important;
    color: #15370D !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 3px 11px !important;
    border-radius: 20px !important;
}

.cas-wallet-txn-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cas-wallet-txn-item {
    background: #ffffff;
    border: 1px solid rgba(21, 55, 13, 0.07);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cas-wallet-txn-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(21, 55, 13, 0.06);
}

.cas-wallet-txn-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cas-wallet-txn-item-icon.is-credit {
    background: #ecfdf5;
    color: #059669;
}

.cas-wallet-txn-item-icon.is-debit {
    background: #fef2f2;
    color: #dc2626;
}

.cas-wallet-txn-item-main {
    flex: 1;
    min-width: 0;
}

.cas-wallet-txn-item-title {
    font-size: 14px;
    font-weight: 400;
    color: #15370D;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cas-wallet-txn-item-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}

.cas-wallet-txn-item-sep {
    color: #d1d5db;
    font-size: 10px;
}

.cas-wallet-txn-badge,
.woo-wallet-my-wallet-container .ww-txn-badge {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    display: inline-block !important;
}

.cas-wallet-txn-badge--danger,
.woo-wallet-my-wallet-container .ww-txn-badge--danger {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.cas-wallet-txn-badge--success,
.woo-wallet-my-wallet-container .ww-txn-badge--success {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.cas-wallet-txn-badge--brand,
.woo-wallet-my-wallet-container .ww-txn-badge--brand {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

.cas-wallet-txn-badge--info,
.woo-wallet-my-wallet-container .ww-txn-badge--info {
    background: #e0e7ff !important;
    color: #4338ca !important;
}

.cas-wallet-txn-badge--neutral,
.woo-wallet-my-wallet-container .ww-txn-badge--neutral {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

.cas-wallet-txn-item-amount,
.cas-wallet-txn-item-amount .woocommerce-Price-amount,
.cas-wallet-txn-item-amount .woocommerce-Price-currencySymbol,
.cas-wallet-txn-item-amount bdi,
.woo-wallet-my-wallet-container .ww-txn-cell--amount {
    text-align: right !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.cas-wallet-txn-item-amount.credit,
.woo-wallet-my-wallet-container .ww-txn-cell--amount.credit {
    color: #059669 !important;
}

.cas-wallet-txn-item-amount.debit,
.woo-wallet-my-wallet-container .ww-txn-cell--amount.debit {
    color: #dc2626 !important;
}

.cas-wallet-txn-sign {
    font-size: 15px !important;
    font-weight: 400 !important;
    margin-right: 2px;
}

/* Empty State */
.cas-wallet-empty-box {
    background: #ffffff;
    border: 1px dashed rgba(21, 55, 13, 0.15);
    border-radius: 18px;
    padding: 38px 20px;
    text-align: center;
    color: #4e6347;
}

.cas-wallet-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #15370D;
    margin-bottom: 12px;
}

.cas-wallet-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #15370D;
    margin: 0 0 4px;
}

.cas-wallet-empty-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* =========================================================================
   Forms (Top-Up & Transfer Cards)
   ========================================================================= */
.cas-wallet-form-card,
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper {
    background: #ffffff !important;
    border: 1px solid rgba(21, 55, 13, 0.08) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 6px 20px rgba(21, 55, 13, 0.05) !important;
    box-sizing: border-box;
    margin-top: 14px;
}

.cas-wallet-form-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(21, 55, 13, 0.07);
}

.cas-wallet-form-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #15370D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cas-wallet-form-titles {
    flex: 1;
}

.cas-wallet-form-title,
.woo-wallet-my-wallet-container .woo-wallet-section-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    margin: 0 0 3px !important;
    font-family: "Outfit", sans-serif !important;
}

.cas-wallet-form-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.cas-wallet-form-group {
    margin-bottom: 16px;
}

.cas-wallet-input-label,
.woo-wallet-my-wallet-container label {
    display: block;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #15370D !important;
    margin-bottom: 8px !important;
}

.cas-wallet-amount-hint {
    font-weight: 400;
    color: #6b7280;
    font-size: 12px;
}

.cas-wallet-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.cas-wallet-input-container:focus-within {
    border-color: #15370D;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 55, 13, 0.12);
}

.cas-wallet-input-prefix {
    padding-left: 16px;
    font-size: 22px;
    font-weight: 800;
    color: #15370D;
    font-family: "Outfit", sans-serif;
}

.cas-wallet-number-input,
.woo-wallet-my-wallet-container input[type="number"].woo-wallet-balance-to-add {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 14px 14px 14px 8px !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    font-family: "Outfit", sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Preset Chips */
.cas-wallet-preset-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 20px;
}

.cas-wallet-chip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15370D;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
    cursor: pointer;
    transition: all 0.18s ease;
}

.cas-wallet-chip:hover,
.cas-wallet-chip.is-active {
    background: #15370D;
    border-color: #15370D;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(21, 55, 13, 0.2);
}

/* Submit Buttons */
.cas-wallet-btn-primary,
.woo-wallet-my-wallet-container .woo-add-to-wallet,
.woo-wallet-my-wallet-container input[type="submit"] {
    width: 100% !important;
    background: linear-gradient(135deg, #15370D 0%, #1e5214 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    font-family: "Outfit", sans-serif !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 18px -4px rgba(21, 55, 13, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.cas-wallet-btn-primary:hover,
.woo-wallet-my-wallet-container .woo-add-to-wallet:hover,
.woo-wallet-my-wallet-container input[type="submit"]:hover {
    background: linear-gradient(135deg, #0d2807 0%, #15370D 100%) !important;
    box-shadow: 0 10px 22px -3px rgba(21, 55, 13, 0.45) !important;
    transform: translateY(-1px) !important;
}

.cas-wallet-select,
.woo-wallet-my-wallet-container .select2-container .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
}

.cas-wallet-textarea,
.woo-wallet-my-wallet-container textarea {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    color: #15370D !important;
    font-family: inherit !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.cas-wallet-textarea:focus,
.woo-wallet-my-wallet-container textarea:focus {
    border-color: #15370D !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(21, 55, 13, 0.12) !important;
    outline: none !important;
}

/* =========================================================================
   Statement Page Modernization
   ========================================================================= */
.woo-wallet-statement {
    background: #ffffff !important;
    border: 1px solid rgba(21, 55, 13, 0.08) !important;
    border-radius: 18px !important;
    padding: 20px 16px !important;
    box-shadow: 0 4px 14px rgba(21, 55, 13, 0.04) !important;
    margin-top: 14px;
}

.woo-wallet-my-wallet-container .ww-stmt-masthead {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-identity {
    width: 100% !important;
    text-align: center !important;
}

.woo-wallet-my-wallet-container .ww-stmt-identity .ww-stmt-title {
    display: none !important;
}

.woo-wallet-my-wallet-container .ww-stmt-period {
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin: 0 0 12px !important;
    width: 100% !important;
}

.woo-wallet-my-wallet-container .ww-stmt-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-actions .ww-stmt-ghost {
    flex: 1 1 50% !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15370D !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 9px 14px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.15s ease !important;
}

.woo-wallet-my-wallet-container .ww-stmt-actions .ww-stmt-ghost:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    transform: translateY(-1px) !important;
}

/* Date Range Filter Box */
.woo-wallet-my-wallet-container .ww-stmt-filter,
.woo-wallet-statement .ww-stmt-filter {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid rgba(21, 55, 13, 0.07) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    width: 100% !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field,
.woo-wallet-statement .ww-stmt-field {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    flex: unset !important;
    grid-column: 1 !important;
    width: 100% !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field:first-of-type,
.woo-wallet-statement .ww-stmt-field:first-of-type {
    grid-row: 1 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field:last-of-type,
.woo-wallet-statement .ww-stmt-field:last-of-type {
    grid-row: 2 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field label,
.woo-wallet-statement .ww-stmt-field label {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #15370D !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    width: 44px !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
    text-align: left !important;
    line-height: 1 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field input[type="date"],
.woo-wallet-statement .ww-stmt-field input[type="date"] {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #15370D !important;
    font-family: inherit !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 1 !important;
    max-width: 175px !important;
    height: 38px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}

.woo-wallet-my-wallet-container .ww-stmt-field input[type="date"]:focus,
.woo-wallet-statement .ww-stmt-field input[type="date"]:focus {
    border-color: #15370D !important;
    box-shadow: 0 0 0 3px rgba(21, 55, 13, 0.12) !important;
    outline: none !important;
}

.woo-wallet-my-wallet-container .ww-stmt-apply,
.woo-wallet-statement .ww-stmt-apply {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: end !important;
    background: #15370D !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(21, 55, 13, 0.22) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    height: fit-content !important;
    width: auto !important;
    flex: unset !important;
    margin: 0 !important;
}

.woo-wallet-my-wallet-container .ww-stmt-apply:hover,
.woo-wallet-statement .ww-stmt-apply:hover {
    background: #0d2807 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(21, 55, 13, 0.35) !important;
}

/* Statement Equation Summary */
.woo-wallet-my-wallet-container .ww-stmt-equation {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 14px 0 0 !important;
    list-style: none !important;
}

.woo-wallet-my-wallet-container .ww-stmt-op {
    display: none !important;
}

.woo-wallet-my-wallet-container .ww-stmt-term {
    background: transparent !important;
    border: none !important;
    padding: 4px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.woo-wallet-my-wallet-container .ww-stmt-term-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
}

.woo-wallet-my-wallet-container .ww-stmt-term-value {
    font-size: 18px !important;
    font-weight: 800 !important;
    font-family: "Outfit", sans-serif !important;
    color: #15370D !important;
}

/* =========================================================================
   Fallback Overrides for Default Plugin Templates
   ========================================================================= */
.woo-wallet-my-wallet-container .woo-wallet-top-section {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px !important;
}

.woo-wallet-my-wallet-container .woo-wallet-balance-card {
    background: linear-gradient(135deg, #0e2b0b 0%, #15370D 50%, #1f5413 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 36px -6px rgba(21, 55, 13, 0.32) !important;
    padding: 30px 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.woo-wallet-my-wallet-container .woo-wallet-balance-card h3 {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

.woo-wallet-my-wallet-container .woo-wallet-balance-card .woo-wallet-price {
    font-size: 38px !important;
    font-weight: 800 !important;
    font-family: "Outfit", sans-serif !important;
    color: #ffffff !important;
}

.woo-wallet-my-wallet-container .woo-wallet-nav-tabs {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex !important;
    gap: 8px !important;
    margin-top: 14px !important;
}

.woo-wallet-my-wallet-container .woo-wallet-nav-tab {
    background: #ffffff !important;
    border: 1px solid rgba(21, 55, 13, 0.1) !important;
    border-radius: 20px !important;
    color: #15370D !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
}

.woo-wallet-my-wallet-container .woo-wallet-nav-tab.active {
    background: #F4AE52 !important;
    border-color: #F4AE52 !important;
    color: #15370D !important;
}

/* Hide raw table layout on mobile in default markup */
@media (max-width: 600px) {
    .cas-wallet-card-val {
        font-size: 32px;
    }
    .cas-wallet-stats-grid {
        gap: 10px !important;
    }
    .cas-wallet-stat-card {
        padding: 14px 10px !important;
    }
    .cas-wallet-stat-value {
        font-size: 15.5px !important;
    }
}
