.notification-stack {
	position: fixed;
	right: 1.5rem;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.notification {
	width: 260px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: var(--settings-bg);
	border: 1px solid var(--ember);
	border-radius: var(--radius);
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	animation: notif-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.notification.closing {
	animation: notif-out 0.3s ease-in forwards;
}

.notification .notification-text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.notification img {
	width: 57px;
	height: 57px;
}

.notification h4 {
	color: var(--ember);
	font-size: 0.85rem;
	margin: 0;
}

.notification p {
	color: var(--bone);
	font-weight: bold;
	font-size: 1.15rem;
	margin: 0;
}

.notification button {
	position: absolute;
	top: 0;
	right: 0;
	width: 45px;
	height: 45px;
	display: grid;
	place-items: center;
	background: none;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	color: var(--bone);
	transition:
		opacity 0.2s,
		color 0.2s,
		background 0.2s;
}

.notification button:hover {
	opacity: 1;
	color: var(--ember);
	background: rgba(255, 255, 255, 0.08);
}

.notification button:focus-visible {
	outline: 2px solid var(--ember);
	outline-offset: 2px;
}
