/* ============================================
   SERVER STATUS PANEL - Premium Glass Design
   ============================================ */

/* Server Status Card */
.server-status-card {
	position: relative;
	overflow: visible;
}

.server-status-card .card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--border-color);
}

.status-header-icon {
	font-size: 24px;
	color: var(--accent-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(138, 43, 226, 0.1);
	border-radius: 8px;
	flex-shrink: 0;
}

.server-status-card .card-header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-primary);
}

/* Warning Banner - Login Offline */
.status-warning-banner {
	background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 82, 82, 0.15) 100%);
	border: 1px solid rgba(255, 107, 107, 0.4);
	border-left: 4px solid #ff6b6b;
	border-radius: 8px;
	padding: 12px 20px;
	margin: 16px 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #ff6b6b;
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
	animation: slideInDown 0.3s ease-out;
}

.status-warning-banner i {
	font-size: 16px;
	flex-shrink: 0;
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Status List */
.status-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 24px;
}

.status-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: default;
}

.status-item:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-label {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.status-channel-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: 0.5px;
}

/* Status Badge */
.status-badge-wrapper {
	display: flex;
	align-items: center;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Online - Zöld */
.status-badge-online {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(56, 142, 60, 0.25) 100%);
	border: 1px solid rgba(76, 175, 80, 0.5);
	color: #4caf50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3), 0 0 12px rgba(76, 175, 80, 0.15);
}

.status-badge-online:hover {
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4), 0 0 16px rgba(76, 175, 80, 0.2);
	transform: scale(1.05);
}

/* Offline - Piros */
.status-badge-offline {
	background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(211, 47, 47, 0.25) 100%);
	border: 1px solid rgba(244, 67, 54, 0.5);
	color: #f44336;
	box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3), 0 0 12px rgba(244, 67, 54, 0.15);
}

.status-badge-offline:hover {
	box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4), 0 0 16px rgba(244, 67, 54, 0.2);
	transform: scale(1.05);
}

/* Maintenance - Sárga */
.status-badge-maintenance {
	background: linear-gradient(135deg, rgba(255, 193, 7, 0.3) 0%, rgba(255, 160, 0, 0.25) 100%);
	border: 1px solid rgba(255, 193, 7, 0.5);
	color: #ffc107;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3), 0 0 12px rgba(255, 193, 7, 0.15);
}

.status-badge-maintenance:hover {
	box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4), 0 0 16px rgba(255, 193, 7, 0.2);
	transform: scale(1.05);
}

/* Unknown - Szürke */
.status-badge-unknown {
	background: linear-gradient(135deg, rgba(158, 158, 158, 0.3) 0%, rgba(117, 117, 117, 0.25) 100%);
	border: 1px solid rgba(158, 158, 158, 0.5);
	color: #9e9e9e;
	box-shadow: 0 2px 8px rgba(158, 158, 158, 0.3), 0 0 12px rgba(158, 158, 158, 0.15);
}

.status-badge-unknown:hover {
	box-shadow: 0 4px 12px rgba(158, 158, 158, 0.4), 0 0 16px rgba(158, 158, 158, 0.2);
	transform: scale(1.05);
}

/* Status Footer */
.status-footer {
	padding: 12px 24px;
	border-top: 1px solid var(--border-color);
	text-align: center;
}

.status-last-update {
	font-size: 11px;
	color: var(--text-muted);
	opacity: 0.7;
	font-weight: 500;
	letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.status-list {
		padding: 16px 20px;
		gap: 10px;
	}
	
	.status-item {
		padding: 12px 16px;
	}
	
	.status-channel-name {
		font-size: 14px;
	}
	
	.status-badge {
		font-size: 11px;
		padding: 5px 12px;
	}
	
	.status-warning-banner {
		margin: 12px 20px;
		padding: 10px 16px;
		font-size: 13px;
	}
}

/* Loading State (opcionális) */
.status-item.loading {
	opacity: 0.6;
	pointer-events: none;
}

.status-item.loading .status-badge {
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
}

