/* Toast notifications (global footer). */
.toast {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-radius: 0.75rem;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
	animation: toast-slide-in 0.3s ease-out;
	max-width: 400px;
}

.toast-success {
	background-color: #00703c;
	color: white;
}

.toast-error {
	background-color: #d4351c;
	color: white;
}

.toast-icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
}

.toast-message {
	font-weight: 500;
}

.toast-close {
	flex-shrink: 0;
	margin-left: auto;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 0.25rem;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.toast-close:hover {
	opacity: 1;
}

@keyframes toast-slide-in {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes toast-slide-out {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

.toast-hiding {
	animation: toast-slide-out 0.3s ease-in forwards;
}
