/* (c) Innings2, generated by Mathigon Studio */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
x-aitutor {
  display: block;
  font-size: 16px;
  /* HTML: <div class="tooltip">This is the same as #5 but with more control over the tail</div> */
}
x-aitutor .toasts {
  position: fixed;
  bottom: 8px;
  right: 8px;
  max-width: 264px;
  z-index: 300;
  transition: transform 0.4s;
  pointer-events: none;
}
@media (max-width: 400px) {
  x-aitutor .toasts {
    max-width: calc(100% - 80px);
  }
}
x-aitutor .anim-player {
  width: 5rem;
  height: 5rem;
}
@media (min-width: 840px) {
  x-aitutor .anim-player {
    width: 10rem;
    height: 10rem;
  }
}
@media (min-width: 1600px) {
  x-aitutor .anim-player {
    width: 100%;
    height: 100%;
  }
}
x-aitutor .speech-bubble {
  color: #fff;
  font-size: 0.8rem;
  max-width: 28ch;
  text-align: center;
  margin: 1rem;
}
x-aitutor .speech-bubble {
  /* tail dimension */
  --b: 2em;
  /* base */
  --p: 50%;
  /* main position (0%:left 100%:right) */
  --x: 1.8em;
  /* tail position (relative to the main position). Can be percentage */
  --r: 1.2em;
  /* the radius */
  --c: #833CB5;
  padding: 1em;
  border-radius: var(--r) var(--r) min(var(--r), 100% - var(--p) - var(--b) / 2) min(var(--r), var(--p) - var(--b) / 2)/var(--r);
  clip-path: polygon(0 100%, 0 0, 100% 0, 100% 100%, clamp(var(--b), var(--p) + var(--b) / 2, 100%) 100%, calc(var(--p) + var(--x)) calc(100% + var(--h)), clamp(0%, var(--p) - var(--b) / 2, 100% - var(--b)) 100%);
  background: var(--c);
  -o-border-image: conic-gradient(var(--c) 0 0) 0 0 1 0/0 0 var(--h) 0/0 999px var(--h) 999px;
     border-image: conic-gradient(var(--c) 0 0) 0 0 1 0/0 0 var(--h) 0/0 999px var(--h) 999px;
}
x-aitutor .chat {
  display: none;
  position: fixed;
  width: 280px;
  height: 420px;
  bottom: 0;
  right: 2px;
  padding-top: 0;
  background: #fdfbff;
  border-radius: 12px 0 0 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  z-index: 301;
  max-height: calc(100vh - 44px);
}
html.webview x-aitutor .chat {
  max-height: 100vh;
}
x-aitutor .chat-header {
  background: linear-gradient(to right, #FFE796, #F3A250);
  border-radius: 12px 0 0 0;
  height: 72px;
  color: white;
  line-height: 44px;
  padding: 0 0px;
  font-size: 20px;
  font-weight: 600;
}
x-aitutor .chat-header x-icon[name=fox] {
  margin: 0 8px -9px 0;
}
@media (max-height: 450px) {
  x-aitutor .chat-header {
    border-radius: 0;
  }
}
x-aitutor .close {
  position: absolute;
  margin-top: 10px;
  top: 0;
  right: 0;
  padding: 10px;
}
x-aitutor .chat-body {
  flex: 1 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 2px 8px 44px;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  position: relative;
}
x-aitutor .chat-body.loading:after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 14px;
  border: 3px solid rgba(15, 130, 242, 0.25);
  border-top-color: #0f82f2;
  display: block;
  float: right;
  margin: 8px 2px -28px 0;
  animation: spin 0.7s infinite linear;
}
x-aitutor .chat-footer {
  display: flex;
  background: #ECD1FF;
}
x-aitutor .chat-footer .hint {
  cursor: pointer;
  fill: #656073;
  transition: fill 0.2s;
  position: relative;
}
x-aitutor .chat-footer .hint:hover,
x-aitutor .chat-footer .hint:focus {
  fill: #3a3645;
}
x-aitutor .chat-footer .hint x-icon {
  display: block;
  padding: 8px;
}
x-aitutor .chat-footer .input {
  flex-grow: 1;
  padding: 10px 8px 10px 20px;
  line-height: 1.3;
  cursor: text;
  max-height: 64px;
  overflow: auto;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  background: #ECD1FF;
  -webkit-user-modify: read-write-plaintext-only;
}
x-aitutor .chat-footer .input:empty:before {
  content: "Type your question in more than 3 words or as an equation";
  color: #878289;
}
x-aitutor .chat-text {
  color: #6D677D;
}
x-aitutor .msg-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
x-aitutor .msg {
  margin-top: 6px;
  border-radius: 16px 16px 3px 16px;
  width: -moz-fit-content;
  width: fit-content;
}
x-aitutor .maya-icon {
  margin-top: 6px;
  border-radius: 100%;
  width: -moz-fit-content;
  width: fit-content;
}
x-aitutor .toasts .msg {
  pointer-events: all;
  cursor: pointer;
}
x-aitutor .msg.hint,
x-aitutor .msg.question {
  line-height: 1.4;
  padding: 5px 12px;
}
x-aitutor .msg.hint {
  background: #0f82f2;
  color: rgba(255, 255, 255, 0.9);
}
x-aitutor .msg.question {
  color: white;
  background: rgb(112, 81, 225);
  border-radius: 16px 16px 16px 3px;
  align-self: flex-start;
}
x-aitutor .msg.archie {
  background: #0f82f2;
  border-radius: 28px 28px 3px 28px;
  padding: 10px 6px 6px 10px;
  transition: background 0.2s;
}
x-aitutor .msg.archie x-icon {
  display: block;
}
x-aitutor .msg.correct {
  background: #1e9620;
}
x-aitutor .msg.incorrect {
  background: #b50c5a;
}
x-aitutor .msg.img {
  width: 150px;
  height: 100px;
  background-color: black;
  background-size: cover;
}
x-aitutor .msg.video {
  background: black;
  overflow: hidden;
  border-radius: 3px;
}
x-aitutor .msg.video iframe {
  border: none;
  width: 224px;
  height: 126px;
  display: block;
}
x-aitutor .msg p {
  margin: 0;
}
x-aitutor .msg .source {
  font-size: 10px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}
