@charset "utf-8";
/* CSS Document */
@font-face {
	font-family:'VazirRegular';
	src: url('fonts/BKoodakBold.eot');
	src: url('fonts/BKoodakBold.eot?#') format('eot'),
		 url('fonts/BKoodakBold.woff') format('woff'),
		 url('fonts/BKoodakBold.ttf') format('truetype');
}
body {
	margin: 0;
}
.ParentBoxPage {
	margin-top: 0;
	height: 100%;
	position: absolute;
	width: 360px;
	right: 100px;
	display: flex;
	align-items: center;
}
#BoxPage{
	width: 100%;
	height: 100%;
	position: relative;
}
#BannerPage{
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
#bg_caprion{
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.6);
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	left:5%;
	bottom: 5%;
	padding:10px;
	font:normal 16px/25px 'VazirRegular', Tahoma, Geneva, sans-serif;
	color:#FFF;
}
.parent-BoxTotalLogin {
	position: absolute;
	z-index: 2;
	width: 360px;
	right: 100px;
	height: 100%;
	display: flex;
	align-items: center;
}
#BoxTotalLogin{
	padding: 25px;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 1px 16px 0 rgba(0,0,0,.12);
}
#LabelNewVer{
	float: right;
	width: 300px;
	text-align: center;
	margin-bottom: 10px;
	font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
	font-size: 20px;
	color: #FF0000;
}
#Logo360{
	height: 42px;
	text-align: center;
}
#Logo360 img{
	width: 195px;
	height: 42px;
	border: 0px;
	margin: 0px;
	padding: 0px;
}
.InputLogin{
	background: #eee;
	border-radius: 10px;
	padding: 0 15px;
	color: #333;
	font-size: 16px;
	height: 50px;
	width: 100%;
	outline: none;
	box-shadow: none;
	border: 1px solid #dcdcdc;
	text-align: right;
	font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
}
#formLoginAt {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}
.CaptchBox{
	border: 1px solid #dcdcdc;
	border-radius: 10px;
	display: flex;
	align-items: center;
	position: relative;
	padding: 0 15px;
	direction: rtl;
}
.CaptchBox a {
	width: 24px;
}
.CaptchBox a img {
	width: 100%;
}
.CaptchBox .InputLogin {
	height: 48px;
	border: none;
	border-radius: 0 10px 10px 0;
	width: 110px;
	padding: 0;
	margin-left: auto;
	background: transparent;
}
.CaptchBox span{
	float: right;
	font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
	font-size: 17px;
	text-align: right;
}
#siimage{
	float: right;
	width: 110px;
    height: 38px;
	margin: 0 auto 0 5px;
	padding: 0px;
}
.fromlogin #code{
	margin: 0px;
}
.login_submit{
    float: right;
    font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
    font-size: 16px;
    color: #fff;
	direction: rtl;
	text-align: center;
    background: #c62828;
    cursor: pointer;
    border: none;
	border-radius: 10px;
	width: 100%;
	padding: 8px 16px;
}
#login_submit2{
	float: right;
    font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
    font-size: 16px;
    color: #fff;
	direction: rtl;
	text-align: center;
    cursor: pointer;
    border: none;
	background: #b0b0b2;	
	width: 300px;
	height: 32px;
	margin: 0px;
	padding: 3px 0px 0px 0px;
}
#login_submit2 a,#login_submit2 a:hover{
	color: #fff;
	text-decoration: none;
	margin: 0px;
	padding:0px;
}
#AlertLogin {
	float: right;
	height: 30px;
	width: 280px;
	font-family: 'VazirRegular', Tahoma, Geneva, sans-serif;
	font-size: 18px;
	text-align: center;
	color: #fff;
	background: #ff0010;
	padding: 10px;
	cursor: pointer;
	margin: 20px 0px 0px 0px;
	border: none;
	display: none;
}

@media (max-width: 767px) {
	.parent-BoxTotalLogin {
		position: relative;
		right: unset;
	}
	#BoxPage {
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 576px) {
	#BannerPage {
		display: none;
	}
	#BoxPage {
		background: #eee;
	}
}


/* استایل اصلی فرم */
.fromlogin {
   
    font-family:'VazirRegular', Tahoma, Geneva, sans-serif;
    direction: rtl;
}

/* گروه‌های فرم */
.fromlogin .form-group {
    margin-bottom: 20px;
}

/* هدر فرم */
.fromlogin .form-group .text-center {
    text-align: center;
}

.fromlogin h5.text-info {
    color: #17a2b8;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fromlogin .text-muted {
    color: #6c757d;
    font-size: 13px;
}

.fromlogin .small {
    font-size: 12px;
}

/* استایل اینپوت کد */
.fromlogin .form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 24px;
    letter-spacing: 10px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: monospace;
    direction: ltr;
}

.fromlogin .form-control:focus {
    outline: none;
    border-color: #17a2b8;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
    background: #fff;
}

/* استایل دکمه تایید و ورود */
.fromlogin .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.fromlogin .btn-block {
    display: block;
    width: 100%;
}

.fromlogin .LoginAuto {
    color: #fff;
    background-color: #c62828;
    border-color: #17a2b8;
}

.fromlogin .LoginAuto:hover {
    background-color: #c62828;
    transform: translateY(-1px);

}

.fromlogin .LoginAuto:active {
    transform: translateY(0);
}

.fromlogin .LoginAuto:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* لینک‌ها */
.fromlogin .text-center a {
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    display: inline-block;
}

.fromlogin .text-primary {
    color: #c62828;
}

.fromlogin .text-primary:hover {
    color: #138496;
    text-decoration: underline;
}

.fromlogin .text-muted {
    color: #6c757d;
}

.fromlogin .text-muted:hover {
    color: #5a6268;
}

/* فوتر لینک‌ها */
.fromlogin .mt-2 {
    margin-top: 8px;
}

.fromlogin .mt-3 {
    margin-top: 12px;
}

.fromlogin .mt-4 {
    margin-top: 16px;
}

/* آیکون‌ها */
.fromlogin .fa {
    margin-left: 5px;
}

/* تایمر OTP */
.otp-timer {
    text-align: center;
    font-size: 14px;
}

.otp-timer .text-muted {
    color: #6c757d;
}

.otp-timer .text-danger {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

.otp-timer .text-warning {
    color: #ff9800;
}

/* انیمیشن برای نمایش فرم */
.fromlogin {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل برای خطاها */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}

/* استایل برای وضعیت غیرفعال لینک ارسال مجدد */
.resend-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
    .fromlogin {
        margin: 10px;
        padding: 20px 15px;
    }
    
    .fromlogin .form-control {
        font-size: 20px;
        letter-spacing: 8px;
        padding: 10px;
    }
    
    .fromlogin .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .fromlogin h5.text-info {
        font-size: 16px;
    }
}

