.wrapper {
	position: relative;
	display: inline-block;
}

.container {
	padding: 8px 12px;
	border-radius: 8px;
	gap: 8px;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #ffffff;
	font-weight: 500;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.success {
	background-color: var(--success-500);
	box-shadow: 0 2px 8px rgba(32, 217, 100, 0.2);
}

.error {
	background: linear-gradient(135deg, #f1424e 0%, #e02e3a 100%);
	box-shadow: 0 2px 8px rgba(241, 66, 78, 0.3);
	border: 2px solid #fa6f78;
}

.offline {
	background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
	box-shadow: 0 2px 8px rgba(241, 66, 78, 0.3);
	animation: pulse 2s infinite;
	border: 2px solid #ff6666;
}

@keyframes pulse {
	0% {
		box-shadow: 0 2px 8px rgba(241, 66, 78, 0.3);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 4px 16px rgba(241, 66, 78, 0.5);
		transform: scale(1.02);
	}
	100% {
		box-shadow: 0 2px 8px rgba(241, 66, 78, 0.3);
		transform: scale(1);
	}
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-2px); }
	75% { transform: translateX(2px); }
}

.error {
	background: linear-gradient(135deg, #f1424e 0%, #e02e3a 100%);
	box-shadow: 0 2px 8px rgba(241, 66, 78, 0.3);
	border: 2px solid #fa6f78;
	animation: shake 0.5s ease-in-out infinite;
}

.icon {
	width: 19.09px;
	height: 19.09px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.text {
	font-family: Inter;
	font-size: 14px;
	font-weight: 500;
	text-wrap: nowrap;
	letter-spacing: 0.2px;
}

.tooltip {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 8px;
	background: #2d3748;
	color: #ffffff;
	padding: 12px 16px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	min-width: 280px;
	max-width: 320px;
	font-size: 13px;
	line-height: 1.4;
}

.tooltip::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #2d3748;
}

.tooltipTitle {
	font-weight: 600;
	margin-bottom: 8px;
	color: #f7fafc;
}

.tooltipList {
	margin: 0;
	padding-left: 16px;
	list-style-type: disc;
}

.tooltipList li {
	margin-bottom: 4px;
	color: #e2e8f0;
}

.tooltipList li:last-child {
	margin-bottom: 0;
}