x-aitutor .msg a {
  transition: color 0.2s;
}
x-aitutor .msg a:hover {
  color: white;
}
html.webview x-aitutor .chat-footer:not(.focus) {
  border-bottom: 0 solid #d0d3da;
  border-bottom: env(safe-area-inset-bottom) solid #d0d3da;
  transition: border-bottom-width 0.3s;
}
html.webview x-aitutor .msg.archie {
  border-radius: 28px;
  padding: 8px;
}

x-algebra-flow {
  --elevation: 8;
  --epx: calc(var(--elevation) * 1px);
  max-width: 100%;
  /* these 2 shadows serve as a border for  0-1 elevation    */
  --shadow1: 0 0 1px rgba(0, 0, 0, .1);
  --shadow2: 0 1px 2px rgba(0, 0, 0, .08);
  --offset-y: calc(var(--epx) + 1px);
  --blur: calc(var(--epx) * 2);
  --spread: calc(var(--epx) * .3);
  --shadow3:
    0 var(--offset-y) var(--blur) var(--spread) rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow1), var(--shadow2), var(--shadow3);
}
x-algebra-flow svg.equation {
  padding-top: 10px;
}
x-algebra-flow .legend-box {
  padding-top: 5px;
  padding-bottom: 5px;
}
x-algebra-flow span.equation {
  align-items: center;
  justify-content: center;
  display: flex;
}
x-algebra-flow p {
  align-items: center;
  justify-content: center;
  display: flex;
}

x-course-sidebar .sidebar-row {
  margin: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: medium;
}

x-course-sidebar .sidebar-row::before {
  height: 0px;
}

@media screen and (min-width: 800px) {
  x-course x-step {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 50px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
  }
}
@media screen and (max-width: 767px) {
  .content-desktop {
    display: none;
  }
  x-step {
    padding-bottom: 50px;
    margin-bottom: 2px;
  }
}
x-step h2 {
  border-bottom: 2px solid #ddd;
  font-size: 1.6em;
  margin: 0 0 1em;
  padding-bottom: 6px;
}

x-blank input {
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid #9b9b9b;
  min-width: 80px;
  width: 60px;
}

