:root {
	--white: #fff;
	--green: #4caf50;
	--blue: #2896f3;
	--yellow: #fbc107;
	--red: #f55153;
	--transition-duration: 0.5s;
}

*,
::after,
::before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 62.5%;
}

.chart_tooltip ._value.bold-text {
	font-size: 10px !important;
	color: #031926;
	font-family: 'Eina-Bold';
	font-size: 10px;
	font-style: normal;
	line-height: normal;
}

.highcharts-axis-labels span {
	font-size: 12px !important;
	line-height: 17px !important;
	color: #363F57 !important;
	font-family: 'Eina' !important;
}


.buttons-container {
	display: flex;
	align-items: center;
	height: calc(100vh - 10.4rem);
	flex-wrap: wrap;
	justify-content: center;
	padding: 2.4rem;
}

	.buttons-container .btn-toast {
		padding: 0.8rem 1.6rem;
		font-size: 1.6rem;
		transition: filter var(--transition-duration);
		cursor: pointer;
		color: #fff;
	}

		.buttons-container .btn-toast:not(:last-child) {
			margin-right: 0.8rem;
		}

		.buttons-container .btn-toast[data-type=success] {
			background-color: var(--green);
		}

		.buttons-container .btn-toast[data-type=system] {
			background-color: var(--blue);
		}

		.buttons-container .btn-toast[data-type=warning] {
			background-color: var(--yellow);
		}

		.buttons-container .btn-toast[data-type=error] {
			background-color: var(--red);
		}

		.buttons-container .btn-toast:hover {
			filter: opacity(0.9);
		}

.toasts-container {
	position: fixed;
	top: 2.4rem;
	right: 2.4rem;
	z-index: 99999;
}

	.toasts-container .toast {
		position: relative;
		display: flex;
		/*justify-content: space-between;*/
		align-items: center;
		max-width: 50rem;
		min-width: 28rem;
		background-color: #121212;
		border-radius: 1.2rem;
		/* padding: 1.6rem !important;*/
		padding-bottom: 1.6rem !important;
		padding-left: 1.6rem !important;
		padding-top: 1.6rem !important;
		margin-bottom: 2.4rem;
		opacity: 0;
		transform: translateX(100%);
		animation: toast-opening var(--transition-duration) ease-in-out forwards;
		overflow-x: hidden;
		box-shadow: 0px 16px 24px rgba(52, 61, 86, 0.1);
		border-radius: 8px;
		padding-right: 60px;
		width: fit-content;
	}

		.toasts-container .toast:not(.active) {
			animation-name: toast-closing;
			animation-duration: 0.35s;
		}

		.toasts-container .toast .t-icon {
			margin-right: 14px;
		}

			.toasts-container .toast .t-icon svg {
				fill: var(--white);
				width: 2.4rem;
				height: 2.4rem;
			}

		.toasts-container .toast .t-message {
			margin-right: 2.4rem;
			color: var(--white);
			line-height: 2rem;
			font-size: clamp(1.2rem, 1.8vw, 1.6rem);
			padding-left: 16px;
		}

		.toasts-container .toast .t-close svg {
			fill: var(--white);
			opacity: 1;
			/* width: 1.8rem;
            height: 1.8rem;*/
			transition: opacity var(--transition-duration);
			cursor: pointer;
		}

		.toasts-container .toast.error .t-message {
			margin-right: 1.4rem;
			color: var(--white);
			line-height: 2rem;
			font-size: clamp(1.2rem, 1.8vw, 1.6rem);
			padding-left: 16px;
		}

@media (hover: hover) {
	.toasts-container .toast .t-close svg {
		opacity: 0.5;
	}
}

.toasts-container .toast .t-close:hover svg {
	opacity: 1;
}

