@font-face {
  font-family: "IRANSans";
  src: url("./assets/fonts/IranSans/IRANSansMobile.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("./assets/fonts/IranSans/IRANSansMobile_Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("./assets/fonts/IranSans/IRANSansMobile_Black.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("./assets/fonts/IranSans/IRANSansMobile_Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("./assets/fonts/IranSans/IRANSansMobile_UltraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  font-family: "IRANSans", sans-serif;
  font-variant-numeric: lining-nums;
  unicode-bidi: embed;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 470px;
  overflow-x: hidden;
  max-height: 100vh;
  overflow-y: auto;
}

.card {
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

button,
input:not([class="iti__search-input"]),
span {
  border-radius: 12px !important;
  border-color: #00000033 !important;
}

#edit-username {
  border: 1px solid #3c4cff !important;
  border-radius: 17px !important;
}

input:not([class="iti__search-input"]) {
  height: 48px;
}

.btn {
  height: 40px;
}

.btn-primary {
  background-color: #3c4cff;
  border: none;
  color: #fff;
}

.text-primary {
  color: #3c4cff !important;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin-left: 12%;
  margin-right: 12%;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #000;
  opacity: 0.25;
}

.separator:not(:empty)::before {
  margin-right: 0.25em;
}

.separator:not(:empty)::after {
  margin-left: 0.25em;
}

.iti {
  width: 100%;
}

.form-control.valid {
  border-color: green !important;
}

.form-control.invalid {
  border-color: red !important;
}

body[dir="ltr"] .input-icon-l {
  width: 20px;
  height: 20px;
  z-index: 100;
  position: absolute;
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
}

body[dir="ltr"] .input-icon-r {
  width: 20px;
  height: 20px;
  z-index: 100;
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
}

body[dir="rtl"] .input-icon-l {
  width: 20px;
  height: 20px;
  z-index: 100;
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
}

body[dir="rtl"] .input-icon-r {
  width: 20px;
  height: 20px;
  z-index: 100;
  position: absolute;
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
}

.cursor-pointer {
  cursor: pointer;
}

div.danger ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media only screen and (max-width: 600px) {
  .card {
    border: none;
    box-shadow: none;
  }

  #privacy-policy-div {
    margin-top: 4px !important;
  }
}
