html {
  direction: rtl;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #000;
  background: #fff;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
a {
  text-decoration: none;
  font-weight: bold;
  color: var(--primary) !important;
}
a:hover {
  transition: all 0.3s;
  color: var(--secondary-hover);
}
::placeholder {
  opacity: 1;
  color: #000;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
:-ms-input-placeholder {
  color: #000;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
::-ms-input-placeholder {
  color: #000;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
.mdc-text-field-helper-text {
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
.form-item {
  position: relative;
  margin-bottom: 20px;
}
.form-item label {
  width: 100%;
}
.form-item .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
  color: var(--secondary);
}
.form-item .mdc-text-field--disabled .mdc-floating-label {
  color: rgba(0, 0, 0, .38);
}
.form-item .mdc-floating-label {
  color: #000;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
}
.form-item.has-error input {
  color: var(--danger);
  border-color: var(--danger);
}
.form-item.form-message {
  padding: 10px 0;
  line-height: 1.6;
  font-size: 0.8rem;
}
.otp-items {
  display: flex;
  justify-content: space-around;
}
.otp-items .otp-item input {
  font-size: 2rem;
}
.otp-items .otp-item {
  margin: 0 10px;
}
.otp-items .otp-item:last-child {
  margin-left: 0;
}
.otp-items .otp-item:first-child {
  margin-right: 0;
}
.container {
  display: flex;
  margin: 0 auto;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}
.page-content {
  width: 100%;
  padding: 15px;
}
.logo-container {
  background-size: 250px 114px !important;
  background-repeat: no-repeat;
  background-position: center center;
  height: 114px;
  text-align: center;
}
.logo-container img {
  margin: 0 auto;
}
.page-title-container {
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  margin: 15px 0 15px;
  padding: 15px 0 20px;
  text-align: center;
}
.page-title {
  font-size: 1.4rem;
  margin-bottom: 0px;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 600;
}
.page-subtitle {
  font-size: 0.9rem;
}

.platforms {
  margin-top: 30px;
  margin-bottom: 20px;
}
.platforms .wrapper {
  margin: 0 auto;
  text-align: center;
}
.platforms .platform {
  width: 70px;
  height: 70px;
  display: inline-block;
  border-radius: 70px;
  background: #F2F2F2 center center no-repeat padding-box;
  border: 3px solid #FFFFFF;
  opacity: 1;
  text-align: center;
  font-weight: 900;
  padding: 24px 20px;
  margin-right: -35px;
  background-blend-mode: luminosity;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.platforms .platform:hover {
  background-blend-mode: normal;
  background-color: #e8e8e8;
  z-index: 999;
}
.platforms .platform:first-child {
  margin-right: 0;
}
.platforms .platform .tooltip:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 52px;
  top: -8px;

  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-bottom: 8px solid #e8e8e8;
}
.platforms .platform .tooltip {
  display: none;
  position: absolute;
  margin: 0 auto;
  padding: 10px;
  right: -28px;
  top: 72px;
  width: 120px;
  height: 35px;
  border-radius: 5px;
  background: #e8e8e8;
}
.platforms .platform:hover .tooltip {
  display: block;
}
.platforms .platform .tooltip .title {
  font-weight: 900;
  font-size: 0.85em;
}
.platforms .platform .tooltip .slogan {
  font-weight: normal;
  margin: 3px 0 5px;
}
.platforms .platform .tooltip .url a {
  font-weight: bold;
  color: var(--primary) !important;
}
.submit-btn {
  width: 100%;
  height: 50px;
  letter-spacing: 0;
  font-size: 1.1rem;
  border-radius: 8px;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 800;
}
.submit-btn.primary {
  background: var(--primary);
}
.submit-btn.primary:hover {
  background: var(--primary-hover);
}
.submit-btn.secondary {
  background: var(--secondary);
}
.submit-btn.secondary:hover {
  background: var(--secondary-hover);
}
.submit-btn[disabled] {
  cursor: not-allowed;
  color: var(--dark-gray);
  background: var(--gray) !important;
}
.main-icon {
  width: 100px;
  display: flex;
  height: 100px;
  margin: 30px auto;
  border-radius: 50%;
  background: #f7f7f7;
  align-items: center;
  justify-content: center;
}
.main-icon img {
  width: 64px;
}
.user-avatar {
  padding: 40px 0;
  text-align: center;
}
.user-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-30 {
  margin-bottom: 30px;
}
.text-center {
  text-align: center;
}
.error-message {
  line-height: 1.6;
  font-size: 0.85rem;
  color: var(--danger);
}

@media only screen and (min-width: 769px) {
  .page-content {
    max-width: 450px;
  }
}
@media only screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .user-avatar,
  .logo-container {
    padding: 40px 0;
  }
}
input[type=tel], input[type=email], input[name="user_identifier"], input[name="code"] {
  direction: ltr;
  text-align: left;
}

/* The alert message box */
.alert {
  padding: 5px;
  background-color: #ffd6d3;
  border: 1px solid #b13126;
  font-size: 0.9em;
  color: #b13126;
  margin-bottom: 25px;
  border-radius: 5px;
}
.closebtn {
  margin-left: 5px;
  color: white;
  font-weight: bold;
  float: left;
  font-size: 22px;
  line-height: 15px;
  letter-spacing: 5px;
  cursor: pointer;
  transition: 0.3s;
  height: 20px;
  width: 20px;
  border-radius: 20px;
  background-color: #b13126;
}
.closebtn:hover {
  color: black;
  background-color: #b13126;
}

.action-menu {
  border: 1px solid #dfdfdf; border-radius: 10px; margin: 20px 0;
}
.action-menu .item {
  display: block;
  padding: 15px;
  border-bottom: 1px solid #dfdfdf;
}
.action-menu .item:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.action-menu .item:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: none;
}
.action-menu .item:hover {
  background: rgba(0, 0, 0, 0.04);
}
