.modal {
	max-width: 880px;
	width: 80%;
	position: relative;
	padding: 20px;
}

.modal-close {
	align-items: end;
	width: 100%;
}

.modal-cross {
	width: 32px;
	height: 32px;
	right: 20px;
	top: 20px;
	cursor: pointer;
}


.modal-bg {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	background-color: rgb(0,0,0,0.6);
	display: flex;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.modal .title {
	font-family: Inter, sans-serif;
	font-size: 32px;
	font-weight: 500;
	color: #fff;
	max-width: 90%;
	text-align: center;
}

.modal .error {
	font-family: Inter, sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--red);
	text-align: center;
	margin-top: 10px;
	visibility: hidden;
}

.modal input {
	height: 49px;
	width: 60%;
	font-family: Inter, sans-serif;
	font-size: 24px;
	font-weight: 400;
	border: 1px solid var(--primary);
	background-color: #1f1f1f;
	border-radius: 4px;
	color: #fff;
	padding: 10px;
	margin-top: 15px;
}

.modal .btn {
	margin-bottom: 30px;
}

.modal .code-success {
	display: none;
	font-family: Inter, sans-serif;
	font-size: 64px;
	font-weight: 500;
	color: var(--primary);
	text-align: center;
}


@media (min-width: 769px) and (max-width: 1400px) {
	.modal {
		width: 70%;
	}
	
	.modal .title {
		font-size: 24px;
	}

	.modal .error {
		font-size: 20px;
		margin-top: 5px;
	}

	.modal input {
		height: 44px;
		font-size: 20px;
		width: 80%;
	}

	.modal .code-success {
		font-size: 44px;
	}

	.modal-cross {
		width: 24px;
		height: 24px;
	}
}

@media (max-width: 768px) {
	.modal .title {
		font-size: 12px;
	}

	.modal .error {
		font-size: 10px;
	}

	.modal input {
		height: 35px;
		font-size: 12px;
		margin-top: 10px;
		width: 80%;
	}

	.modal .code-success {
		font-size: 24px;
	}

	.modal-cross {
		height: 16px;
		width: 16px;
	}

	.modal .btn {
		margin: 0;
		margin-bottom: 16px;
	}
}
