.toast-panel {
	display: flex;
	flex-direction: column;
    align-items: flex-end;
	transition: var(--tr);
	position: fixed;
	padding: 0 1rem;
	height: 100%;
	top: 5rem;
	right: 1rem;
	z-index: 9999;
	pointer-events: none;
}

.toast {
	background: linear-gradient(90deg, #2D198E, #411A8D);
    color: #f5f5f5;
    padding: 1rem 2rem 1rem 6rem;
    text-align: center;
    border-radius: 0.25rem;
    position: relative;
    font-weight: 300;
    margin: 1rem 0;
    text-align: left;
    transition: var(--tr);
    opacity: 1;
    border: 0.15rem solid #fff2;
    box-shadow: inset 0 0 0.5rem 0 #1d1e26;
    overflow: hidden;
    pointer-events: auto;
}

.toast:before {
	content: "";
    position: absolute;
    width: 5rem;
    height: 100%;
    bottom: -0.15rem;
    left: -0.15rem;
    z-index: 0;
    border-radius: 0.35rem;
    background: radial-gradient(circle at 0% 50%, var(--clr), #fff0 5rem), radial-gradient(circle at -50% 50%, var(--bg), #fff0 5rem);
    opacity: 0.5;
}

.toast:after {
	content: "";
    position: absolute;
    width: 3.5rem;
    height: 3.5rem;
    background: radial-gradient(circle at 50% 50%, var(--clr) 1.25rem, var(--brd) calc(1.25rem + 1px) 100%);
    top: 0.5rem;
    left: 1rem;
    border-radius: 3rem;
    padding-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-sizing: border-box;
}

.toast h3 {
	font-size: 1.35rem;
	margin: 0;
	line-height: 1.35rem;
	font-weight: bold;
	position: relative;
}

.toast p {
	position: relative;
	font-size: 1rem;
	z-index: 1;
	margin: 0.25rem 0 0;
}

.close {
	position: absolute;
	width: 1.35rem;
	height: 1.35rem;
	text-align: center;
	right: 1rem;
	cursor: pointer;
	border-radius: 100%;
}

.close:after {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	font-size: 1.8rem;
	content: "+";
	transform: rotate(45deg);
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close:hover {
	background: var(--clr);
    color: #22232c;
}

.toast.info {
	--bg: var(--bg-info);
	--clr: var(--clr-info);
	--brd: var(--bdr-info);
}

.toast.info:after,
.icon-info:after {
	content: "i";
	font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 0.20rem;
    text-indent: 0.1rem;
}

.toast.success {
	--bg: var(--bg-success);
	--clr: var(--clr-success);
	--brd: var(--bdr-success);
}

.toast.success:after,
.icon-success:after {
	content: "L";
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 0.35rem;
    transform: rotateY(180deg) rotate(-38deg);
    text-indent: 0.1rem;
}

.toast.warning {
	--bg: var(--bg-warning);
	--clr: var(--clr-warning);
	--brd: var(--bdr-warning);
}

.toast.warning:after,
.icon-warning:after {
	content: "!";
	font-weight: bold;
}

.toast.error {
	--bg: var(--bg-error);
	--clr: var(--clr-error);
	--brd: var(--bdr-error);
}

.toast.error:after,
.icon-error:after {
	content: "+";
    font-size: 2.85rem;
    line-height: 1.2rem;
    transform: rotate(45deg);
}


/*** ICONS ***/

.toast-icons {
	background: linear-gradient(90deg, #1f2333, #22232b);
	padding: 1rem 1rem 1.25rem 1rem;
	display: flex;
	justify-content: space-around;
	border-radius: 0.25rem;
	gap: 1.5rem;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1rem;
	margin-bottom: 1rem;
	position: relative;
    border: 0.15rem solid #fff2;
    box-shadow: inset 0 0 0.5rem 0 #1d1e26;
}

.toast-icons:before {
    position: absolute;
    width: calc(100% + 0.3rem);
    height: calc(100% + 0.25rem);
    --bg-info: 45%;
    --bg-success: 45%;
    --bg-warning: 45%;
    --bg-error: 45%;
	--bsc: #fff0;
    background:
		radial-gradient(circle at 14% var(--bg-info), var(--bg-info), #fff0 2rem), 	radial-gradient(circle at 38% var(--bg-success), var(--bg-success), #fff0 2rem),
		radial-gradient(circle at 62% var(--bg-warning), var(--bg-warning), #fff0 2rem), radial-gradient(circle at 86% var(--bg-error), var(--bg-error), #fff0 2rem);
    content: "";
    bottom: -0.15rem;
    border-radius: 0.25rem;
    z-index: 0;
	transition: --bg-info 0.5s ease 0s,  --bg-success 0.5s ease 0s,  --bg-warning 0.5s ease 0s,  --bg-error 0.5s ease 0s,  --bsc 0.5s ease 0s;
	box-shadow: 0 0 0.35rem 0 var(--bsc) inset;
}

.toast-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	position: relative;
	background: radial-gradient(circle at 50% 50%, var(--clr) 1.25rem, var(--brd) calc(1.25rem + 1px) 100%);
	background: radial-gradient(circle at 50% 50%, var(--clr) 1.25rem, #fff0 calc(1.25rem + 1px) 100%), radial-gradient(circle at 50% 50%,  var(--brd) calc(1.25rem + 1px) 100%);
}