@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/IRANSansWeb(FaNum)_Light.woff2") format("woff2");
}

@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/IRANSansWeb(FaNum).woff2") format("woff2");
}

@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/IRANSansWeb(FaNum)_Medium.woff2") format("woff2");
}

@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Line Awesome Free";
  font-style: normal;
  font-weight: 900;
  src: url("./fonts/la-solid-900.woff2") format("woff2");
}

:root {
  --ink: #1f2476;
  --muted: #9b9da5;
  --line: #f1f2f5;
  --field: #f7f7f8;
  --accent: #f28a00;
  --button-start: #4da3ff;
  --button-end: #72a9f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: IRANSans, Tahoma, Arial, sans-serif;
  color: #333747;
  background: #f1f1f2;
}

.page-shell {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 108px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.page-shell::before {
  right: -265px;
  top: 145px;
}

.page-shell::after {
  left: -210px;
  bottom: -160px;
}

.login-card {
  width: min(500px, 100%);
  min-height: 548px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 30px 24px;
  background: #fff;
  border: 1px solid rgba(238, 238, 240, 0.9);
  border-radius: 5px;
  box-shadow: 0 32px 72px rgba(30, 35, 60, 0.12);
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  width: 24px;
  height: 24px;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #4f5562;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

.pod-word {
  color: #8f96ad;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.brand {
  margin-top: 26px;
  margin-bottom: 28px;
}

.brand-logo {
  width: 200px;
  max-width: 78vw;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.intro {
  width: min(440px, 100%);
  margin: 0 0 18px;
  color: #303447;
  font-size: 14px;
  line-height: 1.9;
  text-align: right;
}

.intro strong,
.intro .highlight {
  color: var(--ink);
  font-weight: 800;
}

.login-form {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.field {
  width: 100%;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 11px;
  padding: 9px 14px;
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 4px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.field span {
  margin-bottom: 6px;
  color: #686d78;
  font-size: 12px;
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #2f3440;
  direction: ltr;
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  font-size: 13px;
  text-align: left;
  font-variant-numeric: lining-nums;
}

.field input::placeholder {
  color: #a8abb3;
  direction: rtl;
  font-family: IRANSans, Tahoma, Arial, sans-serif;
  opacity: 1;
  text-align: right;
}

.submit-button {
  width: 232px;
  height: 43px;
  margin-top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 12px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--button-start), var(--button-end));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(67, 151, 243, 0.2);
}

.la {
  display: inline-block;
  font-family: "Line Awesome Free";
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  text-rendering: auto;
}

.la-door-open::before {
  content: "\f52b";
}

.la-globe-africa::before {
  content: "\f57c";
}

.submit-button .la {
  font-size: 19px;
  margin-bottom: -2px;
}

.form-error {
  display: none;
  margin: 26px auto 0;
  color: #ff1656;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.form-error.is-visible {
  display: block;
}

.forgot-link {
  margin-top: 32px;
  margin-bottom: 20px;
  color: #555b6e;
  text-decoration: none;
  font-size: 13px;
}

.forgot-link:hover,
.account-link:hover,
.language:hover {
  color: var(--ink);
}

.card-footer {
  width: min(440px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  gap: 20px;
  color: #4c5263;
  font-size: 13px;
}

.card-footer p {
  margin: 0;
}

.card-footer bdi {
  direction: ltr;
  font-family: Ubuntu, Arial, sans-serif;
  unicode-bidi: isolate;
}

.language {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  flex-direction: row-reverse;
  gap: 7px;
  color: #93969e;
  text-decoration: none;
}

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

@media (max-width: 680px) {
  .page-shell {
    padding: 24px 14px;
  }

  .page-shell::before,
  .page-shell::after {
    width: 360px;
    border-width: 72px;
  }

  .login-card {
    min-height: 558px;
    padding: 24px 18px 24px;
  }

  .brand {
    margin-top: 26px;
    margin-bottom: 30px;
  }

  .brand-logo {
    width: 196px;
  }

  .intro {
    font-size: 14px;
  }

  .field {
    min-height: 56px;
  }

  .submit-button {
    width: min(232px, 100%);
  }

  .card-footer {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .language {
    gap: 5px;
  }

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