/*
	* Template name: Authfy - Responsive Login and Signup Page Template
	* Template URI: http://koder.top/demo/authfy/
	* Version: 1.0
	* Author: Farhadur Rahim
	* Author URI: https://themeforest.net/user/webmechanicx
*/

/* Table of Content
==================================================
	#01. Web Fonts
	#02. Common CSS
	#03. Section Panel UI CSS
    #04. Check box UI CSS
    #05. Responsive CSS
*/

/*--------------------*/
/* Import all style */
/*--------------------*/

    @import 'bootstrap.min.css';
    @import 'font-awesome.min.css';
    @import 'preloader.css';

/*--------------------*/
/* 01. Web Fonts */
/*--------------------*/

	@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700,900');

/*--------------------*/
/* 02. Common CSS */
/*--------------------*/

body,
html {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  background-color: #f0f2f5;
}

body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  color: #44525f;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #2d385e;

}

a:focus {
  outline: none;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-family: 'Titillium Web', sans-serif;
  color: #2d385e;
}

a,
a:hover,
a:focus {
  color: #4f77ff;
}

.btn-primary {
  background-color: #4f77ff;
  border-color: #4f77ff;
}

.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #486ff2;
  border-color: #486ff2;
}

.brand-logo {
  /*margin: 35px auto;*/
  margin: 10px auto 33px auto;
}

/*--------------------*/
/* 03. Section Panel UI CSS */
/*--------------------*/

.authfy-login {
  background-color: #fff;
  /*min-height: 482px;*/
  margin: 80px auto;
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
  box-shadow: 0 3px 5px rgba(0,0,0,.05);
    border-radius: 15px;
}

.authfy-login .authfy-panel {
  padding: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all .5s ease;
  opacity: 0;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
}

.authfy-panel .authfy-heading {
  margin-bottom: 30px;
}

.authfy-login .auth-title {
  font-weight: 700;
  margin-top: 0px;
}

.authfy-login .authfy-panel.active {
  opacity: 1;
  transform: translateX(0);
 -webkit-transform: translateX(0);
}

.authfy-login .social-buttons a {
  color: white;
}

.authfy-login .social-buttons a:hover {
  color: white;
  opacity: 0.9;
}

