.table-of-contents-detail a {
    position: relative;
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
}

.table-of-contents-detail a:hover::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    bottom: 100%;
    /* Position above the link */
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.table-of-contents-detail a:hover {
    text-decoration: underline;
}

.table-of-contents-detail a::after {
    content: '';
    opacity: 0;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-icon {
    display: inline-block;
    /* width: 24px; */
    /* height: 24px; */
    /* border: 3px solid rgba(0, 0, 0, 0.1); */
    border-top: 3px solid #007bff;
    /* border-radius: 50%; */
    /* animation: spin 1s linear infinite; */
}

.circular-button {
    width: 30px;
    /* Adjust size as needed */
    height: 30px;
    /* Same as width for a perfect circle */
    border-radius: 50%;
    /* Makes it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    /* Optional: Remove border */
    /* background-color: #007bff; */

    cursor: pointer;
}

.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    font-size: 2rem;
}

.slide {
    min-width: 100%;
}

@media (min-width: 768px) {
    .slide {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .slide {
        min-width: 33.3333%;
    }
}

@media (min-width: 1280px) {
    .slide {
        min-width: 25%;
    }
}

/* Toggle container */
    .toggle-switch {
      position: relative;
      width: 50px;
      height: 26px;
      background-color: #ccc;
      border-radius: 13px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    /* The knob */
    .toggle-knob {
      position: absolute;
      top: 2px;
      left: 2px;
      width: 22px;
      height: 22px;
      background: white;
      border-radius: 50%;
      box-shadow: 0 0 3px rgba(0,0,0,0.3);
      transition: transform 0.3s ease;
    }

    /* Checked state styles */
    .toggle-switch.checked {
      background-color: #23b905; /* Indigo */
    }
    .toggle-switch.checked .toggle-knob {
      transform: translateX(24px);
    }