@font-face {
  font-family: 'Vazirmatn';
  src: url('font/Vazirmatn-Bold.eot');
  src: url('font/Vazirmatn-Bold.eot?#iefix') format('embedded-opentype'),
    url('font/Vazirmatn-Bold.woff2') format('woff2'), url('font/Vazirmatn-Bold.woff') format('woff'),
    url('font/Vazirmatn-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('font/Vazirmatn-Regular.eot');
  src: url('font/Vazirmatn-Regular.eot?#iefix') format('embedded-opentype'),
    url('font/Vazirmatn-Regular.woff2') format('woff2'),
    url('font/Vazirmatn-Regular.woff') format('woff'),
    url('font/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.messagebox * {
  box-sizing: border-box;
}
.messagebox {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  text-align: center;
  font-family: 'Vazirmatn';
  color: #383838;
  padding: 0 16px;
  box-sizing: border-box;
  background: #fdfdfd;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.messagebox .headline {
  font-family: 'Vazirmatn';
  font-size: 20px;
  font-weight: bold;
  font-weight: 700;
  line-height: 30px;
  margin-top: 47px;
  padding: 10px 16px;
}
.messagebox #safari .headline {
  margin-bottom: 39px;
}
.messagebox .description {
  font-family: 'Vazirmatn';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 20px;
}
.messagebox .steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.messagebox .steps .step {
  height: 48px;
  align-items: center;
  border-radius: 12px;
  background: #f6f6f6;
  display: flex;
  gap: 10px;
  padding: 0 10px;
}
.messagebox .steps .step .num {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  width: 34px;
  text-align: center;
}
.messagebox .steps .step .stepinfo {
  flex: 1;
  text-align: left;
  font-size: 14px;
}
.messagebox .btn {
  width: 100%;
  display: block;
  text-align: center;
  font-family: 'Vazirmatn';
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
  border-radius: 31px;
  background: #ff375b;
  color: #fff;
  border: 0;
  text-decoration: none;
}
.messagebox .btn.type2 {
  border: 1px solid #ff375b;
  background: #fdfdfd;
  color: #ff375b;
}
.messagebox .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  padding: 0 16px;
}
.messagebox .selectlang{
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff375b;
}
.messagebox .selectlang button{
  background: none;
  border: 0;
  padding: 15px 10px;
  cursor: pointer;
  color: #ff375b;
  font-weight: bold;
  opacity: 0.5;
}
.messagebox .selectlang button.active{
  opacity: 1;
}
::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  position: absolute;
  right: 0;
}
.messagebox.fa {
  direction: rtl;
}
.messagebox.fa .steps .step .stepinfo{
  text-align: right;
}
.messagebox.fa .selectlang{
  direction: ltr;
}
@media (prefers-color-scheme: dark) {
  .messagebox .description{
    color: white;
  }
}
@media screen and (max-height: 715px) {
  .messagebox .selectlang {
    margin-top: 0;
  }
}
@media screen and (max-height: 840px) {
  .messagebox .headline {
    margin-top: 0;
  }
}