.ww-card #cw-cash-trigger {
	    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 15px;
    margin-bottom: -20px;
    background: #fff;
    opacity: 0.8;
    color: #452121;
    display: inline-block;
}


.ww-card .cw-cash-i {
	
	vertical-align: top;
	margin-top: 2px;
	margin-left: 5px;
	
		background: rgb(205 190 190 / 48%);
}

.cw-action-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.cw-btn-withdraw,
.cw-btn-convert {
    flex: 1;
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px !important;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .18s cubic-bezier(.34,1.4,.64,1), background .18s, box-shadow .18s;
}

/* shine sweep */
.cw-btn-withdraw::after,
.cw-btn-convert::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .5s ease;
    pointer-events: none;
}
.cw-btn-withdraw:hover::after,
.cw-btn-convert:hover::after  { transform: translateX(120%); }
.cw-btn-withdraw:hover,
.cw-btn-convert:hover         { transform: translateY(-2px); }
.cw-btn-withdraw:active,
.cw-btn-convert:active        { transform: translateY(0) scale(.98); }
.cw-btn-withdraw:disabled     { opacity: .35; cursor: not-allowed; transform: none; }

/* Withdraw — slightly brighter glass */
.cw-btn-withdraw {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12),
                inset 0 1px 0 rgba(255,255,255,.4),
                inset 0 -1px 0 rgba(0,0,0,.08);
}
.cw-btn-withdraw:hover, .cw-btn-withdraw:focus {
    background: rgba(255,255,255,.26);
    border-color: rgba(255,255,255,.5) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18),
                inset 0 1px 0 rgba(255,255,255,.5),
                inset 0 -1px 0 rgba(0,0,0,.06);
}
.cw-btn-withdraw .cw-btn-icon  { background: rgba(255,255,255,.15); }

/* Convert — darker glass */
.cw-btn-convert {
    background: rgb(135 96 96 / 35%);
    border: 1.5px solid rgba(255,255,255,.2) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.1),
                inset 0 1px 0 rgba(255,255,255,.15);
}
.cw-btn-convert:hover, .cw-btn-convert:focus {
    background: rgba(255,255,255,.15);
    box-shadow: 0 8px 24px rgba(0,0,0,.15),
                inset 0 1px 0 rgba(255,255,255,.2);
}
.cw-btn-convert .cw-btn-icon  { background: rgba(255,255,255,.1); }

/* Icon */
.cw-btn-icon {
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    color: #fff;
}

/* Text */
.cw-btn-text   { display: flex; flex-direction: column; gap: 2px; }
.cw-btn-label  { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; display: flex; align-items: center; gap: 6px; }
.cw-btn-sub    { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); line-height: 1; }

/* Bonus badge */
.cw-btn-badge {
    font-size: 10px; font-weight: 800; letter-spacing: .03em;
    background: rgba(255,220,0,.25);
    color: #ffe566;
    padding: 2px 7px; border-radius: 99px;
    border: 1px solid rgba(255,220,0,.35);
}

@media (max-width: 360px) {
    .cw-action-buttons { flex-direction: column; }
    .cw-btn-withdraw, .cw-btn-convert { min-width: 0; }
}


