/* ============================================================
   فرم ورود / ثبت‌نام دو مرحله‌ای - ماریا کافی
   ============================================================ */
.mce-auth-box {
	position: relative;
	max-width: 400px;
	margin: 40px auto;
	background: #FFFFFF;
	border: 1px solid #ECE2D3;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 8px 30px rgba(107, 70, 48, .08);
	font-family: IRANSans, Tahoma, sans-serif;
	text-align: center;
	direction: rtl;
}

.mce-auth-back {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	background: #F6EFE4;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6B4630;
	cursor: pointer;
}

.mce-auth-title {
	color: #6B4630;
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
}

.mce-auth-sub {
	color: #7A6A5C;
	font-size: 14px;
	margin: 0 0 22px;
	line-height: 1.9;
}

.mce-auth-label {
	color: #3A2C22;
	font-size: 15px;
	font-weight: 700;
	margin: 4px 0 16px;
}

.mce-auth-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #F6EFE4;
	color: #C9A886;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}

.mce-auth-phone-row {
	display: flex;
	align-items: center;
	border: 1px solid #ECE2D3;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 18px;
	direction: ltr;
}
.mce-auth-flag {
	background: #F6EFE4;
	color: #6B4630;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 14px;
	white-space: nowrap;
	border-inline-end: 1px solid #ECE2D3;
}
.mce-auth-phone-row input,
.mce-auth-step input[type="password"],
.mce-auth-step input[type="tel"] {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #3A2C22;
	background: transparent;
	width: 100%;
	box-sizing: border-box;
	direction: ltr;
	text-align: center;
}

.mce-auth-step > input {
	display: block;
	width: 100%;
	border: 1px solid #ECE2D3;
	border-radius: 10px;
	margin-bottom: 14px;
	box-sizing: border-box;
}

.mce-auth-pass-row {
	display: flex;
	align-items: center;
	border: 1px solid #ECE2D3;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 14px;
}
.mce-auth-pass-row input { border: none; margin: 0; }
.mce-auth-eye {
	background: none;
	border: none;
	color: #7A6A5C;
	cursor: pointer;
	padding: 0 12px;
	display: flex;
	align-items: center;
}

.mce-auth-links {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	font-size: 13px;
}
.mce-auth-links a {
	color: #6B4630;
	text-decoration: none;
	font-weight: 600;
}
.mce-auth-links a:hover { text-decoration: underline; }

.mce-auth-btn {
	display: block;
	width: 100%;
	background: #6B4630;
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	padding: 13px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: opacity .15s ease;
}
.mce-auth-btn:disabled { opacity: .6; cursor: default; }
.mce-auth-btn:hover:not(:disabled) { opacity: .92; }

.mce-auth-link-btn {
	display: block;
	width: 100%;
	background: none;
	border: none;
	color: #6B4630;
	font-size: 13px;
	font-weight: 600;
	margin-top: 14px;
	cursor: pointer;
	font-family: inherit;
}
.mce-auth-link-btn:disabled { color: #C9BBAA; cursor: default; }

.mce-auth-message {
	margin-top: 16px;
	font-size: 13px;
	min-height: 18px;
}
.mce-auth-message.mce-auth-error { color: #8C3A3A; }
.mce-auth-message.mce-auth-success { color: #3A7A4A; }

.mce-auth-already { text-align: center; padding: 30px; font-family: IRANSans, Tahoma, sans-serif; }
.mce-auth-already a { color: #6B4630; font-weight: 700; }

@media (max-width: 480px) {
	.mce-auth-box { margin: 20px 14px; padding: 26px 18px; }
}
