* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Tajawal";
  src: url("../assets/fonts/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Montserrat";
  background: linear-gradient(to bottom, #ffffff, #000000);
  min-height: 100vh;
}

.arabic {
  direction: rtl;
  font-family: "Tajawal";
}
.english {
  direction: ltr;
}

.page-container {
  padding: 50px;
  margin: 30px 250px;
  background-color: #fff;
  border-radius: 20px;
}
.page-bullets {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-bullets .bullet {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  border-radius: 30px;
  padding: 10px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  background-color: #0e0e0e;
}

.page-bullets .line {
  width: 177px;
  height: 1px;
  background-color: #0e0e0e;
}
.page-bullets .bullet.white-bullet {
  background-color: #fff;
  border: 1px solid #0e0e0e;
  color: #0e0e0e;
}
.logos {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  align-items: center;
}
.logos .gym-logo {
  width: 85px;
  height: 85px;
}
.toggle-lang {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-lang h2 {
  font-weight: 600;
  font-size: 26px;
  color: #0e0e0e;
}
.toggle-lang button {
  display: flex;
  padding: 8px 6px;
  border-radius: 22px;
  border: 1px solid #0e0e0e;
  background: rgba(255, 255, 255, 1);
  font-family: "Poppins";
  font-weight: 500;
  font-size: 9px;
  cursor: pointer;
  align-items: center;
}
.toggle-lang button span:first-child {
  margin: 0 25px;
}
.toggle-lang button span:last-child {
  background-color: #0e0e0e;
  color: #fbfbfb;
  padding: 10px 18px;
  border-radius: 15px;
}

.terms {
  border: 1px solid #0e0e0e;
  padding: 42px 45px;
  border-radius: 8px;
  margin-bottom: 24px;
  height: 326px;
  overflow-y: auto;
}

.terms ul li {
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 1);
  margin-left: 20px;
  margin-right: 20px;
}

.terms-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.terms-actions button {
  border-radius: 8px;
  border: 1px solid #0e0e0e;
  padding: 16px 30px;
  font-size: 20px;
  background-color: #0e0e0e;
  color: #fbfbfb;
  cursor: pointer;
  font-weight: 400;
}
.terms-actions button img {
  margin: 0 10px;
}
.accept-terms {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
}
.accept-terms span {
  color: #0e0e0e;
  font-weight: 600;
  font-size: 20px;
  margin-left: 5px;
}
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #0e0e0e;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.custom-checkbox:checked {
  background-color: #0e0e0e;
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.btns {
  display: flex;
  gap: 25px;
  margin-top: 100px;
  justify-content: flex-end;
}

.btns button {
  border-radius: 8px;
  background: #0e0e0e;
  padding: 14px 0;
  width: 200px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  border: none;
}
.btns button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.btns .cancel-btn {
  background: transparent;
  color: #0e0e0e;
  border: 1px solid #0e0e0e;
}
@media (max-width: 1200px) {
  .logos {
    flex-wrap: wrap;
  }
  .terms-actions button,
  .accept-terms span {
    font-size: 16px;
  }
  .terms {
    padding: 20px;
  }
  .btns {
    margin-top: 30px;
  }
  .terms-actions {
    flex-direction: column;
    gap: 20px;
    align-items: start;
  }
  .page-container {
    padding: 30px;
    margin: 50px 30px;
  }
  .download-btn {
    justify-content: center;
  }

  .btns {
    flex-direction: column-reverse;
    align-items: center;
  }
  .toggle-lang {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
@media (max-width: 500px) {
  .logos .page-bullets {
    order: 3;
    margin: 20px auto;
  }
  body {
    background: #fff;
  }
  .page-container {
    margin: 20px;
    padding: 10px;
  }
  .btns button {
    width: 100%;
  }
  .terms-actions button {
    width: 100%;
  }
}
@media (min-width: 1900px) {
  .page-container {
    margin: 50px 400px;
  }
  .page-bullets .line {
    width: 250px;
  }
}
