/**
 * Global Notification System Styles
 * 
 * @package Meadowlarkviolin
 */

/* Notification container - positioned at bottom right */
.notification-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

/* Notification popup */
.notification-popup {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px #e4ba16;
	min-width: 300px;
	max-width: 400px;
	pointer-events: auto;
	animation: slideInRight 0.3s ease-out;
	border-left: 4px solid;
}

.notification-popup.success {
	border-left-color: #2b664c;
}

.notification-popup.error {
	border-left-color: #dc3545;
}

.notification-popup.info {
	border-left-color: #2271b1;
}

.notification-popup.warning {
	border-left-color: #e4ba16;
}

.notification-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.notification-popup.success .notification-icon {
	color: #2b664c;
}

.notification-popup.error .notification-icon {
	color: #dc3545;
}

.notification-popup.info .notification-icon {
	color: #2271b1;
}

.notification-popup.warning .notification-icon {
	color: #e4ba16;
}

.notification-content {
	flex: 1;
}

.notification-message {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.notification-close {
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	transition: color 0.2s;
}

.notification-close:hover {
	color: #333;
}

.notification-popup.fade-out {
	animation: slideOutRight 0.3s ease-in forwards;
}

@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;
	}
}

/* Responsive */
@media (max-width: 768px) {
	.notification-container {
		bottom: 10px;
		right: 10px;
		left: 10px;
	}
	
	.notification-popup {
		min-width: auto;
		max-width: 100%;
	}
}

