/* Woo Wallet & Real-Time Billing — front-end styles */
.wwb-wallet, .wwb-demo { max-width: 760px; }
.wwb-card {
	background: #fff; border: 1px solid #ece6f5; border-radius: 14px;
	padding: 20px 22px; margin: 0 0 18px; box-shadow: 0 2px 14px rgba(60,30,90,.06);
}
.wwb-card h3 { margin: 0 0 14px; font-size: 17px; color: #3a1f5c; }
.wwb-notice { color: #5b2a86; }

.wwb-balance-card {
	background: linear-gradient(135deg,#5b2a86,#3a1f5c); color: #fff; border: none;
}
.wwb-balance-label { font-size: 13px; opacity: .85; letter-spacing: .04em; text-transform: uppercase; }
.wwb-balance-amount { font-size: 40px; font-weight: 800; margin-top: 4px; line-height: 1.1; }

.wwb-plans { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wwb-plan {
	border: 1.5px solid #5b2a86; color: #5b2a86; background: #fff;
	border-radius: 10px; padding: 12px 18px; font-size: 15px; font-weight: 700;
	cursor: pointer; transition: .15s; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2;
}
.wwb-plan:hover { background: #5b2a86; color: #fff; }
.wwb-bonus { font-size: 11px; font-weight: 600; color: #e8821e; margin-top: 2px; }
.wwb-plan:hover .wwb-bonus { color: #ffd9ad; }
.wwb-custom { display: flex; gap: 6px; align-items: center; }
.wwb-custom-amt { width: 110px; padding: 11px 10px; border: 1.5px solid #d9cfe8; border-radius: 10px; }
.wwb-custom-btn { background: #e8821e; color: #fff; border-color: #e8821e; }
.wwb-custom-btn:hover { background: #cf6f12; border-color: #cf6f12; color: #fff; }

.wwb-warn, .wwb-muted { color: #8a7da3; font-size: 13px; }
.wwb-warn { color: #b3541e; }
.wwb-toggle { display: block; font-size: 14px; color: #3a1f5c; }
.wwb-toggle small { color: #9a8fb0; font-weight: 400; }

.wwb-table { width: 100%; border-collapse: collapse; }
.wwb-table th, .wwb-table td { padding: 10px 8px; text-align: left; font-size: 14px; border-bottom: 1px solid #f0ebf7; }
.wwb-table th { color: #8a7da3; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.wwb-credit { color: #1a7d3c; font-weight: 700; }
.wwb-debit { color: #b32d2e; font-weight: 700; }
.wwb-empty { color: #aaa; text-align: center; padding: 18px; }
.wwb-receipt-link { color: #5b2a86; text-decoration: underline; font-size: 13px; }

/* compact widget */
.wwb-widget {
	display: inline-flex; align-items: center; gap: 6px; background: #f3eefb;
	color: #5b2a86; font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: 14px;
}
.wwb-w-icon { background: #5b2a86; color: #fff; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.wwb-widget-guest a { color: #5b2a86; }

/* demo session */
.wwb-seg { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.wwb-seg-btn { border: 1.5px solid #d9cfe8; background: #fff; color: #5b2a86; border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 600; }
.wwb-seg-btn.active { background: #5b2a86; color: #fff; border-color: #5b2a86; }
.wwb-demo-live { background: #faf7ff; border: 1px dashed #d9cfe8; border-radius: 12px; padding: 18px; margin-bottom: 14px; text-align: center; }
.wwb-timer { font-size: 44px; font-weight: 800; color: #3a1f5c; font-variant-numeric: tabular-nums; }
.wwb-live-row { display: flex; justify-content: center; gap: 28px; margin: 8px 0; color: #5b2a86; font-size: 15px; }
.wwb-status { margin-top: 10px; font-size: 14px; font-weight: 600; }
.wwb-status.ok { color: #1a7d3c; }
.wwb-status.warn { color: #c0392b; }
.wwb-status.ended { color: #6b6b6b; }
.wwb-btn { border: none; border-radius: 10px; padding: 12px 26px; font-size: 15px; font-weight: 700; cursor: pointer; }
.wwb-start { background: #1a7d3c; color: #fff; }
.wwb-end { background: #c0392b; color: #fff; }

/* recharge modal */
.wwb-modal { position: fixed; inset: 0; background: rgba(30,15,50,.55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; }
.wwb-modal[hidden] { display: none; }
.wwb-modal-box { background: #fff; border-radius: 16px; padding: 26px; max-width: 440px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(30,15,50,.4); }
.wwb-modal-box h3 { margin: 0 0 8px; color: #c0392b; font-size: 19px; }
.wwb-modal-close { position: absolute; top: 12px; right: 16px; border: none; background: none; font-size: 26px; line-height: 1; color: #999; cursor: pointer; }
.wwb-modal-msg { color: #4a3b63; font-size: 14px; margin-bottom: 12px; }
.wwb-modal-bal { display: flex; gap: 22px; background: #faf7ff; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #3a1f5c; margin-bottom: 12px; }
.wwb-countdown { background: #fdecea; color: #c0392b; font-weight: 700; text-align: center; padding: 8px; border-radius: 8px; margin-bottom: 12px; }
.wwb-modal-pick { font-weight: 700; color: #3a1f5c; margin: 6px 0 10px; }
