
/* General Styles */

body > *{
  font-family: 'Cairo', sans-serif;
}
body {
      background-color: #f8f9fa;
      font-family: 'Cairo', sans-serif;
      direction: rtl; /* Arabic Layout */
  }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #d6e3f1;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Menu Button */
.menu-btn, .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555; /* Adjust color to match your design */
}


/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Initially hidden */
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding-top: 90px;
    transition: right 0.3s ease;
}

.sidebar.open {
    right: 0; /* Show menu */
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
}

  .bottom-nav a i{
    color: #fff;
  }
  .bottom-nav a span{
    color: #fff;
  }
  .menu-container {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      padding: 10px;
      margin-top: 90px;
      margin-bottom: 70px;
  }
  .memorizedCheckbox{
    font-size: 20px;
  }
  canvas {
        border: 1px solid black;
        display: block;
        margin: 20px auto;
        width: 100%;
        max-width: 800px;
    }
  .quran-box {
     background: white;
     padding: 0px 10px;
     border-radius: 8px;
     display: inline-block;
     margin-top: 15px;
     width: 100%;
   }
   .ayah {
       font-size: 24px;
       color: #222;
       line-height: 2;
   }
   .ayah img{
     width: 100%;
   }
   .audio-btn {
       width: 100%;
       margin-top: 10px;
   }
   .checkbox-container {
       margin-top: 20px;
   }

   .centerText{
     text-align: center;
   }

  .audio-controls {
      margin-top: 10px;
  }
  .progress-container {
      width: 100%;
      margin-top: 10px;
      display: flex;
      align-items: center;
  }
  input[type="range"] {
      flex: 1;
      margin: 0 10px;
  }

  .menu-item {
      padding: 15px;
      border-bottom: 1px solid #ddd;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-weight: 600;
      text-decoration: none; /* Remove underline */
      color: inherit;
  }

  .menu-item:last-child {
      border-bottom: none;
  }

  .menu-item:hover {
      background-color: #f1f1f1;
  }

  .menu-item.active {
      background-color: #e0e0e0;
  }

  .percent {
      font-size: 16px;
      font-weight: bold;
      color: gray;
  }

  .sura-number {
      background: #008C99;
      color: white;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      font-size: 16px;
      border-radius: 50%;
      font-weight: bold;
  }

  .sidebar.active {
       right: 0;
   }

   /* Profile Section */
   .profile {
       text-align: center;
       margin-bottom: 20px;
   }

   .profile img {
       width: 70px;
       height: 70px;
       border-radius: 50%;
       border: 3px solid #ddd;
   }

   .profile h3 {
       font-size: 18px;
       margin: 10px 0 5px;
   }

   .profile p {
       font-size: 14px;
       color: gray;
   }

   /* Menu List */
   .menu-list {
       list-style: none;
       padding: 0;
   }

   .menu-list li {
       padding: 12px;
       border-bottom: 1px solid #ddd;
       display: flex;
       align-items: center;
       font-size: 16px;
       cursor: pointer;
       color: #002b5b;
   }

   .menu-list li i {
       margin-left: 10px;
       font-size: 18px;
       color: #002b5b;
   }

   .logout-btn {
    display: block;
    width: 75%; /* Auto width based on content */
    background: #002b5b;
    color: white;
    border: none;
    padding: 12px 30px; /* Add padding for better spacing */
    text-align: center;
    border-radius: 30px;
    font-size: 16px;
    margin: 20px auto; /* Center the button horizontally */
    cursor: pointer;
  }

  .bottom-nav {
      position: fixed;
      bottom: 0;
      width: 100%;
      background: #fff;
      padding: 10px;
      display: flex;
      justify-content: space-around;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  }



  .back-btn {
      background: none;
      border: none;
      font-size: 20px;
      cursor: pointer;
      color: #333;
  }

  .back-btn i {
      font-size: 24px;
  }

  .title {
      flex: 1;
      text-align: center;
      font-size: 18px;
      margin: 0;
  }
  .title.levels{
    text-align: right !important;
    padding-right: 20px;
  }
  .bottom-nav a {
      text-decoration: none;
      color: #333;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .bottom-nav a img {
      width: 25px;
      height: 25px;
  }

/* Centering the login box */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

/* Logo */
.logo {
    width: 125px;
}

/* Text Styling */
.welcome-text {
    color: #004c97;
    font-weight: bold;
    margin-top: 10px;
}

.sub-text {
    color: #555;
}

/* Password Container */
.password-container {
    position: relative;
}

.password-container .toggle-password {
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
}

.password-container .toggle-password2 {
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
}

/* Button Styling */
.btn-primary {
    background-color: #004c97;
    border: none;
}

.btn-primary:hover {
    background-color: #003366;
}

/* Links */
.links a {
    display: block;
    color: #007bff;
    text-decoration: none;
    margin-top: 10px;
}

.links a:hover {
    text-decoration: underline;
}

.iti.iti--allow-dropdown{
  width: 100%
}
.iti__country{
  direction: ltr;
    text-align: right;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
        padding: 20px;
    }

    .logo {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 15px;
    }

    .welcome-text {
        font-size: 18px;
    }

    .sub-text {
        font-size: 14px;
    }
}