x-blank input:focus {
  color: #59595e;
}

x-blank .target {
  background: transparent;
  color: #b5b5be;
}

x-blank-mc .target {
  box-sizing: border-box;
  background: white;
  border: none;
  border-bottom: 2px solid #9b9b9b;
  border-radius: 0px;
  color: #b5b5be;
}

x-blank-mc .popup {
  box-sizing: border-box;
  background: white;
  color: #b5b5be;
  z-index: 10;
}

x-blank-mc .choice {
  color: #59595e;
}

x-blank-mc .choice:hover {
  color: #b5b5be;
}

sl-details:not(:last-of-type) {
  margin-bottom: var(--sl-spacing-medium);
}

sl-details::part(content) {
  padding-bottom: 50px;
}

.slmenu_item::part(base) {
  color: #b00091;
  font-family: inherit;
}

#anchor {
  color: #ffffff;
}

.slmenu-item::part(base) {
  color: #ffffff;
  background: transparent;
}

.sldetails-step::part(base) {
  border-radius: 5px;
  border-color: #ECD1FF;
}

.sldetails-step::part(header) {
  color: #ffffff;
  background: #ECD1FF;
}

.sl-menu-menu {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  background: linear-gradient(to bottom right, #6E2F9E, #271138);
  max-width: 100px;
  z-index: 9999;
}

.slmenu-item::part(base):hover {
  background: rgba(255, 99, 71, 0.1);
}

.slmenu-item::part(base):active {
  background: rgba(255, 99, 71, 0.2);
}

.slmenu-item::part(base):focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.33);
}

.sldropdown-menu::part(base__popup) {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  font-family: inherit;
  background: linear-gradient(to bottom right, #6E2F9E, #271138);
}

.slbutton-menu::part(label) {
  color: #6D677D;
  font-family: inherit;
}

.slbutton-menu::part(base) {
  color: #6D677D;
  font-size: 1rem;
  width: 8rem;
  transition: color 0.3s;
}

:host(:hover:not([aria-disabled=true], :focus-visible)) .slmenu-item,
.slmenu-item--submenu-expanded {
  background: rgba(255, 99, 71, 0.2);
  color: #ffffff;
}

.stepper-wrapper {
  font-family: Arial;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
@media (max-width: 768px) {
  .stepper-item {
    font-size: 12px;
  }
}

.stepper-wrapper {
  font-family: Arial;
  margin-top: 50px;
  display: flex;
  justify-content: left;
  margin-bottom: 20px;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
@media (max-width: 768px) {
  .stepper-item {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 7.5px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 7.5px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: left;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
}

.stepper-item.active {
  font-weight: bold;
}

.stepper-item.completed .step-counter {
  background-color: #903DD0;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #903DD0;
  width: 100%;
  top: 7.5px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}

.stepper-item:last-child::after {
  content: none;
}

.step-btn {
  display: flex;
  background-color: #903DD0;
  Padding: "10px, 20px, 10px, 40px";
  border-radius: 40px;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  justify-content: flex-start;
}

.step-btn-next {
  justify-content: flex-end;
}

@media (max-width: 400px) {
  .step-btn-next {
    justify-content: center !important;
  }
  .step-btn {
    justify-content: center !important;
  }
}
.step-title {
  font-size: 18px;
  color: #6D677D;
  font-weight: 600;
}

.stepper-item > .current-step {
  background: orange;
}

.accordion-btnopen {
  background-color: #833CB5 !important;
  color: #fff !important;
}

.accordion-btnclosed {
  background-color: #F6EAFF !important;
  color: #6D677D !important;
  font-size: 24px;
  font-weight: 700;
}

.accordion-closed {
  background-color: #F6EAFF;
}

.accordion-open {
  background-color: #833CB5;
}

.hr-tag {
  height: 1px;
  transform: scaleY(0.5);
}

.main-dropdown {
  background-color: #833CB5;
}

.chat-header {
  background-color: #F6EAFF;
}

.chat-head-size {
  font-size: 18px;
}

.text-custom {
  color: #6D677D;
  /* Replace with your desired hex color */
}

.send-button {
  background-color: #833CB5;
}

.progress-circle {
  position: relative;
  width: 24px;
  height: 24px;
}

.circle-background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #d3d3d3;
}

.circle-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.circle-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13px;
  height: 13px;
  background-color: #F6EAFF;
  border-radius: 50%;
}

.circle-content-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13px;
  height: 13px;
  background-color: #fff;
  border-radius: 50%;
}

.circle-content-sidebar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13px;
  height: 13px;
  background-color: #6E2F9E;
  border-radius: 50%;
}

