#custom-alert-container {position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center;}
.custom-alert {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 24px 24px 16px 16px; /* extra top/right padding for close icon */
	min-width: 240px;
	max-width: 90vw;
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	position: relative;
	transform: translateY(-20px);
	opacity: 0;
	transition: all 0.3s ease-in-out;
	border-left: 4px solid #ff4444;
	word-break: break-word;
	box-sizing: border-box;
}
.custom-alert.show {transform: translateY(0);opacity: 1;}
.custom-alert.success {border-left-color: #00C851;}
.custom-alert.info {border-left-color: #33b5e5;}
.alert-content {display: flex; align-items: center; gap: 12px; flex: 1;}
.alert-icon {font-size: 24px; flex-shrink: 0;}
.alert-message {color: #333; font-size: 16px; line-height: 1.4; text-align: center; flex: 1;}
.alert-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	color: #999;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	transition: color 0.2s;
	z-index: 1;
}
.alert-close:hover {color: #666;}
/* Animation for multiple alerts */
.custom-alert + .custom-alert {margin-top: 8px;}
/* Add overlay background */
#custom-alert-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 9998;
	opacity: 1;
	transition: opacity 0.3s;
}
#custom-alert-overlay.hide {
	opacity: 0;
	pointer-events: none;
}

/* Enhanced alert label styles */
.alert-label {
	display: block;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}
.custom-alert.error .alert-label {
	color: #d32f2f;
}
.custom-alert.success .alert-label {
	color: #388e3c;
}
.custom-alert.info .alert-label {
	color: #1976d2;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	#custom-alert-container {width: 100%;}
	.custom-alert {min-width: 140px; max-width: 98vw; padding: 18px 12px 12px 8px;}
	.alert-message {font-size: 14px;}
	.alert-label {
		font-size: 16px;
		margin-bottom: 6px;
	}
	.alert-close {top: 4px; right: 6px; font-size: 22px;}
} 