/* public/css/alert-system.css */
.alert-container {
	position: fixed;
	top: 30px;
	right: 20px;
	/* left: 20px; */
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
	filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.8));
}

.alert-item {
	pointer-events: auto;
	animation: slideInRight 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	max-width: 450px;
	width: 100%;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
}

.alert-item.removing {
	animation: slideOutRight 0.3s ease-in forwards;
}

.alert-content {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	direction: rtl;
}

.alert-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alert-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

.alert-message {
	flex: 1;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.alert-close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 20px;
	color: inherit;
	opacity: 0.7;
	transition: all 0.2s;
	padding: 0 6px;
	line-height: 1;
}

.alert-close:hover {
	opacity: 1;
	transform: scale(1.1);
}

.alert-success {
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	border-right: 4px solid #047857;
}

.alert-error {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: white;
	border-right: 4px solid #b91c1c;
}

.alert-warning {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: white;
	border-right: 4px solid #b45309;
}

.alert-info {
	background: linear-gradient(135deg, #98accc, #2563ed);
	color: white;
	border-right: 4px solid #1d4ed8;
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOutRight {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

@media (max-width: 640px) {
	.alert-container {
		top: 25px;
		right: 10px;
		left: 10px;
	}
	.alert-content {
		padding: 12px 14px;
	}
	.alert-message {
		font-size: 13px;
	}
}
