
.pagination-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
   /* margin: 20px;*/
}

.pagination-widget button {
    /*padding: 10px 15px;*/
    padding: 5px 8px;
    cursor: pointer;
}

.scroll-container {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

#pageScroll {
    width: 300px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    height: 5px;
    border-radius: 5px;
    outline: none;
}

#pageScroll::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}

.currentPage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    top: 100%;
}
/* new css stuff */
/* styles.css */
 

.pagination-widget {
    /*
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    */
    display: flex;
    gap: 10px;
     margin: 6px; 
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-start;
    margin-left: 20px;
}

.pagination-widget button {
    padding: 5px 8px;
    cursor: pointer;
}
.scroll-container {
    display: grid;
    align-items: center;
    gap: 5px;
    position: relative;
    width: 300px;
    margin-left: 12px;
    margin-right: 12px;
}

.pageScroll {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    height: 5px;
    border-radius: 5px;
    outline: none;
    position: relative;
}

.pageScroll::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}

.currentPage {
    /*
    position: absolute;
    top: 20px;  
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 15px;
    box-shadow: 0 1px 8px rgba(9, 9, 9, 0.42);
    font-weight: bold;
    z-index: 10;
    */
    pointer-events: none; /* Prevent interaction with the bubble */
    font-size:0.7em;
}
.currentPage {
    pointer-events: none;
    font-size: 0.7em;
    position: relative;
    top: 20px;
    text-align: center;
}


@media (max-width: 768px) {
    .currentPage {
      pointer-events: none;
      font-size: 0.4em;
      position: relative;
      top: 20px;
      text-align: center;
  }
}