@font-face {
	font-family: 'BNazanin';
	src: url('../font/Iranian\ Sans.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
body, button, input, select, textarea {
	font-family: 'BNazanin', 'Vazirmatn', 'Tahoma', Arial, sans-serif !important;
}
body {
	background: #fff;
	font-family: YekanBakh, IRANSans, Vazir, Arial, Tahoma, sans-serif;
	margin: 0;
	min-height: 100vh;
	width: 100vw;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.container {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.panel {
	box-sizing: border-box;
	width: 400px;
	max-width: 98vw;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 2px 14px 0px #e4eaf1;
	padding: 36px 35px 22px 35px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.logo {
	height: 60px;
	width: 100px;
	background: #e6eaf2;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}
.logo img {
	max-width: 70px;
	max-height: 50px;
}
.title {
	color: #333950;
	font-size: 1.13em;
	font-weight: 400;
	margin-bottom: 18px;
	text-align: center;
}
.form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 21px;
}
.input-wrap {
	position: relative;
	width: 100%;
	margin-bottom: 18px;
}
.input-box {
	width: 100%;
	font-size: 1em;
	padding: 13px 50px 13px 15px;
	border: 1.5px solid #e3e5ea;
	background: #fff;
	color: #2d3340;
	border-radius: 10px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.17s;
}
.input-box:focus {
	border-color: #1a64d6;
}
.icon-validate {
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.icon-validate svg {
	display: none;
}
.icon-validate.valid svg.valid {
	display: block;
}
.icon-validate.invalid svg.invalid {
	display: block;
}
.action-btn {
	width: 100%;
	padding: 13px;
	border-radius: 10px;
	border: none;
	background: #e3e5ea;
	color: #a2a7b7;
	font-size: 1em;
	font-weight: 400;
	cursor: not-allowed;
	margin-bottom: 5px;
	transition: background 0.2s;
}
.action-btn.active, .action-btn:enabled {
	background: #1a64d6;
	color: #fff;
	cursor: pointer;
}
.policy {
	font-size: 0.97em;
	color: #60677d;
	margin-bottom: 14px;
	text-align: center;
	width: 100%;
}
.toggle-link {
	color: #156eda;
	text-decoration: none;
	font-weight: 500;
	display: inline-block;
	font-size: 1.01em;
	margin-top: 5px;
	transition: color 0.18s;
}
.toggle-link:hover {
	color: #10409c;
}
@media (max-width: 500px) {
	.panel {
		padding: 16px 5vw 16px 5vw;
		border-radius: 14px;
		width: 98vw;
		max-width: 98vw;
	}
	.logo {
		margin-bottom: 16px;
		height: 49px !important;
		width: 80px !important;
	}
	.title {
		font-size: 0.99em;
		margin-bottom: 15px;
	}
	.input-box {
		padding: 11px 42px 11px 13px;
		font-size: 0.97em;
	}
	.action-btn {
		padding: 11px;
		font-size: 0.97em;
	}
	.policy {
		font-size: 0.92em;
		margin-bottom: 10px;
	}
}
@media (max-width:370px) {
	.panel {
		padding: 11px 2vw 9px 2vw;
	}
	.input-wrap {
		margin-bottom: 7px;
	}
}