/* Roulette Game Styling for EXS.LV */

.roulette-main-container {
	margin: 15px 0 30px 0;
	font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.roulette-status-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, #1e293b, #0f172a);
	color: #f8fafc;
	padding: 12px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	flex-wrap: wrap;
	gap: 10px;
}

.roulette-balance-card {
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.chip-icon {
	font-size: 22px;
}

.chip-label {
	color: #94a3b8;
}

#user-gold-val {
	color: #f59e0b;
	font-size: 22px;
	text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.roulette-daily-note {
	font-size: 13px;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.08);
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.roulette-game-grid {
	display: flex;
	gap: 25px;
	flex-wrap: wrap;
}

/* Wheel Section */
.roulette-wheel-section {
	flex: 0 0 340px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.roulette-wheel-wrapper {
	position: relative;
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, #2a1b12 0%, #0a0604 100%);
	border-radius: 50%;
	padding: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.5), inset 0 0 15px rgba(212, 175, 55, 0.5);
	border: 4px solid #d4af37;
}

.wheel-pointer {
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	color: #ef4444;
	font-size: 26px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.8);
	pointer-events: none;
}

#roulette-wheel {
	border-radius: 50%;
	display: block;
}

.roulette-result-display {
	margin-top: 15px;
	width: 100%;
	padding: 10px 15px;
	background: #1e293b;
	color: #e2e8f0;
	border-radius: 6px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	border: 1px solid #334155;
	min-height: 44px;
	box-sizing: border-box;
}

.roulette-result-display span.badge-num {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-weight: bold;
	color: #fff;
	margin-left: 6px;
}
.badge-num.red { background: #dc2626; }
.badge-num.black { background: #1e293b; border: 1px solid #475569; }
.badge-num.green { background: #16a34a; }

/* Board Section */
.roulette-board-section {
	flex: 1;
	min-width: 320px;
}

/* Chip Selector */
.roulette-chip-selector {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	background: #1e293b;
	padding: 10px 15px;
	border-radius: 6px;
	border: 1px solid #334155;
}

.selector-title {
	color: #94a3b8;
	font-weight: 600;
	font-size: 14px;
}

.chip-options {
	display: flex;
	gap: 10px;
}

.chip-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 3px dashed #ffffff;
	background: #3b82f6;
	color: #ffffff;
	font-weight: bold;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	outline: none;
}

.chip-btn[data-value="1"] { background: #64748b; }
.chip-btn[data-value="5"] { background: #ef4444; }
.chip-btn[data-value="10"] { background: #3b82f6; }
.chip-btn[data-value="25"] { background: #10b981; }
.chip-btn[data-value="100"] { background: #f59e0b; }

.chip-btn:hover {
	transform: translateY(-2px) scale(1.08);
}

.chip-btn.active {
	border-style: solid;
	border-color: #ffd700;
	box-shadow: 0 0 12px #ffd700;
	transform: translateY(-3px) scale(1.12);
}

/* Betting Table Grid */
.roulette-table-wrapper {
	background: #0f3822;
	border: 3px solid #d4af37;
	border-radius: 8px;
	padding: 12px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.4);
	color: #ffffff;
	user-select: none;
}

.roulette-table {
	display: flex;
	gap: 4px;
}

.cell {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-weight: bold;
	position: relative;
	transition: background 0.15s ease, transform 0.1s ease;
}

.cell:hover {
	background: rgba(255, 255, 255, 0.2) !important;
}

.cell-zero {
	width: 44px;
	background: #15803d;
	font-size: 18px;
}

.numbers-grid {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.grid-row {
	display: flex;
	gap: 4px;
	height: 38px;
}

.cell-num {
	flex: 1;
	font-size: 14px;
}

.cell-num.red { background: #dc2626; }
.cell-num.black { background: #1e293b; }

.column-bets {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 44px;
}

.cell-col {
	height: 38px;
	background: #166534;
	font-size: 13px;
}

.dozens-row, .outside-row {
	display: flex;
	gap: 4px;
	margin-top: 4px;
	height: 38px;
}

.cell-doz {
	flex: 1;
	background: #166534;
	font-size: 13px;
}

.cell-out {
	flex: 1;
	background: #166534;
	font-size: 12px;
}

.cell-out.red-bg { background: #dc2626; }
.cell-out.black-bg { background: #1e293b; }

/* Placed Chip Badge on Cell */
.cell-chip-badge {
	position: absolute;
	width: 24px;
	height: 24px;
	background: #f59e0b;
	color: #000000;
	border: 2px dashed #ffffff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.6);
	pointer-events: none;
	z-index: 5;
}

/* Actions Bar */
.roulette-actions-bar {
	margin-top: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	background: #1e293b;
	padding: 12px 18px;
	border-radius: 6px;
	border: 1px solid #334155;
}

.bet-info-card {
	display: flex;
	gap: 20px;
	font-size: 15px;
	color: #cbd5e1;
}

#total-bet-val { color: #38bdf8; font-size: 18px; }
#last-win-val { color: #4ade80; font-size: 18px; }

.action-buttons {
	display: flex;
	gap: 8px;
}

.action-buttons .btn {
	font-weight: 600;
	border-radius: 6px;
}
