:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f4f6f7;
    --text-color: #2c3e50;
    --highlight-color: #f1c40f;
    --bookmark-color: #e74c3c;
  }

  /* Existing Manjari Font Definitions */
  @font-face {
    font-family: 'Manjari';
    src: url('/assets/fonts/Manjari/Manjari-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
  }

  @font-face {
    font-family: 'Manjari';
    src: url('/assets/fonts/Manjari/Manjari-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: 'Manjari';
    src: url('/assets/fonts/Manjari/Manjari-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manjari', 'Inter', sans-serif;
  }

  body {
    font-family: 'Manjari', 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
  }

  .container {
    max-width: 100vw !important;
    margin: 0px;
    padding: 7px;
    padding-bottom: 79px;
  }

  @media (min-width: 992px) { /* Adjust the breakpoint if needed */
    .container {
        margin-left: 50px;
        margin-right: 50px;
    }
}

  .app-header {
    background-color: var(--primary-color);
    color: white;
    padding-top: 18px;
    padding-bottom: 1px !important;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0px !important;
    z-index: 100;
  }

  .app-footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0px !important;
    z-index: 100;
    height: 62px;
    width: 100%;
  }

  .app-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around; /* Distribute items evenly */
    align-items: center; /* Vertically align items */
    height: 100%;
}

.app-footer li {
    text-align: center;
    flex-grow: 1; /* Make items take equal width */
}

.app-footer li a {
    display: flex;
    flex-direction: column; /* Arrange icon and text vertically */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 12px; /* Adjust text size */
}

.app-footer li  i {
    font-size: 20px; /* Adjust icon size */
    margin-bottom: 4px; /* Space between icon and text */
}


  .app-header h1 {
    font-weight: 600;
    font-size: 1.5rem;
  }

  .select-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    margin-left: 42px;
  }

  select#chapter-select {
    width: 127px;
}

  select {
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 8px;
    appearance: none;
    background-color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    width:50%;
  }

  select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
  }

  .verse-list {
    background-color: white;
    /* border-radius: 12px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  /* .verse-item {
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: -20px -4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 3px;
  } */

  .verse-item {
    padding: 10px;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: none;
    border-radius: 0px;
    margin-bottom: 3px;
  }


  .verse-list.f1 .verse-item , #font-preview-text.f1 {
    font-size: 1rem;
  }

  .verse-list.f2 .verse-item , #font-preview-text.f2 {
    font-size: 1.1rem;
  }

  .verse-list.f3 .verse-item , #font-preview-text.f3 {
    font-size: 1.2rem;
  }
  
  .verse-list.f4 .verse-item , #font-preview-text.f4 {
    font-size: 1.3rem;
  }

  .verse-list.f5 .verse-item , #font-preview-text.f5 {
    font-size: 1.4rem;
  }

  .verse-list.f6 .verse-item , #font-preview-text.f6 {
    font-size: 1.5rem;
  }

  .verse-list.f7 .verse-item , #font-preview-text.f7 {
    font-size: 1.6rem;
  }



  .verse-item:last-child {
    border-bottom: none;
  }

  .verse-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
  }

  .verse-item.highlighted {
    /* background-color: var(--highlight-color); */
    background-color: rgba(241, 196, 15, 0.1);
    /* background-color: #3F51B5; */
    /* color: white; */
  }

  .verse-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    gap: 10px;
  }

  .verse-item:hover .verse-actions {
    display: flex;
  }

  .verse-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }

  .bookmark-btn {
    color: var(--text-color);
  }

  .bookmark-btn.bookmarked {
    color: var(--bookmark-color);
  }

  .bookmark-btn:hover {
    color: var(--bookmark-color);
  }



  @media (max-width: 600px) {
    .select-container {
      flex-direction: row;
    }

    .verse-actions {
      position: absolute;
      display: flex;
      justify-content: flex-end;
      margin-top: 0px;
      margin-bottom: 10px;
    }

    .verse-item:hover .verse-actions {
      display: flex;
    }
  }



  /* Navigation Overlay Styles */
.open-nav-btn {
  position: fixed;
  top: 22px;
  left: 13px;
  background: none;
  border: none;
  font-size: 24px;
  z-index: 1000;
  cursor: pointer;
  color: white;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: #f8f9fa;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease-in-out;
  z-index: 2000;
}

.nav-overlay.active {
  left: 0;
}

.nav-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nav-header {
  display: flex;
  align-items: center;
  padding: 15px;
  /* background-color: #e9ecef; */
}

.close-nav-btn {
  background: none;
  border: none;
  font-size: 24px;
  margin-right: 15px;
  cursor: pointer;
}

.nav-links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  border-bottom: 1px solid #dee2e6;
}

.nav-link {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.nav-link:hover {
  background-color: #f1f3f5;
}

/* Swipe gesture styles */
.nav-overlay.swiping {
  transition: left 0s;
}

div#footer-menu {
  position: fixed;
  bottom: 0px;
  width: 100%;
  background: white;
  display: flex;
}

div#footer-menu ul {
  list-style: none !important;
  display: flex !important;
  justify-content: space-around !important;
  width: 100%;
}

div#footer-menu ul li {
  padding: 10px;
}


/* .no-select {
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
       -khtml-user-select: none; 
         -moz-user-select: none; 
          -ms-user-select: none; 
              user-select: none; 
  } */


  #bookmark-list .verse-item {
    margin-bottom: 14px;
    border: solid 1px green;
}

.verse-text{
  width: 94%;
}