* {
  font-family: Koodak;
  direction: rtl;
}

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

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
body {
  background-image: url("/images/login-background-desktop.png");
  background-size: cover; /* Ensures image covers the entire background */
  background-position: center; /* Positions image in the center */
  background-attachment: fixed; /* Makes the image stay fixed when zooming */
}
.container {
  background-color: #ffffff;
  position: absolute; /* Makes the div positioned relative to the viewport */
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Positions the div centered within the viewport */
  text-align: center; /* Optional: Centers the text content within the div */
  width: 590px;
  height: auto;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}
.title {
  color: black;
  font-size: xx-large;
}

.input-container {
  display: flex;
  flex-direction: column;
  width: 80%;
}
.input-container p {
  color: black;
  width: 100%;
  text-align: right;
  font-size: x-large;
  font-weight: bold;
}
.input-container input {
  border: none;
  background-color: var(--lightGray-color);
  height: 70px;
  border-radius: 25px;
  font-size: x-large;
  outline: none;
  box-shadow: none;
  padding-inline: 5%;
  text-align: center;
}

.more-actions-container {
  justify-content: space-between;
  display: flex;
  width: 80%;
}

.more-actions-container p {
  color: var(--onPrimary-color);
  font-size: large;
  cursor: pointer;
  user-select: none;
}
.error-container {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;

  margin-bottom: 20px;
}
.error-container p {
  color: red;
  font-weight: bold;
  font-size: large;
  text-align: right;
  width: 80%;
  white-space: normal;
  overflow-wrap: break-word;
}

.rules {
  margin-top: 30px;
  max-lines: 1;
}
.rules_link {
  color: var(--onPrimary-color);
  font-size: medium;
  text-decoration: none;
}
.error-container p{
display: none;
}

@media only screen and (max-width: 768px) {
  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  input[type="number"] {
    -moz-appearance: textfield;
  }
  body {
    background-image: url("/images/login-background-mobile.png");
    background-size: cover; /* Ensures image covers the entire background */
    background-position: center; /* Positions image in the center */
    background-attachment: fixed; /* Makes the image stay fixed when zooming */
  }
  .container {
    background-color: #ffffff;
    position: absolute; /* Makes the div positioned relative to the viewport */
    top: 45%;
    left: 50%;
    transform: translate(
      -50%,
      -50%
    ); /* Positions the div centered within the viewport */
    text-align: center; /* Optional: Centers the text content within the div */
    width: 300px;
    height: auto;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .title {
  color: black;
  font-size: large;
}

  .input-container {
    display: flex;
    flex-direction: column;
    width: 70%;
  }
  .input-container p {
    color: black;
    width: 100%;
    text-align: right;
    font-size: small;
    font-weight: bold;
  }
  .input-container input {
    border: none;
    background-color: var(--lightGray-color);
    height: 30px;
    border-radius: 25px;
    font-size: small;
    outline: none;
    box-shadow: none;
    padding-inline: 5%;
    text-align: center;
  }

  .more-actions-container {
    justify-content: space-between;
    display: flex;
    width: 80%;
  }

  .more-actions-container p {
    color: var(--onPrimary-color);
    font-size: small;
    cursor: pointer;
    user-select: none;
  }
  .error-container {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
  }
  .error-container p {
    color: red;
    font-weight: bold;
    font-size: small;
    text-align: right;
    width: 80%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .rules {
    margin-top: 30px;
    max-lines: 1;
    font-size: small;
    width: 90%;
  }
  .rules_link {
    color: var(--onPrimary-color);
    font-size: small;
    text-decoration: none;
  }
}
