/* Start Global Rules */
:root {
  --main-color: #f73434;
  --sec-color: #1b1b1b;
  --third-color: #ecf5ff;
  --yellow-color: #eda621;
  --green-color: #18b89c;
  --bg-body-dark: #22272b;
  --gradient-color: linear-gradient(270deg, #9d40fc 0%, #52bdf5 100%);
  --main-radius: 15px;
  --main-transition: 0.2s;
  --main-gradient: linear-gradient(135deg, #f73434 0%, #eda621 100%);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Montserrat Arabic";
}

.dark-mode {
  background-color: var(--bg-body-dark);
  color: #fff;
}

.arabic-version {
  direction: rtl;
}

p {
  margin: 0;
}

ul {
  list-style: none;
}

i {
  margin-top: 2px;
}

.btn i {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  ul {
    padding: 0;
  }
}

a {
  text-decoration: none;
}

.whatsapp {
  position: fixed;
  bottom: 2%;
  left: 2%;
  z-index: 999;
  background-color: rgb(77, 194, 71) !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.whatsapp i {
  color: white;
  font-size: 2rem;
}

h1 {
  position: relative;
  color: #331b41;
  font-size: 36px;
  font-weight: 700;
}

h5 {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }
}

h1::before {
  content: "";
  position: absolute;
  height: 6px;
  width: 82px;
  right: 0;
  background-color: var(--main-color);
  bottom: -20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  font-size: 14px;
}

.head p {
  color: var(--first-color);
  font-size: 18px;
}

@media (max-width: 768px) {
  .head p {
    font-size: 16px;
  }
}

.box-cyan {
  background-color: #69c9d0;
}

.box-blue {
  background-color: #1877f2;
}

.box-purple {
  background-color: #9a44fc;
}

.box-yellow {
  background-color: #ffe400;
}

.btn {
  border: none;
}

/* .btn:hover {
  border: 0;
} */

.btn i {
  margin-top: 5px;
}

.main-btn {
  background-color: var(--main-color);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--main-color);
}

.main-btn span,
.main-btn i {
  color: #fff !important;
}

.main-btn:hover {
  background-color: #fff;
  border: 1px solid var(--main-color);
}

.main-btn:hover span,
.main-btn:hover i {
  color: var(--main-color) !important;
}

.second-btn {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.second-btn i,
.second-btn span {
  color: var(--main-color) !important;
}

.second-btn:hover {
  text-decoration: underline;
}

.student-dashboard-menu {
  overflow: hidden;
}

label {
  margin-bottom: .5rem;
  color: #bebebe !important;
}

.form-control {
  text-align: right;
}

.logo-img {
  width: 100px;
  max-width: 100%;
}

/* End Global Rules */
/* Start Quiz */
.quiz .head-quiz,
.quiz button {
  background: #f9f9f9 !important;
  box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
  border: var(--bs-border-width) solid var(--bs-border-color);
  padding: 1rem;
  border-radius: 10px;
}

.quiz button {
  position: relative;
  margin-inline-start: 3rem;
  text-align: left;
  transition: 0.2s;
}

.quiz button::before {
  content: "";
  position: absolute;
  inset-inline-start: -9%;
  width: 25px;
  height: 25px;
  border: 3px solid var(--bs-border-color);
  border-radius: 50%;
  transition: 0.2s;
}

.quiz button:hover,
.quiz button:hover::before {
  background: var(--main-color) !important;
  color: #fff;
}

.quiz img {
  border-radius: 10px;
}

/* End Quiz */
/* Fonts */
@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Black-900.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-ExtraBold-800.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Bold-700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-SemiBold-600.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Medium-500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Regular-400.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Light-300.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-ExtraLight-275.otf") format("opentype");
  font-weight: 275;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Thin-250.otf") format("opentype");
  font-weight: 250;
  font-style: normal;
}

.wallet-info {
  background: rgb(247 52 52 / 40%) !important;
  color: var(--sec-color) !important;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.wallet-balance {
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
}

.btn-wallet {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--sec-color) !important;
  border-radius: 20px;
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-topup,
.btn-watch {
  background: var(--main-color) !important;
}


/* Dark Btn */
.dark-btn {
  /* position: absolute; */
  z-index: 100;
  background-color: #fff;
  width: 4rem;
  height: 2rem;
  top: 10%;
  left: 5%;
  border-radius: 5rem;
  box-shadow: inset 0 8px 60px rgba(0, 0, 0, 0.1),
    inset 0 8px 8px rgba(0, 0, 0, 0.1), inset 0 -4px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dark-btn .btn-indecator {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.dark-btn .btn-indecator .btn-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-btn .btn-indecator .btn-container .btn-icon {
  font-size: 0.9rem;
  color: #ffcc00;
}

.dark-btn .btn-indecator .btn-container .btn-icon.spin {
  animation: spin 0.5s;
}

.dark-mode .dark-btn {
  box-shadow: inset 0 8px 60px rgba(0, 0, 0, 0.3),
    inset 8px 0 8px rgba(0, 0, 0, 0.3), inset 0 -4px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode .dark-btn .btn-indecator {
  transform: translateX(2rem);
}

.dark-mode .dark-btn .btn-indecator {
  background-color: #18191b;
}

.dark-mode .dark-btn .btn-indecator .btn-container .btn-icon {
  color: var(--light-mode-Color);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dark Btn */