* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #19264b;
  direction: rtl;
}
.auth-card {
  background: #fff;
  width: min(100% - 32px, 575px);
  border: 1px solid #dedfe4;
  border-radius: 23px;
  padding: 30px 38px 35px;
  box-shadow: 0 14px 36px #1111;
}
.auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ef1744;
  font-size: 35px;
  font-weight: 900;
  text-decoration: none;
  margin: 0 0 27px;
}
.auth-logo svg {
  width: 76px;
  height: 44px;
}
.auth-card h1 {
  font-size: 23px;
  margin: 0 0 12px;
}
.intro {
  font-size: 14px;
  color: #8490a4;
  line-height: 2.1;
  margin: 0 0 27px;
}
.auth-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 19px 0 10px;
}
.auth-card input {
  width: 100%;
  height: 60px;
  border: 1px solid #c5c9d1;
  border-radius: 13px;
  padding: 0 16px;
  outline: none;
  font: inherit;
  direction: rtl;
}
.auth-card input:focus {
  border-color: #ef4056;
  box-shadow: 0 0 0 3px #ef405620;
}
.auth-card input[type="email"] {
  direction: ltr;
  text-align: left;
}
.submit {
  width: 100%;
  height: 60px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: #ef4056;
  color: white;
  font:
    700 19px Vazirmatn,
    Tahoma;
  cursor: pointer;
}
.submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.switch {
  text-align: center;
  font-size: 14px;
  color: #555d6e;
  margin: 22px 0 0;
}
.switch a {
  color: #00a5c0;
  font-weight: 700;
}
.form-message {
  font-size: 13px;
  min-height: 16px;
  color: #d82842;
  margin: 10px 0 0;
}
.form-message.ok {
  color: #087c58;
}
@media (max-width: 600px) {
  .auth-card {
    padding: 25px 20px;
  }
  .auth-logo {
    font-size: 29px;
  }
  .auth-card input {
    height: 54px;
  }
}
.password-visibility {
  display: flex;
  align-items: center;
  position: relative;
}
.password-visibility input {
  width: 100%;
  padding-left: 80px !important;
}
.password-eye {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #f1f2f4;
  color: #334155;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.password-eye:hover {
  background: #e2e8f0;
}
