/* ============================================================
   SIDEBAR SERVER INFO - MODERN DESIGN
   Created: 2025-01-04
   Matches: sidebar_toplevel_modern.css pattern
   ============================================================ */

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

@keyframes countdownPulse {
	0%, 100% {
		color: #00ffaa;
		text-shadow: 0 0 8px rgba(0, 255, 170, 0.3);
	}
	50% {
		color: #00ffcc;
		text-shadow: 0 0 12px rgba(0, 255, 170, 0.5);
	}
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.sidebar-module.sidebar-info {
	background: linear-gradient(135deg, #1a2332 0%, #0f141a 100%) !important;
	border: 2px solid #2a3440 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
	margin-bottom: 16px !important;
	animation: fadeIn 0.5s ease-out !important;
	position: relative !important;
}

.sidebar-module.sidebar-info::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: -100% !important;
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.1), transparent) !important;
	animation: shimmer 3s linear infinite !important;
	pointer-events: none !important;
	z-index: 0 !important;
}

/* ============================================================
   HEADER - REMOVED THEMED COLORS FOR UNIFORM LOOK
   ============================================================ */
	color: #0f141a !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
	flex: 1 !important;
}

/* ============================================================
   CONTENT
   ============================================================ */

.sidebar-module.sidebar-info .menu-content {
	padding: 16px 14px !important;
	position: relative !important;
	z-index: 1 !important;
}

/* ============================================================
   INFO ROWS
   ============================================================ */

.serverinfo-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 12px 0 !important;
	border-bottom: 1px solid rgba(42, 52, 64, 0.3) !important;
	transition: all 0.3s ease !important;
}

.serverinfo-row:last-child {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.serverinfo-row:hover {
	background: rgba(0, 255, 170, 0.05) !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
	margin-left: -8px !important;
	margin-right: -8px !important;
	border-radius: 6px !important;
}

.serverinfo-label {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	color: #00ffaa !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.serverinfo-icon {
	font-size: 16px !important;
	filter: drop-shadow(0 2px 4px rgba(0, 255, 170, 0.3)) !important;
}

.serverinfo-value {
	color: #e6f8ff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	background: rgba(26, 35, 50, 0.5) !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	border: 1px solid #2a3440 !important;
	transition: all 0.3s ease !important;
}

.serverinfo-row:hover .serverinfo-value {
	background: rgba(26, 35, 50, 0.8) !important;
	border-color: #00ffaa !important;
	box-shadow: 0 2px 8px rgba(0, 255, 170, 0.2) !important;
}

/* ============================================================
   COUNTDOWN TIMER (Save in)
   ============================================================ */

.serverinfo-countdown {
	color: #00ffaa !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	font-family: 'Courier New', monospace !important;
	background: rgba(0, 255, 170, 0.1) !important;
	padding: 8px 14px !important;
	border-radius: 6px !important;
	border: 2px solid #00ffaa !important;
	box-shadow: 0 0 12px rgba(0, 255, 170, 0.3) !important;
	animation: countdownPulse 2s ease-in-out infinite !important;
	letter-spacing: 1px !important;
	min-width: 90px !important;
	text-align: center !important;
}

/* ============================================================
   SPECIAL HIGHLIGHTS
   ============================================================ */

.serverinfo-featured {
	background: linear-gradient(135deg, rgba(0, 255, 170, 0.15) 0%, rgba(0, 255, 170, 0.05) 100%) !important;
	border: 2px solid rgba(0, 255, 170, 0.3) !important;
	border-radius: 8px !important;
	padding: 14px 12px !important;
	margin-bottom: 8px !important;
}

.serverinfo-featured .serverinfo-label {
	font-size: 15px !important;
	color: #00ffcc !important;
	text-shadow: 0 0 8px rgba(0, 255, 170, 0.3) !important;
}

.serverinfo-featured .serverinfo-icon {
	font-size: 18px !important;
	animation: pulse 2s ease-in-out infinite !important;
}

.serverinfo-online-badge {
	background: linear-gradient(135deg, #00ffaa 0%, #00d490 100%) !important;
	color: #0f141a !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	padding: 10px 18px !important;
	border: 2px solid #00ffaa !important;
	border-radius: 8px !important;
	box-shadow: 0 0 16px rgba(0, 255, 170, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
	animation: pulse 3s ease-in-out infinite !important;
	min-width: 60px !important;
	text-align: center !important;
}

.serverinfo-row:hover .serverinfo-online-badge {
	background: linear-gradient(135deg, #00ffcc 0%, #00e4a0 100%) !important;
	box-shadow: 0 0 24px rgba(0, 255, 170, 0.7), 0 6px 16px rgba(0, 0, 0, 0.4) !important;
	transform: scale(1.05) !important;
}

/* Special Highlights - REMOVED FOR UNIFORM LOOK */

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
	.sidebar-module.sidebar-info .menu-header {
		padding: 12px 14px !important;
	}

	.sidebar-module.sidebar-info .menu-title {
		font-size: 14px !important;
	}

	.sidebar-module.sidebar-info .menu-content {
		padding: 16px 12px !important;
	}

	.serverinfo-row {
		padding: 10px 0 !important;
	}

	.serverinfo-label {
		font-size: 13px !important;
	}

	.serverinfo-value {
		font-size: 13px !important;
		padding: 5px 10px !important;
	}

	.serverinfo-countdown {
		font-size: 14px !important;
		padding: 6px 12px !important;
	}
}

@media (max-width: 480px) {
	.serverinfo-row {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 8px !important;
	}

	.serverinfo-value {
		width: 100% !important;
		text-align: center !important;
	}

	.serverinfo-countdown {
		width: 100% !important;
	}
}
