.notification-preview__before {
	top: -275.039px;
	left: calc(50% - 50vw);
	position: absolute;
	width: 100vw;
	height: 100vh;
    pointer-events: none;
	z-index: -1;
	background: #B27247 url('../img/sand-dunes-day-GeReAnOMiZ8.jpg') no-repeat center center / cover;
}

:root[theme="dark"] .notification-preview__before {
	background: #151F33 url('../img/sand-dunes-night-0O6ZE9oX68k.jpg') no-repeat center center / cover;
}

.notification-preview {
	--notification-border-radius: 16px;
    will-change: opacity, transform;
    perspective: 800px;
}

.notification-preview__body {
	position: relative;
}

.notification-preview__body:nth-child(1) {
	z-index: 3;
}

.notification-preview__body:nth-child(1) .notification-preview__notification {
	background-color: rgba(0, 0, 0, 0.5);
}

.notification-preview__body:nth-child(1) .notification-preview__notification .notification-preview__before {
	filter: saturate(160%);
}

.notification-preview__body:nth-child(2) {
    margin-top: -100px;
	transform: translateZ(calc(-16px*4));
	z-index: 2;
}

.notification-preview__body:nth-child(2) .notification-preview__notification {
	background-color: rgba(0, 0, 0, 0.4);
}

.notification-preview__body:nth-child(3) {
    margin-top: -100px;
	transform: translateZ(calc(-16px*8));
	z-index: 1;
}

.notification-preview__body:nth-child(3) .notification-preview__notification {
	background-color: rgba(0, 0, 0, 0.3);
}

.notification-preview__container {
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
	border-radius: var(--notification-border-radius);
}

.notification-preview__notification {
	position: relative;
	overflow: hidden;
	min-height: 116px;
	padding: 16px;
	border-radius: var(--notification-border-radius);
	background-color: rgba(0, 0, 0, 0.9);
	color: white;
}

.notification-preview__notification--web {
	min-height: auto;
}

.notification-preview__header,
.notification-preview__more {
	opacity: 0.75;
}

.notification-preview__header {
	display: flex;
	justify-content: space-between;
	padding-bottom: 8px;
	font-size: 12px;
}

.notification-preview__timestamp {
	text-transform: lowercase;
}

.notification-preview__content {
	display: grid;
}

.notification-preview__content span {
	display: block;
	line-height: 1.4;
}

.notification-preview__message {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.notification-preview__more {
	margin-top: 4px;
}

.notification-preview__icon {
	flex-shrink: 0;
	width: 52px;
	aspect-ratio: 1;
	background: var(--background);
	color: var(--text-primary);
	border-radius: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
	font-size: 26px;
}

.notification-preview__button {
    padding: 8px 16px;
    background-color: rgb(from var(--background) r g b / 0.15);
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
}
