body.tostex-modal-open {
	overflow: hidden;
}

.tostex-modal[hidden] {
	display: none !important;
}

.tostex-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.tostex-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
	backdrop-filter: blur(5px);
}

.tostex-modal__dialog {
	position: relative;
	width: min(100%, 470px);
	padding: 42px 34px 34px;
	border: 1px solid #f67514;
	border-radius: 20px;
	background: #0f0f0f;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
	color: #fff;
	text-align: center;
}

.tostex-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	border: 0;
	background: transparent;
	color: #f67514;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.tostex-modal__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #f67514;
	color: #000;
	font: 800 34px/1 Arial, sans-serif;
}

.tostex-modal__dialog h2 {
	margin: 0 0 12px;
	color: #f67514;
	font: 700 clamp(25px, 5vw, 34px)/1.15 Arial, sans-serif;
}

.tostex-modal__dialog p {
	margin: 0 0 25px;
	color: #e8e0d9;
	font: 400 16px/1.6 Arial, sans-serif;
}

.tostex-modal__button {
	width: 100%;
	padding: 15px 20px;
	border: 0;
	border-radius: 9px;
	background: #f67514;
	color: #000;
	font: 800 15px/1 Arial, sans-serif;
	cursor: pointer;
}

.tostex-modal__button:hover,
.tostex-modal__button:focus-visible {
	background: #ca5905;
}

@media (max-width: 480px) {
	.tostex-modal__dialog {
		padding: 38px 22px 24px;
	}
}