.authfy-login .social-buttons .btn-facebook {background: #3b5998;}
.authfy-login .social-buttons .btn-twitter {background: #00aced;}
.authfy-login .social-buttons .btn-google {background: #c32f10;}


.authfy-login .loginOr {
  position: relative;
  font-size: 1.5em;
  color: #aaa;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.authfy-login .loginOr .hrOr {
  background-color: #cdcdcd;
  height: 1px;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.authfy-login .loginOr .spanOr {
  display: block;
  position: absolute;
  left: 50%;
  top: -0.75em;
  margin-left: -1.5em;
  background-color: white;
  width: 3em;
  text-align: center;
}

.panel-login .remember-row {
  margin-bottom: 10px;
}

.panel-login .remember-row label {
  font-weight: normal;
  position: relative;
  cursor: pointer;
  color: #666;
  padding-left: 24px;
}

.authfy-login .forgotPwd {
  text-align: right;
  margin-top: 10px;
}

.panel-login .form-control {
  background-color: #f6f6f6;
  color: #333333;
  font-size: 15px;
  height: auto;
  position: relative;
  padding: 10px;
  outline:none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.panel-login .form-control:focus,
.panel-signup .form-control:focus,
.panel-forgot .form-control:focus  {
  border-color: #4f77ff;
  z-index: 2;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.loginForm input[type="email"],
.loginForm .email {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.loginForm input[type="password"],
.loginForm .password {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.authfy-panel.panel-forgot {
  padding-top: 10px;
}

.panel-signup .form-control,
.panel-forgot .form-control {
  background-color: #fff;
  color: #333333;
  font-size: 18px;
  height: 50px;
  margin-bottom: 20px;
  padding: 12px 22px;
  border-radius: 3px;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1),0 0 2px 0 rgba(0,0,0,0.1);
  border: solid 1px #bcc2ce;
  outline: none;
}

.pwdMask,.pwdMask1 {
  position: relative;
}

.pwdMask .pwd-toggle,.pwdMask1 .pwd-toggle1 {
  color: #cccccc;
  position: absolute;
  z-index: 2;
}

.panel-login .pwdMask .pwd-toggle,.panel-login .pwdMask1 .pwd-toggle1 {
  top: 12px;
  right: 15px;
}

.panel-signup .pwdMask .pwd-toggle,.panel-signup .pwdMask1 .pwd-toggle1 {
  top: 15px;
  right: 15px;
}

.pwdMask .pwd-toggle:hover,
.pwdMask .pwd-toggle:focus,.pwdMask1 .pwd-toggle1:hover,
.pwdMask1 .pwd-toggle1:focus {
  cursor: pointer;
}

.pwdMask .pwd-toggle:hover,
.pwdMask .pwd-toggle:focus,
.pwdMask .pwd-toggle.fa-eye,.pwdMask1 .pwd-toggle1:hover,
.pwdMask1 .pwd-toggle1:focus,
.pwdMask1    .pwd-toggle1.fa-eye {
  color: #4f77ff;
}

.panel-signup .term-policy a {
  text-decoration: underline;
}

/*--------------------*/
/* 04. Check box UI CSS */
/*--------------------*/

.checkbox input[type="checkbox"] {
  position: absolute;
  right: 9000px;
}

.checkbox input[type="checkbox"] + .label-text:before,
.checkbox input[type="checkbox"] + .label-text:after {
  font-size: 11px;
  display: inline-block;
  width: 17px;
  height: 17px;
  padding: 2px;
  margin-left: 0;
  position: absolute;
  top: 2px;
  left: 0;
}

.checkbox input[type="checkbox"] + .label-text:before {
  content: "";
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 3px;
  cursor: pointer;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox input[type="checkbox"] + .label-text:after {
  background-color: #4f77ff;
  color: #ffffff;
  border-radius: 2px;
  border-color: #4f77ff;
  line-height: 1.4;
}

.checkbox input[type="checkbox"] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.checkbox input[type="checkbox"]:focus + .label-text:before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.checkbox input[type="checkbox"]:checked + .label-text:after {
  font-family: "FontAwesome";
  content: "\f00c";
}

/*--------------------*/
/* 05. Responsive CSS */
/*--------------------*/

@media (min-width: 320px) and (max-width: 375px) {

    .authfy-login .authfy-panel {
      padding: 32px;
    }

    .panel-login .remember-row {
      margin-bottom: 10px;
      font-size: 14px;
    }
}

@media (max-width: 320px) {
    .authfy-login {
      height: 500px;
    }
    .authfy-heading p {
      font-size: 14px;
    }

    .remember-row .col-sm-6 {
      width: 100%;
    }

    .authfy-login .forgotPwd {
      text-align: left;
      margin-top: 0px;
    }
}


.error{
    color: #b91111;
}

.authfy-login:has(.panel-login.active) {
    height: 550px!important;
}
.authfy-login:has(.panel-signup.active) {
    height: 630px!important;
}
.authfy-login:has(.panel-signup.profile-section.active) {
    height: 1315px!important;
}
.authfy-login:has(.panel-forgot.active) {
    height: 460px!important;
}
.authfy-login:has(.otp-section.active) {
    height: 390px!important;
}
.select2-container--default .select2-selection--single {
    height: 50px!important;
    margin-bottom: 10px!important;
    padding: 9px 9px!important;
    border-radius: 3px!important;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1), 0 0 2px 0 rgba(0,0,0,0.1)!important;
    border: solid 1px #bcc2ce!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px!important;
    right: 10px!important;
}
.panel-signup .form-control, .panel-forgot .form-control{
    margin-bottom: 10px!important;
}
.panel-signup .form-group{
    margin-bottom: 20px!important;

}
.btn-register{
    margin-top: 20px;
}
input#mobile_code:focus {
    z-index: 0;
}
.iti {
    display: block!important;
}
.otp-section{
    height: 400px!important;
}
.student-role,.gender-select{
    font-size: 20px;
    margin-top: 30px;
}
.student-role .role,.gender-select .gender{
    margin-left: 10px;
}
#birthdate{
margin-bottom:0px!important; ;
}
.iti__flag-container{
    height: 50px;
    z-index: 111;
}


.otp-inputs {
    display: flex;
    margin-bottom: 20px;
    gap: 24px;
    justify-content: center;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.otp-input:focus {
    border-color: #007bff;
    outline: none;
}


#login-form .iti__flag-container{
    height: 45px!important;

}