html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px!important;
}

div {
  scroll-margin-top:  150px!important;
}
.quiz-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-width: 920px;
    margin: 20px auto;
}
#answer-options {
    display: flex;
    flex-wrap: wrap;
    width: 100%; 
}
.answer-item {
    display: block;
    background: #fff;
    padding: 10px;
    margin: 1%;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    width: 48%;
}
.answer-item:hover { 
    background: #f0f0f0; 
}
.quiz-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
.nav-btn {
    padding: 10px 20px;
    cursor: pointer;
}
.nav-btn:disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
}
.correct-answer {
    background: rgba(3, 237, 69, 0.765)!important;
}
.wrong-answer {
    background: rgba(232, 60, 60, 0.765)!important;
}

.sqp-toc-container {
    background-color: #fafdff;
    border: 1px solid #e1f0fa;
    border-radius: 6px;
    padding: 20px;
    position: fixed;
    top: 20%;
    max-width: 25%;
}

.sqp-toc-heading {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0px!important;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1f0fa;
    color: #333;
    text-align: left;
}

.sqp-secret-header {
    display: none!important;
}
.sqp-toc-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Base list item rules */
.sqp-toc-item a {
    display: inline-block;
    color: #444;
    text-decoration: none;
    /*padding: 6px 0;*/
    transition: color 0.2s ease;
    line-height: 1!important;
}

.sqp-toc-item a:hover {
    color: #0073aa;
    text-align: left;
}

/* Distinction for Main vs Sub sections */
.sqp-toc-main {
    font-weight: bold;
    border-top: 1px solid #f0f0f0;
    margin-top: 5px;
    text-align: left;
}
.sqp-toc-main:first-child {
    border-top: none;
    margin-top: 0;
    text-align: left;
}

.sqp-toc-sub {
    font-weight: normal;
    padding-left: 15px; /* Indents items like 1.1, 1.2 */
    font-size: 14px;
    border-left: 2px solid #e1f0fa;
    margin-left: 5px;
    text-align: left;
}

.lesson-section {
    background-color: rgb(248 129 0 / 80%);
    padding: 0.25em 0.5em;
    color: white!important;
    border: 1px solid;
    border-radius: 20px;
}

.lesson-subsection {
    background-color: unset;
    padding: 0.25em 2em;
    border: 1px solid rgba(255,255,255,0);
    border-radius: 20px;
    font-size: 1.2em!important;

}

.lesson-paragraph {
    font-weight:400!important;
}

.t-a-l{
    text-align:left
}

/* 1. Ensure the summary is a relative container and hide the native flaky markers */
[data-kubio] details summary {
    position: relative;
    padding-left: 24px; /* Makes room for your new custom arrow */
    cursor: pointer;
    list-style: none; /* Hides native arrow in modern Firefox/Chrome */
}

/* Hides native arrow in legacy Safari */
[data-kubio] details summary::-webkit-details-marker {
    display: none;
}

/* 2. Create your own custom arrow icon using CSS borders */
[data-kubio] details summary::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    
    /* Creates a neat CSS triangle pointing right */
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #333333; /* Change color to match your text */
    
    transition: transform 0.2s ease; /* Makes it rotate smoothly */
}

/* 3. Rotate the arrow 90 degrees downward when the accordion opens */
[data-kubio] details[open] summary::before {
    transform: translateY(-50%) rotate(90deg);
}