/**
 * RLH Design System - UI Components
 * Reusable UI components (boxes, chips, cards, etc.)
 */

.tactical-box {
	background-color: var(--rlh-bg-light);
	border: 1px solid var(--rlh-border);
	border-radius: var(--rlh-radius-sm);
	padding: 10px;
	margin-bottom: 0.75rem;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.data-chip {
	display: flex;
	flex: 1;
	height: 22px;
	background: rgba(255, 255, 255, 0.03);
	overflow: hidden;
}

.chip-label {
	flex: 0 0 18px;
	font-size: 8px;
	font-weight: 900;
	background: var(--rlh-primary) !important;
	color: #ffffff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--rlh-radius-sm) 0 0 var(--rlh-radius-sm);
}

.chip-value {
	flex: 1;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f3f4f6 !important;
	border: 1px solid var(--rlh-border);
	border-left: none;
	border-radius: 0 var(--rlh-radius-sm) var(--rlh-radius-sm) 0;
}

.player-name-tag {
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	color: #ffffff !important;
	margin-bottom: 6px;
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	gap: 6px;
}

.player-name-tag::before {
	content: "";
	display: block;
	width: 3px;
	height: 10px;
	background-color: var(--rlh-primary);
	border-radius: 1px;
}

.player-card {
	width: 100%;
	display: block;
}

.timer-grid {
	display: flex;
	flex-direction: row;
	gap: 6px;
	width: 100%;
}

.tab-vertical {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	height: 120px;
	font-size: 11px;
	font-weight: 700;
	border-left: 3px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #9ca3af;
}

.tab-vertical.active {
	background-color: rgba(102, 51, 153, 0.1);
	border-left: 3px solid var(--rlh-primary);
	color: var(--rlh-primary-light);
}

/**
 * Modal and Input Field Styling
 */
.chip-input-field {
	flex: 1;
	min-width: 0;
	background: transparent !important;
	border: none !important;
	padding: 0 12px;
	color: white !important;
	font-family: var(--rlh-font-mono);
	font-weight: 700;
	font-size: 13px;
	outline: none;
	height: 100%;
}

.chip-input-field option {
	background-color: var(--rlh-bg-medium);
	color: #ffffff;
}

select.chip-input-field {
	cursor: pointer;
}

select.chip-input-field option:checked,
select.chip-input-field option:hover {
	background-color: var(--rlh-primary) !important;
	color: white;
}

/* Modal-specific chip styling */
#player_modal .data-chip,
.modal .data-chip {
	height: 38px;
	background: #000;
	border: 1px solid var(--rlh-border);
	border-radius: var(--rlh-radius-sm);
	display: flex;
	align-items: center;
	overflow: hidden;
}

#player_modal .chip-label,
.modal .chip-label {
	flex: 0 0 85px;
	font-size: 10px;
	letter-spacing: 0.05em;
	border-right: 1px solid var(--rlh-border);
	flex-shrink: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#player_modal .btn-ghost,
.modal .btn-ghost {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