.cw-tabs {
    display: flex;
    gap: 4px;
    padding: 16px 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 0;
}
.cw-tab, .cw-tab:focus, .cw-tab:hover {
    background: none;
    border: none;
    padding: 8px 16px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
    border-radius: 0;
}
.cw-tab:hover { color: #333; }
.cw-tab.active {
    color: #1a5c3a;
    border-bottom-color: #1a5c3a;
}
.cw-tab-panel { display: none; }
.cw-tab-panel.active { display: block; }
.cw-plus { color: #065f46; }
.cw-minus { color: #991b1b; }



/* ── Balance card ── */
.ww-card {
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
	

.cw-balance-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin: 0 0 6px; }
.cw-balance-amount { 
	
	color: #fff !important;
    display: block;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -.03em;
    line-height: 1 !important;
    -webkit-text-fill-color: #fff;
	}

.cw-open-popup-btn, .cw-open-convert-popup-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #0f3d26;
    font-size: 14px; font-weight: 600;
    padding: 7px 22px; border-radius: 99px;	
    border: none; cursor: pointer;
    transition: opacity .15s;
}
.cw-open-popup-btn:hover, .cw-open-convert-popup-btn:hover { opacity: .88; background-color: #ffffff !important; color: #000000;}
.cw-open-popup-btn:disabled, .cw-open-convert-popup-btn:disabled, .cw-open-popup-btn:focus, .cw-open-convert-popup-btn:focus { opacity: .4; cursor: not-allowed; background-color: #ffffff !important; color: #000000;}


	
/* ── History table ── */
.cw-history { margin-top: 0px; padding: 20px; }
.cw-history h4 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.cw-hist-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cw-hist-table thead th {
    background: #f5f5f5; padding: 9px 12px; text-align: left;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .05em; color: #555; border-bottom: 1px solid #e5e5e5; padding: 10px !important;
}
.cw-hist-table tbody td { padding: 9px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; padding-left: 10px !important;}
.cw-hist-table tbody tr:last-child td { border-bottom: none; }
.cw-status { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cw-status-pending  { background: #FFF3CD; color: #856404; }
.cw-status-approved { background: #D1FAE5; color: #065F46; }
.cw-status-paid     { background: #DBEAFE; color: #1E40AF; }
.cw-status-rejected { background: #FEE2E2; color: #991B1B; }
.cw-hist-empty { color: #888; font-size: 14px; text-align: center; padding: 20px 0; }

/* ── Overlay ── */
.cw-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.cw-overlay.open { opacity: 1; pointer-events: all; }

/* ── Modal ── */
.cw-modal-wrap {
    position: fixed; inset: 0;
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; pointer-events: none;
}
	
	.cw-overlay.open ~ .cw-modal-wrap {
		display: flex !important;
	}
	
.cw-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    width: 100%; max-width: 440px;
    transform: translateY(18px) scale(.97);
    opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.3,.64,1), opacity .2s;
    pointer-events: all;
    overflow: hidden;
}
.cw-overlay.open ~ .cw-modal-wrap .cw-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.cw-modal-head {
    background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--e-global-color-primary, #1a5c3a) 85%, #fff 15%),
    var(--e-global-color-primary, #1a5c3a),
    color-mix(in srgb, var(--e-global-color-primary, #1a5c3a) 85%, #000 15%)
);
    padding: 22px 24px 18px;
    color: #fff;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.cw-modal-head h3 { 
	    margin: 0;
    font-size: 18px;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0px !important;
	}
.cw-modal-head p  { margin: 4px 0 0; font-size: 13px; opacity: .8; }
.cw-modal-x {
	padding: 0px !important;
    background: rgba(255,255,255,.2); border: none; cursor: pointer;
    border-radius: 50%; width: 30px; height: 30px;
    color: #fff; font-size: 16px; line-height: 30px; text-align: center;
    flex-shrink: 0; transition: background .15s;
}
.cw-modal-x:hover, .cw-modal-x:focus { background: rgba(255,255,255,.35); }
.cw-modal-body { padding: 24px; }

/* Fields */
.cw-field { margin-bottom: 16px; }
.cw-field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #555; margin-bottom: 5px; }
.cw-amount-wrap { position: relative; }
.cw-amount-prefix {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 18px; font-weight: 700; color: #333; pointer-events: none;
}
.cw-amount-wrap input[type="number"] {
    width: 100%; padding: 11px 14px 11px 30px;
    font-size: 20px; font-weight: 700;
    border: 2px solid #e5e5e5; border-radius: 10px;
    box-sizing: border-box; outline: none; transition: border-color .15s;
}
.cw-amount-wrap input[type="number"]:focus { border-color: #1a5c3a; }
.cw-field-hint { font-size: 12px; color: #888; margin-top: 4px; }
.cw-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw-field input[type="text"] {
    width: 100%; padding: 10px 12px;
    font-size: 14px; border: 1.5px solid #e5e5e5; border-radius: 8px;
    box-sizing: border-box; outline: none; transition: border-color .15s;
}
.cw-field input[type="text"]:focus { border-color: #1a5c3a; }

/* Notice */
.cw-notice {
    background: #F0FDF4; border: 1px solid #BBF7D0;
    border-radius: 8px; padding: 11px 14px;
    font-size: 12px; color: #166534;
    margin-bottom: 18px;
}
	
	.cw-notice strong, #cw_bonus_percent {
		color: #10b981 !important;
	}

/* Confirm step */
.cw-step.hidden { display: none; }
.cw-confirm-amount { font-size: 30px; font-weight: 700; color: #10b981; text-align: center; margin: 0 0 16px; }
.cw-confirm-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; background: #f9f9f9; border-radius: 10px; overflow: hidden; }
.cw-confirm-table td { padding: 8px 12px; border-bottom: 1px solid #eee; }
.cw-confirm-table tr:last-child td { border-bottom: none; }
.cw-confirm-table td:first-child { color: #666; width: 130px; padding-left: 10px !important; }
.cw-confirm-table td:last-child { font-weight: 600; }
.cw-check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 13px; color: #555; margin-top: 15px !important;}
.cw-check-row input { margin-top: 2px; accent-color: #1a5c3a; flex-shrink: 0; }

/* Buttons */
.cw-submit-btn {
 width: 100% !important;
    padding: 12px !important;
    background: linear-gradient(145deg, 
color-mix(in srgb, var(--e-global-color-primary, #1a5c3a) 85%, #fff 15%), var(--e-global-color-primary, #1a5c3a), 
color-mix(in srgb, var(--e-global-color-primary, #1a5c3a) 85%, #000 15%));
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: opacity .15s !important;
}
.cw-submit-btn:hover { opacity: .9; }
.cw-submit-btn:disabled { opacity: .4; cursor: not-allowed; }
.cw-back-btn, .cw-back-btn:hover, .cw-back-btn:focus {    
	background: none !important;
    border: none !important;
    color: #666 !important;
    font-size: 13px !important;
    text-decoration: underline;
    width: max-content !important;
    margin: 0 auto !important;
    display: block !important;
    margin-top: 8px !important;
}
.cw-error { color: #c00; font-size: 13px; margin-top: 8px; text-align: center; display: none; }

	
@media (max-width: 600px) {
	.cw-hist-table td {
		text-align: center;
		font-size: 12px;
	}
    .cw-two-col { grid-template-columns: 1fr; }
}
	
	
/* Overlay */
#cw_convert_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    z-index: 99998;
}

/* Wrapper */
#cw_convert_modal_wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}

/* Modal box */
#cw_convert_modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    width: 100%;
    max-width: 420px;
    transform: translateY(18px) scale(.97);
    opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.3,.64,1), opacity .2s;
    pointer-events: all;
    overflow: hidden;
}

/* Header */

.cw-convert-head-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cw-convert-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.cw-convert-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    opacity: .85;
}



/* Body */
.cw-convert-body {
    padding: 24px;
}

/* Step 1 notice */
.cw-convert-notice {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 10px;
}


.cw-convert-input-wrap {
    position: relative;
}

.cw-convert-currency {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

#cw_convert_amount {
    width: 100%;
    padding: 14px 14px 14px 34px;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    outline: none;
}

/* Preview box */
#cw_convert_preview {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.cw-preview-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
	
	.cw_recieve_disc {
		display: block; 
		text-align: center;
	}

.cw-preview-divider {
    border-top: 2px solid #e5e5e5;
    margin: 10px 0;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}


/* Error */
#cw_convert_error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
    display: none;
}

#cw_confirm_bonus, .cw_bonus_row *, .cw_bonus_percent, #confirm_bonus_parent *, .cwi-hero-amount {
    color: #10b981 !important;
	-webkit-text-fill-color: #10b981 !important;
}
	


#cw_confirm_total2 {
    font-size: 18px;
    font-weight: 800;
    color: #1a5c3a;
}


/* Back button */