.comments-scroll-container {
  height: 400px;
  overflow-y: auto;
  padding: 10px;
}

.accordian-border {
  border-radius: 16px;
}

.course-breadcrumb {
  font-size: 14px;
  font-weight: 400;
  color: #6D677D;
  margin-bottom: 15px;
}

.course-heading {
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 600;
  color: #303030;
}

.course-step-points {
  font-size: 14px;
  font-weight: 500;
  color: #303030;
}

.recent-open-container {
  background-color: #FF6900;
  display: flex;
  align-items: center;
  padding: 8px;
  font-size: 18px;
  font-weight: 700;
}

sl-tree-item::part(expand-button) {
  color: #ffffff;
  background-color: transparent;
}

x-course-sidebar-new {
  background: #3a3645 linear-gradient(transparent 240px, rgba(0, 0, 0, 0.25));
  bottom: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  color: #fff;
  display: flex;
  flex-direction: column;
  left: 0;
  position: fixed;
  top: 60px;
  width: 280px;
  z-index: 301;
}

x-course-sidebar-new .sidebar-footer {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
}

x-course-sidebar-new .sidebar-body {
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  overflow: auto;
  overscroll-behavior: contain;
}

x-course-sidebar-new .footer-link {
  cursor: pointer;
  padding: 12px 10px;
  position: relative;
}

x-course-sidebar-new .sidebar-banner {
  border-top: 1px solid hsla(0, 0%, 100%, 0.4);
  color: hsla(0, 0%, 100%, 0.6);
  flex-shrink: 0;
  font-size: 14px;
  margin: 0 18px;
  padding: 4px 0 6px;
  text-align: center;
}

x-course-new x-step {
  background-color: white;
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 2rem;
}
x-course-new .step-title {
  color: #000000;
}

@media screen and (max-width: 1920px) {
  x-course-sidebar-new {
    will-change: transform;
    left: -280px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: none;
  }
  .sidebar-toggle {
    display: block;
  }
  x-course-sidebar-new.open {
    transform: translateX(280px);
    box-shadow: 10px 0 60px rgba(0, 0, 0, 0.5);
  }
  x-course-sidebar-new.open + .sidebar-shadow {
    display: block;
  }
  main {
    padding-left: 40px !important;
  }
  .page-background,
  .reveal-banner {
    left: 0 !important;
  }
}
x-step td,
x-step th {
  border: 1px solid;
}

#course_div.no-sidebar {
  margin-left: 0 !important;
  max-width: 100% !important;
}
#course_div.no-sidebar article {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

main:has(#course_div.no-sidebar) {
  padding-left: 0 !important;
}

.step-navigation-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #6E2F9E 0%, #833CB5 100%);
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(110, 47, 158, 0.3);
}

.step-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-btn-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

#prevStepBtn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

#nextStepBtn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: #6E2F9E;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-progress-bar {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 8px;
}

#stepProgressFill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FFB95E, #FF6900);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nav-btn-text {
  display: inline;
}

.step-text-full {
  display: inline;
}

.step-text-short {
  display: none;
}

@media (max-width: 768px) {
  .step-navigation-header {
    padding: 10px;
    margin-bottom: 1px;
    border-radius: 0 0 12px 12px;
  }
  .step-nav-container {
    gap: 8px;
  }
  .step-btn-nav {
    padding: 8px 12px;
    font-size: 14px;
    gap: 4px;
  }
  .nav-btn-text {
    display: none;
  }
  .step-indicator {
    gap: 8px;
  }
  .step-text-full {
    display: none;
  }
  .step-text-short {
    display: inline;
    color: white;
    font-weight: 600;
    font-size: 14px;
  }
  .step-progress-bar {
    width: 60px;
    margin-left: 4px;
  }
  #prevStepBtn svg,
  #nextStepBtn svg {
    width: 14px;
    height: 14px;
  }
}