@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
  font-family: 'Almarai', sans-serif !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}


/* تلوين أسماء المجموعات */
  optgroup.limited { color: #dc3545; font-weight: bold; }     /* أحمر */
  optgroup.growing { color: #ffc107; font-weight: bold; }    /* أصفر */
  optgroup.efficient { color: #0dcaf0; font-weight: bold; }  /* أزرق سماوي */
  optgroup.excellent { color: #28a745; font-weight: bold; }  /* أخضر */

  /* تلوين الخيارات داخل كل مجموعة */
  optgroup.limited option { background-color: #f8d7da; }
  optgroup.growing option { background-color: #fff3cd; }
  optgroup.efficient option { background-color: #d1ecf1; }
  optgroup.excellent option { background-color: #d4edda; }

.btn-check:checked + .btn-outline-danger {
    background-color: #dc3545;
    color: #fff;
  }
  .btn-check:checked + .btn-outline-warning {
    background-color: #ffc107;
    color: #000;
  }
  .btn-check:checked + .btn-outline-info {
    background-color: #0dcaf0;
    color: #000;
  }
  .btn-check:checked + .btn-outline-success {
    background-color: #28a745;
    color: #fff;
  }
  
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}