.toasts-container .toast .t-progress-bar {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 6px;
	width: 100%;
	border-radius: 0 0 0 0.5rem;
	background-color: rgba(255, 255, 255, 0.5);
	animation: progress-bar-animation linear forwards 5000ms;
	transform-origin: left;
}

	.toasts-container .toast .t-progress-bar.t-5000 {
		animation-duration: 5000ms;
	}

.toasts-container .toast.success {
	background: #FFFFFF;
	border: 1px solid rgba(52, 61, 86, 0.04);
	max-width: 40.4rem;
	margin-left: auto !important;
}

.toasts-container .toast.system {
	background: #FFFFFF;
	border: 1px solid rgba(52, 61, 86, 0.04);
	max-width: 44rem;
	margin-left: auto !important;
}

.toasts-container .toast.warning {
	background-color: var(--yellow);
}

.toasts-container .toast.error {
	background: #FFFFFF;
	border: 1px solid rgba(52, 61, 86, 0.04);
	max-width: 41.4rem;
	margin-left: auto !important;
}


@keyframes toast-opening {
	from {
		opacity: 0;
		transform: translateX(100%);
	}

	to {
		opacity: 1;
		transform: translateX(0%);
	}
}

@keyframes toast-closing {
	0% {
		opacity: 1;
		transform: translateX(0%);
	}

	75% {
		max-height: 15rem;
		padding: 2.4rem;
		opacity: 0;
		transform: translateX(100%);
	}

	100% {
		max-height: 0;
		padding: 0;
		transform: translateX(100%);
	}
}

@keyframes progress-bar-animation {
	from {
		transform: scaleX(1);
	}

	to {
		transform: scaleX(0);
	}
}




.toast .t-message .header-Content {
	color: #343D56;
	font-size: 13px;
	font-family: 'Eina-SemiBold';
}

.toast .t-message .body-Content {
	color: rgba(52, 61, 86, 0.5);
	font-size: 13px;
	font-family: Eina;
	line-height: 18px;
}

.t-icon:after {
	background: #EAEBEE;
	padding: 0;
	content: '';
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	margin-left: 14px;
}

.toast .t-close {
	position: absolute;
	right: 10px;
	top: 50%;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	text-align: center;
	transition: .5s;
	transform: translateY(-50%);
}

	.toast .t-close svg {
		width: 14.36px;
		height: 14.36px;
		margin-top: 12px
	}

		.toast .t-close svg path {
			fill: #343D56;
			fill-opacity: .5;
		}

	.toast .t-close:hover {
		background: rgba(10, 202, 220, 0.1);
		cursor: pointer;
	}

		.toast .t-close:hover svg path {
			fill: #0ACADC;
			fill-opacity: 1;
		}


/* custom css for overduePaymentToast, start */
.toasts-container.overduePaymentToast {
	z-index: 99;
	display: none;
}

	.toasts-container.overduePaymentToast.show {
		z-index: 9999 !important;
		display: block;
	}

	.toasts-container.overduePaymentToast .toast.error {
		width: 718px;
		max-width: 718px;
	}

		.toasts-container.overduePaymentToast .toast.error .t-message {
			margin-right: 34px;
		}

		.toasts-container.overduePaymentToast .toast.error .t-close:hover {
			background: rgba(255, 117, 151, 0.1);
		}

			.toasts-container.overduePaymentToast .toast.error .t-close:hover svg path {
				fill: #FF7597;
				fill-opacity: 1;
			}

		.toasts-container.overduePaymentToast .toast.error .updatePaymentBtn {
			cursor: pointer;
			width: 175px;
			height: 45px;
			display: flex;
			align-items: center;
			justify-content: center;
			background: rgba(255, 117, 151, 1);
			color: #FFF;
			font-family: 'Eina-Semibold';
			font-size: 14px;
			font-style: normal;
			font-weight: 600;
			line-height: normal;
			border-radius: 8px;
			transition: .5s;
		}

			.toasts-container.overduePaymentToast .toast.error .updatePaymentBtn:hover {
				background: rgb(255, 94, 134);
			}
/* custom css for overduePaymentToast, end */
