html {
	overflow-y: scroll;
}

.swal2-container {
	--swal2-confirm-button-background-color: var(--color-main, #085B32);
	--swal2-confirm-button-color: #fff;
	--swal2-cancel-button-background-color: #6e7881;
	--swal2-border-radius: 12px;
	font-family: inherit;
}

.swal2-popup {
	font-size: 1rem;
}

.swal2-title {
	font-size: 1.25rem;
	color: #1d1d1f;
}

.swal2-html-container,
.swal2-html-container p {
	font-size: 0.95rem;
	color: #545454;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.55em 1.4em;
	border-radius: 8px;
}

div:where(.swal2-container).swal2-backdrop-show,
div:where(.swal2-container).swal2-noanimation {
	background: rgba(8, 91, 50, 0.18);
}

body.swal2-shown:not(.swal2-toast-shown) {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

.app-toast-root {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 20000;
	width: min(360px, calc(100vw - 2rem));
	pointer-events: none;
}

.app-toast {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.85rem 2rem 0.85rem 0.85rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	pointer-events: auto;
	opacity: 0;
	transform: translateX(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast.is-in {
	opacity: 1;
	transform: translateX(0);
}

.app-toast.is-out {
	opacity: 0;
	transform: translateX(16px);
}

.app-toast__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: 1px;
}

.app-toast__icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

.app-toast__body {
	min-width: 0;
	flex: 1 1 auto;
}

.app-toast__title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1d1d1f;
}

.app-toast__text {
	margin-top: 0.15rem;
	font-size: 0.85rem;
	line-height: 1.4;
	color: #545454;
}

.app-toast__close {
	position: absolute;
	top: 0.35rem;
	right: 0.45rem;
	width: 1.4rem;
	height: 1.4rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #999;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.app-toast__close:hover {
	color: #333;
}

.app-toast__timer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(8, 91, 50, 0.35);
	transform-origin: left center;
	animation: app-toast-timer 3s linear forwards;
}

.app-toast--error .app-toast__timer {
	background: rgba(242, 116, 116, 0.7);
}

.app-toast--warning .app-toast__timer {
	background: rgba(248, 187, 134, 0.9);
}

.app-toast--info .app-toast__timer {
	background: rgba(63, 195, 238, 0.7);
}

@keyframes app-toast-timer {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}
