/**
 * Portal notification toast styles
 *
 * @package I_AM_Family_Portal
 */

#portal-notification-container {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
	max-width: 90%;
}

.portal-notification {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	font-size: 15px;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.portal-notification-visible {
	opacity: 1;
	transform: translateY(0);
}

.portal-notification-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.portal-notification-success .portal-notification-icon::before {
	content: "✓";
	font-size: 22px;
	font-weight: bold;
	color: #28a745;
	line-height: 1;
}

.portal-notification-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.portal-notification-error .portal-notification-icon::before {
	content: "✕";
	font-size: 20px;
	font-weight: bold;
	color: #dc3545;
	line-height: 1;
}

.portal-notification-message {
	flex: 1;
}
