/**
 * Holdings Table Clock Badges - Dashboard Style
 * Matches dashboard clock-phase-badge exactly
 * CRITICAL: More specific selectors to override clock-elite.css
 */

/* ============================================
   CLOCK BADGE IN HOLDINGS TABLE - Dashboard-style
   ============================================ */

/* CRITICAL: Specific selector for holdings table to override other styles */
.holdings-compact-table .clock-phase-badge {
	display: inline-flex !important;
	flex-direction: row !important; /* CRITICAL: Horizontal layout (icon LEFT, number RIGHT) */
	align-items: center !important;
	gap: 0.375rem !important;
	padding: 0.25rem 0.5rem !important;
	border-radius: 6px !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	transition: all 0.2s !important;
	min-width: auto !important; /* Override any min-width */
	justify-content: center !important;
}

.holdings-compact-table .clock-icon-animated {
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0 !important;
}

.holdings-compact-table .clock-icon-animated svg {
	width: 100% !important;
	height: 100% !important;
	display: block !important;
}

.holdings-compact-table .clock-number {
	font-family: 'JetBrains Mono', monospace !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

/* Clock SVG Components - Same as dashboard - SPECIFIC to holdings table */
.holdings-compact-table .clock-bezel {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	opacity: 0.4;
}

.holdings-compact-table .clock-face {
	fill: currentColor;
	opacity: 0.08;
}

.holdings-compact-table .clock-tick {
	stroke: currentColor;
	stroke-linecap: round;
	opacity: 0.7;
}

.holdings-compact-table .clock-hand-main {
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	opacity: 1;
}

.holdings-compact-table .clock-hand-arrow {
	fill: currentColor;
	opacity: 1;
}

.holdings-compact-table .clock-center {
	fill: currentColor;
	opacity: 0.9;
	filter: drop-shadow(0 0 2px currentColor);
}

/* Clock colors by hour - Same as dashboard - SPECIFIC to holdings table */
.holdings-compact-table .clock-12 {
	color: #10B981;
	border-color: rgba(16, 185, 129, 0.3);
	background: rgba(16, 185, 129, 0.1);
	filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.holdings-compact-table .clock-6 {
	color: #3B82F6;
	border-color: rgba(59, 130, 246, 0.3);
	background: rgba(59, 130, 246, 0.1);
	filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.holdings-compact-table .clock-3 {
	color: #F59E0B;
	border-color: rgba(245, 158, 11, 0.3);
	background: rgba(245, 158, 11, 0.1);
	filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
}

.holdings-compact-table .clock-9 {
	color: #8B5CF6;
	border-color: rgba(139, 92, 246, 0.3);
	background: rgba(139, 92, 246, 0.1);
	filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

/* Other hours - gradient between key hours - SPECIFIC to holdings table */
.holdings-compact-table .clock-1,
.holdings-compact-table .clock-11 {
	color: #34D399;
	border-color: rgba(52, 211, 153, 0.3);
	background: rgba(52, 211, 153, 0.1);
}

.holdings-compact-table .clock-2 {
	color: #FCD34D;
	border-color: rgba(252, 211, 77, 0.3);
	background: rgba(252, 211, 77, 0.1);
}

.holdings-compact-table .clock-4,
.holdings-compact-table .clock-5 {
	color: #F59E0B;
	border-color: rgba(245, 158, 11, 0.3);
	background: rgba(245, 158, 11, 0.1);
}

.holdings-compact-table .clock-7,
.holdings-compact-table .clock-8 {
	color: #60A5FA;
	border-color: rgba(96, 165, 250, 0.3);
	background: rgba(96, 165, 250, 0.1);
}

.holdings-compact-table .clock-10 {
	color: #A78BFA;
	border-color: rgba(167, 139, 250, 0.3);
	background: rgba(167, 139, 250, 0.1);
}

/* Light mode - SPECIFIC to holdings table */
[data-theme="light"] .holdings-compact-table .clock-phase-badge,
.light-mode .holdings-compact-table .clock-phase-badge {
	background: rgba(0, 0, 0, 0.03);
	border-color: rgba(0, 0, 0, 0.1);
}

