/**
 * Hester Core — Toast Notification Styles
 */

#hester-toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	width: 340px;
	pointer-events: none;
}

.hester-toast {
	position: relative;
	pointer-events: all;
	padding: 12px 40px 12px 14px;
	border-radius: 4px;
	border-left: 4px solid transparent;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
	font-size: 13px;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: 4px;
	word-break: break-word;
	opacity: 0;
	transform: translateX(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hester-toast.hester-toast-visible {
	opacity: 1;
	transform: translateX(0);
}

.hester-toast.hester-toast-hiding {
	opacity: 0;
	transform: translateX(16px);
}

/* Variants */
.hester-toast-success {
	background: #edfaed;
	color: #1e7e34;
	border-color: #46b450;
}

.hester-toast-error {
	background: #fbeaea;
	color: #b32d2e;
	border-color: #dc3232;
}

.hester-toast-warning {
	background: #fff8e5;
	color: #856404;
	border-color: #f0b429;
}

.hester-toast-info {
	background: #e8f4fd;
	color: #0070a8;
	border-color: #00a0d2;
}

/* Content */
.hester-toast-message {
	font-weight: 600;
}

.hester-toast-detail {
	font-weight: 400;
	font-size: 12px;
	opacity: 0.85;
}

/* Dismiss button */
.hester-toast-dismiss {
	position: absolute;
	top: 8px;
	right: 8px;
	background: transparent;
	border: none;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: 0.6;
	padding: 2px 4px;
}

.hester-toast-dismiss:hover {
	opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hester-toast,
	.hester-toast.hester-toast-hiding {
		transition: opacity 0.1s ease;
		transform: none !important;
	}
}
