@import url("https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap");

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  background: #0e0e10;
  color: #fff;
  font-family: "Noto Kufi Arabic", sans-serif;
  direction: rtl;
}

.page-title-cont {
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title {
  background-color: #1f1f1f;
  border-radius: 25px;
  margin: 2rem;
  padding: 1rem;
}

.page-title h1 {
  margin: 0;
}

.exams-cont {
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exams-cards {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 3rem auto;
}

.exam-card {
  width: 35%;
  padding: 1rem;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  border-radius: 25px;
}

.exam-title {
  padding: 1rem;
  width: 85%;
  text-align: center;
}

.exam-title h2 {
  padding: 1rem;
  overflow-wrap: break-word;
}

.edit-delete-exam {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 535px) {
  .exam-card {
    width: 80%;
  }
}

.get-answers-button {
  direction: ltr;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 10px 20px;
  border-radius: 100px;
  background: #d9b34a;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.get-answers-button:hover {
  background: #dbbd6c;
}

.get-answers-button > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.get-answers-button:hover svg {
  transform: translateX(5px);
}

.get-answers-button:active {
  transform: scale(0.95);
}

.results-button {
  direction: ltr;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 100px;
  background: #dbbd6c;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 15px;
}

/* alert card */

.alert-card-cont {
  width: 100vw;
  height: 130vh;
  margin-top: -20%;
  position: fixed;
  z-index: 100000;
  background-color: #4747537a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exam-alert-card {
  position: fixed;
  /* z-index: 100000; */
  /* width: 17em; */
  min-height: 22.5em;
  min-width: 75%;
  margin: auto 2rem;
  padding-top: 5vh;
  padding-bottom: 5vh;
  background: #171717;
  transition: 1s ease-in-out;
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.exam-alert-card span {
  font-weight: bold;
  color: white;
  text-align: center;
  display: block;
  font-size: 1.7em;
}

.exam-alert-card .exam-alert-info {
  font-weight: 500;
  color: white;
  display: block;
  width: 70%;
  text-align: center;
  font-size: 1em;
  margin: 1em;
}

.exam-alert-card .exam-alert-photo {
  width: max-content;
  height: max-content;
  /* background: white; */
  border-radius: 15px;
  margin: auto;
  color: rgb(255, 186, 186);
}

.card-buttons-cont {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.card-next-button,
.card-cancel-button,
.card-change-num-button {
  padding: 1.3em 2.7em;
  display: block;
  margin: auto;
  margin-top: 1rem;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  background: #ffffff;
  color: rgb(0, 0, 0);
  transition: 0.2s ease-in-out;
}

.fa-green {
  color: green;
}

.card-next-button {
  background: green;
  color: white;
  cursor: pointer;
}

.card-next-button:hover {
  filter: brightness(120%);
  scale: 1.05;
  color: white;
  /* cursor: pointer; */
}

.card-cancel-button:hover {
  background: red;
  scale: 0.95;
  color: white;
  cursor: pointer;
}

.card-change-num-button:hover {
  background: yellow;
  scale: 0.95;
  color: black;
  cursor: pointer;
}

.disable-next {
  background-color: #575757;
  cursor: default;
}
.disable-next:hover {
  filter: brightness(100%);
  scale: 100%;
}

.phone-input {
  margin: 30px;
  background: none;
  border: none;
  outline: none;
  max-width: 190px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 9999px;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .alert-card-cont {
    margin-top: -30%;
  }
}

@media screen and (max-width: 450px) {
  .alert-card-cont {
    margin-top: -60%;
  }
  .exam-alert-card span {
    font-size: 1.4em;
  }
}
@media screen and (min-width: 2000px) {
  .alert-card-cont {
    margin-top: -20%;
  }
  .exam-alert-card {
    font-size: xx-large;
  }
  .exam-alert-photo img {
    width: 250px;
  }
  .card-next-button,
  .card-cancel-button,
  .card-change-num-button {
    width: 200px;
    height: 70px;
    font-size: xx-large;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card h3 {
    font-size: xx-large;
    text-align: center;
  }
  .fawryCodeBox h4 {
    font-size: 3rem;
    text-align: center;
  }
  .fawryCodeBox h6 {
    font-size: x-large;
    text-align: center;
  }
}
/* end */

/* Loader */

.loader-wrapper {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 1;
}

.loader-circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left: 15%;
  transform-origin: 50%;
  animation: loader-circle7124 0.5s alternate infinite ease;
}

@keyframes loader-circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

.loader-circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}

.loader-circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.loader-shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: loader-shadow046 0.5s alternate infinite ease;
}

@keyframes loader-shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}

.loader-shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}

.loader-shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}
