/* ============================================
   WALLET PAGE - Cerkles Engine v1
   ============================================ */
.cs_wallet_page { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.cs_wallet_container { padding: 8px 0 40px; }
.cs_wallet_content { width: 100%; }

/* Header */
.cs_wallet_head { margin: 16px 0 24px; }
.cs_wallet_title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--main-text-color, #fff);
	margin: 0 0 6px;
}
.cs_wallet_title svg { color: var(--main-color); }
.cs_wallet_sub {
	font-size: 13px;
	color: var(--secondary-text-color, #888);
	margin: 0;
	font-family: 'Space Grotesk', sans-serif;
}

/* ============================================
   WALLET CARD - Premium gradient card
   ============================================ */
.cs_wallet_card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	padding: 36px 32px;
	background: linear-gradient(135deg, var(--main-color) 0%, #ff6b00 60%, #ff5500 100%);
	box-shadow: 0 12px 40px rgba(255,107,0,0.25);
}
.cs_wallet_card_bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18) 0%, transparent 45%),
		radial-gradient(circle at 15% 85%, rgba(255,255,255,0.1) 0%, transparent 50%);
	pointer-events: none;
}
.cs_wallet_card_pattern {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.08);
	pointer-events: none;
}
.cs_wallet_card_pattern:after {
	content: "";
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.06);
}
.cs_wallet_card_content { position: relative; z-index: 1; }
.cs_wallet_card_top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 24px;
}
.cs_wallet_card_label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.95);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-family: 'Space Grotesk', sans-serif;
}
.cs_wallet_card_brand {
	color: rgba(255,255,255,0.5);
	transition: color 0.2s ease;
}
.cs_wallet_card:hover .cs_wallet_card_brand { color: rgba(255,255,255,0.8); }
.cs_wallet_card_balance {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 16px;
}
.cs_wallet_card_currency {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
}
.cs_wallet_card_amount {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 52px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
	word-break: break-all;
	letter-spacing: -1px;
}
.cs_wallet_card_meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
	font-family: 'Space Grotesk', sans-serif;
}
.cs_wallet_card_user { font-weight: 500; }
.cs_wallet_card_dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
}
.cs_wallet_card_date { opacity: 0.8; }

/* ============================================
   QUICK TOP UP - Amount chips
   ============================================ */
.cs_wallet_quick {
	margin: 24px 0;
}
.cs_wallet_quick_title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--secondary-text-color, #888);
	margin: 0 0 12px;
}
.cs_wallet_quick_grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}
.cs_wallet_quick_btn {
	padding: 14px 8px;
	border-radius: 12px;
	background: var(--card-bg, rgba(255,255,255,0.04));
	border: 1px solid var(--border-color, rgba(255,255,255,0.08));
	color: var(--main-text-color, #fff);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.cs_wallet_quick_btn:hover {
	border-color: var(--main-color);
	background: rgba(255,149,0,0.08);
	color: var(--main-color);
	transform: translateY(-2px);
}
.cs_wallet_quick_btn:active { transform: translateY(0); }

/* ============================================
   TOP UP BUTTON
   ============================================ */
.cs_wallet_actions {
	display: flex;
	justify-content: center;
	padding: 8px 0 0;
}
.cs_wallet_topup_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 36px;
	border-radius: 28px;
	background: var(--main-color);
	color: #fff;
	border: none;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 4px 16px rgba(255,149,0,0.3);
}
.cs_wallet_topup_btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255,149,0,0.4);
}
.cs_wallet_topup_btn:active { transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
	.cs_wallet_card { padding: 24px 20px; }
	.cs_wallet_card_amount { font-size: 38px; }
	.cs_wallet_card_currency { font-size: 22px; }
	.cs_wallet_quick_grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
	.cs_wallet_quick_grid { grid-template-columns: repeat(2, 1fr); }
	.cs_wallet_topup_btn { width: 100%; justify-content: center; }
}
