﻿@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebBoldfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebThin.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebLightfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebRegularfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebMediumfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebExtraBoldfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebBlackfanum.woff") format("woff");
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/../fonts/woff/IRANYekanWebExtraBlackfanum.woff") format("woff");
}
.font-9 {
  font-size: 9px;
}

.font-10 {
  font-size: 10px;
}

.font-11 {
  font-size: 11px;
}

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

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-15 {
  font-size: 15px;
}

.font-16 {
  font-size: 16px;
}

.font-17 {
  font-size: 17px;
}

.font-18 {
  font-size: 18px;
}

.font-19 {
  font-size: 19px;
}

.font-20 {
  font-size: 20px;
}

html, body {
  overflow-x: hidden !important;
  height: 100%;
}

.persianfont {
  margin: 0;
  padding: 0;
  font-family: "iranyekan", tahoma;
  font-size: 14px;
  word-spacing: -1px;
  height: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b6d3ff;
}

.container {
  max-width: 100%;
}

.login__form {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  min-height: 80vh;
}

.login__form__img img {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  font-family: "iranyekan", tahoma;
}

.login__form__right {
  padding: 2rem;
}

.login__form__right h1 {
  margin-bottom: 2rem;
}

.login__form__right form input,
.login__form__right form button {
  width: 100%;
  margin-bottom: 1rem;
  border: 2px solid #cdd9ea;
  padding: 0.6rem;
  border-radius: 5px;
  outline: none;
}

.login__form__right form input:focus {
  border: 2px solid rgb(62, 125, 251);
  box-shadow: 0 0 0px 2px rgba(62, 125, 251, 0.2);
}

.login__form__right form label {
  color: #989b9f;
  font-size: 0.8rem;
}

.login__form__right form button {
  background-color: rgb(62, 125, 251);
  border: none;
  color: #fff;
  font-size: 1rem;
  margin-top: 1rem;
  padding: 0.7rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login__form__right form button:hover {
  background-color: rgb(23, 81, 197);
}

@media screen and (min-width: 768px) {
  .login__form {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
  }
  .login__form__right {
    padding: 5rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .login__form__img {
    width: 50%;
  }
  .login__form__img img {
    height: 90vh;
    width: 100%;
    display: block;
  }
}
