/* style.css */

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

#loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 0;
  background-color: red;
  transition: width 0.3s ease;
  z-index: 9999;
}

/* Optional: animate the bar loading continuously */
@keyframes loadingAnimation {
  0% { width: 0; }
  50% { width: 80%; }
  100% { width: 0; }
}

#loader-bar.loading {
  animation: loadingAnimation 2s linear infinite;
}

#scrollbar-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;           /* Width of the scrollbar */
  height: 0;            /* Initial height */
  background-color: red;
  z-index: 9999;
  transition: height 0.2s ease-out;
}
.content {
  margin-left: 16px; /* prevent content hiding behind the scrollbar */
  padding: 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  width: 100vw;
  box-sizing: border-box;
  padding: 0.5em 1em 0.25em 1em;
  font-size: clamp(2rem, 10vw, 6rem);
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: bold;
  color: red;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.25;
  border-bottom: 0px solid #eee; /* optional, for separation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Vertical scrollbar width */
::-webkit-scrollbar {
  width: 0; /* hide horizontal scrollbar */
  height: 12px; /* vertical scrollbar thickness */
}

/* Only style vertical scrollbar */
::-webkit-scrollbar:vertical {
  width: 12px; /* vertical scrollbar width */
  height: auto;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background-color: red;
  border-radius: 6px;
  border: 2px solid #f0f0f0;
}