@font-face {
  font-family: "IRANYekanXFa";
  src: url("../../../fonts/login/farsi/IRANYekanXFaNum-DemiBold.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}


@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-ExtraBlack.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-DemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanXEn";
  src: url("../../../fonts/login/IRANYekanX-Bold.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../../../fonts/login/IRANYekanX-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

/* toast */
.toast {
  direction: ltr;
  padding: 12px 16px !important;
  gap: 12px !important;
  border-radius: 16px !important;
  font-family: IRANYekanXFa;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  box-shadow: none;
}

.toast > button {
  margin-right: 16px;
}

/* Modal container */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  /* Dark background */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  margin: 4% auto;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #888;
  width: 40%;
  text-align: right;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s;
}

.guideText {
  line-height: 26px;
  font-size: 14px;
  color: #a94442;
  font-weight: 400;
  line-height: 28px;
  font-variation-settings: "dots" 2;
  color: #4f565c;
}

.modalHeader {
  min-height: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18.2px;
}

.guideTitle {
  margin-right: 42px;
}

.guideTitle::before {
  content: url("../../../images/newIcons/info.svg");
  position: absolute;
  transform: translate(100%, -28%);
}

.close {
  position: relative;
  transform: translate(-20%, -90%);
  float: left;
  cursor: pointer;
  font-weight: bold;
  width: 28px;
}

.close2 {
  transform: translate(-60%, -30%);
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

.forgotIcon {
  position: absolute;
  float: right;
}

.forgotTitle {
  margin-right: 16px;
}

.forgotTitle::before {
  content: url("../../../images/dynamic/login/forgotPassFormIcon.svg");
  position: absolute;
  transform: translate(100%, -28%);
}

.forgotModal {
  width: 30% !important;
  margin: 15% auto !important;
}

.modalBody {
  margin-top: 16px;
  border: 1px #e1e3e5 solid;
  border-radius: 16px;
  padding: 12px;
  background: #f0f3f5;
  padding: 16px;
  border-radius: 20px;
}

.forgotForm {
  display: flex;
  justify-content: center;
}

.forgotForm form {
  width: 90%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  gap: 16px;
}

.forgotForm > form > input {
  font-family: "IRANYekanX" !important;
  padding: 8px;
  margin: 0 8px;
  border-radius: 10px;
  border: 1px #abafb2 solid;
  width: 100%;
}

.forgotForm > form > button {
  width: 100%;
}

.forgotFormUsernameLbl {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

/* Modal open animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal close animation */
@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family: "IRANYekanX" !important;
  direction: rtl;
  background-color: #fff;
  height: 100vh;
}

.container {
  display: flex;
  flex-direction: row-reverse;
  height: 100vh;
}

.main-page .left-side {
  width: 56%;
  /* height: 100vh; */
  background-color: #1c39bb;
  overflow: hidden;
  position: relative;
}

.main-page .right-side {
  width: 44%;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("../../../images/dynamic/login/Vector.png") no-repeat -109px 5px;
}

@media (min-width: 1441px) {
  .LogIn-page .left-side {
    height: 100vh;
  }
}

@media (max-width: 768px) {
  /* تغییرات برای تبلت */
  .main-page {
    flex-direction: column-reverse;
    align-items: center;
  }

  .main-page .left-side {
    width: 100%;
    height: auto;
  }

  .back-section {
    padding: 12px 21px 0 0;
  }

  .main-page .right-side {
    width: 100%;
    height: auto;
    margin-bottom: 100px;
  }

  .main-page .logo {
    margin: 25px 0;
  }

  .modal-content {
    width: 60%;
  }
}

@media (max-width: 480px) {
  /* تغییرات برای موبایل */

  .toast {
    max-width: calc(75%) !important;
  }

  .main-page {
    flex-direction: column-reverse;
  }

  .main-page .left-side {
    width: 100%;

    height: 100vh;
  }

  .main-page .logo {
    margin: 25px 0;
  }

  .main-page .right-side {
    width: 100%;
    height: 100vh;
  }

  .header_name_school p,
  .info-chat p,
  .copyright {
    text-align: center;
  }

  .modal-content {
    width: 80%;
  }

  .forgotModal {
    width: 80% !important;
  }

  .container {
    height: unset;
  }
}

/* end main page */
/* --------------- */
/* --------------- */
/* start LogIn - UserPass */

.LogIn-page .left-side {
  width: 56%;
  /* height: 100vh; */
  background-color: #1c39bb;
  overflow: hidden;
  position: relative;
}

.header_name_school {
  background-color: #1831a1;
  padding: 24px;
  text-align: center;
}

.header_name_school p {
  color: #ffffff;
}

.banner-section {
  text-align: center;
  bottom: -4px;
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.banner-section img {
  width: 50%;
  margin-left: 32px;
}

.banner-section .title {
  color: #fff;
  font-size: 48px;
  font-weight: 1000;
  line-height: 62.4px;
  text-align: center;
  font-variation-settings: "dots" 2;
}

.banner-section .desc {
  color: #bfcbff;
  font-size: 28px;
  font-weight: 900;
  line-height: 36.4px;
  text-align: right;
  font-variation-settings: "dots" 2;
  margin-bottom: 48px;
}

.info-chat {
  text-align: center;
  margin-bottom: 65px;
}

.info-chat p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.download_app {
  background-color: #1831a1;
  border-radius: 10px;
  margin-top: 16px;
  color: #ffffff;
  font-family: "IRANYekanX";
  border: none;
  padding: 15px 47px 15px 24px;
  position: relative;
  text-align: center;
  width: 205px;
  font-size: 14px;
  cursor: pointer;
}

.download_app img {
  position: absolute;
  top: 13px;
  right: 34px;
}

.copyright {
  color: #bfcbff;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  position: absolute;
  bottom: 16px;
  left: 24px;
}

.LogIn-page .right-side {
  width: 44%;
  display: flex;
  flex-direction: column;
  background: url(../../../images/dynamic/login/Vector.png) no-repeat -109px 5px;
  align-items: center;
  justify-content: center;
}

.back-section {
  width: 100%;
  padding: 40px 64px 0 0;
  position: absolute;
  top: 0px;
  right: 0px;
}

.back-section a {
  padding-right: 33px;
  position: relative;
  color: #00c2c2;
  font-size: 12px;
  font-weight: 400;
  line-height: 15.6px;
}

.back-section a:before {
  content: url("../../../images/dynamic/login/arrow-right.svg");
  position: absolute;
  top: -2px;
  right: 0px;
}

.LogIn-page .logo {
  text-align: center;
  margin: 44px 0;
}

.LogIn-page .info-box h2 {
  color: #2b2f33;
  font-size: 20px;
  font-weight: 600;
  word-wrap: break-word;
  text-align: center;
}

.LogIn-page .info-box p {
  color: #4f565c;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
  margin-top: 16px;
  text-align: center;
}

.login-container {
  background-color: #fff;
  border-radius: 8px;
  width: 335px;
}

.tab-switch {
  margin: 8px auto;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  background-color: #f0f3f5;
  width: 335px;
  border-radius: 12px;
  padding: 4px 6px;
}

.tab-btn {
  font-size: 14px;
  font-weight: 500;
  line-height: 18.2px;
  text-align: center;
  font-family: "IRANYekanX";
  background-color: #f0f0f0;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  width: 163px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-btn.active {
  background-color: #ffffff;
  font-weight: 600;
  font-family: "IRANYekanX";
  height: 40px;
  border-radius: 8px;
}

.form-container {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.form-container label {
  font-size: 14px;
}

/* icon in placeholder */
.input-container {
  position: relative;
  margin-bottom: 16px;
}

.input-container-phone {
  position: relative;
  margin-bottom: 16px;
}

.input-container input {
  width: 100%;
  padding-left: 35px;
  /* فضا برای آیکون */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.input-container input:focus-visible {
  outline: none;
}

.input-container::before {
  content: url("../../../images/dynamic/login/user.svg");
  position: absolute;
  right: 3%;
  top: 62%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}

.input-container-phone::before {
  content: url("../../../images/dynamic/login/phone-call.svg");
  position: absolute;
  right: 3%;
  top: 62%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}

.passwordInput::before {
  content: url("../../../images/dynamic/login/Key.svg");
}

.captcha-container::before {
  content: url("../../../images/dynamic/login/Password.svg");
}

#captcha_img {
  position: absolute;
  height: 36px;
  top: 20%;
  left: 4px;
  border-radius: 10px;
}

#toggle-password::after {
  content: url("../../../images/dynamic/login/Eye.svg");
  /* آیکون چشم باز */
  position: absolute;
  left: 12px;
  /* تنظیم موقعیت آیکون */
  top: 62%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  cursor: pointer;
}

.password-visible#toggle-password::after {
  content: url("../../../images/dynamic/login/eye-close.svg") !important;
  /* آیکون چشم بسته */
}

/* icon in placeholder */
.form-container input {
  width: 100%;
  height: 44px;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #e1e3e5;
  border-radius: 10px;
  font-size: 12px;
  font-family: "IRANYekanX";
  padding-right: 40px;
}

.submit-btn {
  background-color: #00c2c2;
  color: white;
  padding: 12px 16px 12px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "IRANYekanX";
}

.submit-btn:disabled {
  opacity: 0.3;
  cursor: unset;
}

.sendSMS-btn {
  margin-top: 8px;
  display: none;
  background-color: #fff;
  color: #00c2c2;
  padding: 8px 8px;
  border: 1px #00c2c2 solid;
  border-radius: 10px;
  cursor: pointer;
  font-family: "IRANYekanXFa";
}

.sendSMS-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
  border: none;
}

.forgot-password {
  padding-top: 16px;
}

.help-forgot {
  display: flex;
  padding-top: 16px;
  justify-content: space-between;
}

.help-forgot a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.help {
  color: #b6bcc2 !important;
  cursor: pointer;
}

.message-box {
  background-color: #ffffff;
  margin-top: 48px;
  border-radius: 12px;
  border: 1px solid #f0f3f5;
}

.message-header {
  display: flex;
  margin-bottom: 10px;
  position: relative;
  padding: 15px 4px 0px 12px;
  height: 48px;
}

.message-header .arrow {
  position: absolute;
  left: 8px;
  cursor: pointer;
}

.message {
  border-top: 1px solid #f0f3f5;
  display: none;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.message-header span {
  color: #b6bcc2;
}

/* برای باز و بسته شدن  */

.message-box ul {
  list-style-position: inside;
}

.message-box ul li {
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

@media (min-width: 1441px) {
  .LogIn-page .left-side {
    height: 100vh;
  }
}

@media (max-width: 768px) {
  /* تغییرات برای تبلت */
  .LogIn-page {
    flex-direction: column-reverse;
    align-items: center;
  }

  .LogIn-page .left-side {
    width: 100%;
    height: auto;
  }

  .back-section {
    padding: 12px 21px 0 0;
  }

  .LogIn-page .right-side {
    width: 100%;
    height: auto;
  }

  .login-container {
    width: 68%;
  }

  .download_app {
    width: 30%;
  }

  .copyright {
    position: static;
    margin-top: 20px;
  }

  .LogIn-page .logo {
    margin: 25px 0;
  }
}

@media (max-width: 480px) {
  /* تغییرات برای موبایل */

  .LogIn-page {
    flex-direction: column-reverse;
  }

  .LogIn-page .left-side {
    display: none;
  }

  .LogIn-page .logo {
    margin: 25px 0;
  }

  .back-section {
    padding: 12px 21px 0 0;
  }

  .form-container {
    margin: 30px;
  }

  .LogIn-page .right-side {
    width: 100%;
    height: 80vh;
  }

  .tab-switch {
    width: 90%;
    margin-top: 40px;
  }

  .header_name_school p,
  .info-chat p,
  .copyright {
    text-align: center;
  }

  .submit-btn {
    width: 100%;
  }

  .sendSMS-btn {
    width: 100%;
  }

  .login-container {
    width: 100%;
  }

  .banner-section img {
    width: 85%;
  }

  .message-box {
    margin: 30px;
  }

  .copyright {
    text-align: center;
    margin-bottom: 10px;
  }

  .download_app {
    width: 50%;
  }

  .logoH {
    content: url("../../../images/dynamic/login/logoV.svg");
  }

  .back {
    display: none;
  }
}

@media (max-width: 380px) {
  .LogIn-page .right-side {
    height: auto;
  }
}

/* End LogIn - UserPass */
/* --------------- */
/* --------------- */
/* start LogIn - UserPass */
