.pe-none {
  pointer-events: none !important;
}

.pe-auto {
  pointer-events: auto !important;
}

.fade-in-section {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes v-overlay-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Thin Scrollbar Styles */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(105, 108, 255, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(105, 108, 255, 0.5);
}

.menu .app-brand.vibrologic {
  height: 64px;
}

.app-brand-logo.vibrologic svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.vibrologic {
  font-size: 1.375rem;
}

/* Course UI */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.accordion-header:hover, .topic-row-container:hover, .sub-topic-row:hover, .leaf-topic-row:hover {
    background-color: rgba(105, 108, 255, 0.05) !important;
}
.accordion-button.active-topic, .sub-topic-row.active-topic, .topic-selector.active-topic {
    background-color: rgba(105, 108, 255, 0.1) !important;
    border-left: 4px solid #696cff !important;
}
.topic-title-truncate {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    min-width: 0;
}
[data-bs-theme="dark"] .topic-title-truncate {
    color: #fff !important;
}
.text-inherit { color: inherit !important; }
.accordion-button::after {
    display: none !important;
    background-image: none !important;
}
[aria-expanded="true"] .transition-icon {
    transform: rotate(90deg);
}
.transition-icon {
    transition: transform 0.2s ease-in-out;
}
.cursor-pointer { cursor: pointer; }
.accordion-button { cursor: pointer !important; min-width: 0; }
.admin-nav-area, .admin-controls { flex-shrink: 0; }
.admin-controls i:hover { transform: scale(1.2); transition: transform 0.2s; }
.drag-moving { opacity: 0.4; box-shadow: 0 4px 12px rgba(105,108,255,0.2) !important; }
[data-drag-pos="before"] { border-top: 2px solid #696cff !important; }
[data-drag-pos="after"] { border-bottom: 2px solid #696cff !important; }
[data-drag-pos="into"] { outline: 2px dashed #696cff !important; outline-offset: -2px; background: rgba(105,108,255,0.05) !important; }
.drag-handle:hover { color: #696cff !important; transform: scale(1.2); transition: transform 0.2s; }
.flex-grow-1:has(> .topic-progress-wrap:not(.topic-progress-hidden)) {
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    min-height: 48px;
}
.flex-grow-1:has(> .topic-progress-wrap:not(.topic-progress-hidden)) > .topic-title-truncate {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.topic-progress-wrap.topic-progress-hidden { display: none; }
.topic-progress-wrap {
    position: absolute;
    bottom: 4px;
    left: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topic-progress-bar {
    width: 80px;
    flex-shrink: 0;
    height: 4px;
    background: rgba(105,108,255,0.35);
    border-radius: 2px;
    overflow: hidden;
}
.topic-progress-fill {
    height: 100%;
    background: #696cff;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.topic-progress-label {
    font-size: 10px;
    color: rgba(105,108,255,0.8);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Lab left panel — fixed width on desktop */
@media (min-width: 1000px) {
  .lab-left-panel {
    width: 300px !important;
    flex: 0 0 300px !important;
    max-width: 300px !important;
  }

  .lab-left-panel + * {
    flex: 1 1 0% !important;
    max-width: calc(100% - 300px) !important;
    width: auto !important;
  }

  .fixed-left_desktop-panel
  {
    position:fixed;
    width: 300px;
    height: calc(-120px + 100vh) !important;
  }
}

@media (min-width: 768px) {
  .fixed-left_desktop-panel
  {
    position:relative;
    height: calc(-120px + 100vh) !important;
  }
}
/* Hide template-customizer panel + gear-icon open button entirely.
   Cover both the container and any sibling/auxiliary nodes the JS injects. */
.template-customizer,
.template-customizer-open-btn,
.template-customizer-t-panel,
[class^="template-customizer"],
[class*=" template-customizer"] { display: none !important; }

/* Hide browser-native password reveal button (Edge/IE) — we already have a custom toggle */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none !important; }
