/* line 6, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d4ff);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s ease-out;
  z-index: 9999;
  width: 100%; }

/* line 19, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem; }
  /* line 38, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.6); }
  /* line 43, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-toggle:active {
    transform: scale(0.95); }

/* line 48, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  max-height: 60vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 999;
  overflow-y: auto;
  transition: all 0.3s ease;
  transform-origin: bottom right; }
  /* line 63, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .floating-toc.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none; }
  /* line 69, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .floating-toc h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff; }
  /* line 77, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .floating-toc .btn {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
    /* line 83, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .floating-toc .btn i {
      min-width: 20px; }

@media (max-width: 768px) {
  /* line 91, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .floating-toc {
    width: calc(100vw - 40px);
    right: 20px;
    left: 20px;
    max-height: 50vh; }

  /* line 98, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.1rem; } }
/* line 106, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
html {
  scroll-behavior: smooth; }

/* line 114, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); }
  /* line 121, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section h2 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 4vw, 2rem); }
    /* line 127, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section h2 i {
      color: #007bff; }
  @media (min-width: 768px) {
    /* line 132, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .row {
      display: flex;
      flex-wrap: wrap; } }
  /* line 140, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .toc-column-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-align: center; }
    /* line 147, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .toc-column-header .badge {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
      box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2); }
  /* line 154, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .list-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    height: 100%; }
    /* line 161, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .list-group .list-group-item {
      border-left: 3px solid transparent;
      border-right: none;
      border-top: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.2s ease;
      font-size: 0.95rem;
      padding: 0.75rem 1rem;
      color: var(--text-muted); }
      /* line 170, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item:first-child {
        border-top: none; }
      /* line 174, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item i {
        color: #007bff;
        width: 20px;
        text-align: center;
        transition: transform 0.2s ease; }
      /* line 181, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item:hover {
        border-left-color: #007bff;
        background-color: #f1f8ff;
        transform: translateX(3px);
        color: var(--text-primary); }
        /* line 187, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
        .toc-section .list-group .list-group-item:hover i {
          transform: scale(1.2); }
      /* line 192, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item:active {
        background-color: #e3f2ff; }
      /* line 197, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item.text-muted {
        font-style: italic;
        background-color: #f8f9fa;
        cursor: default;
        color: var(--text-muted); }
        /* line 203, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
        .toc-section .list-group .list-group-item.text-muted:hover {
          border-left-color: transparent;
          background-color: #f8f9fa;
          transform: none; }
        /* line 209, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
        .toc-section .list-group .list-group-item.text-muted i {
          color: #6c757d; }
          /* line 212, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
          .toc-section .list-group .list-group-item.text-muted i:hover {
            transform: none; }

@media (min-width: 768px) {
  /* line 224, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .col-md-4 {
    display: flex;
    flex-direction: column; }
    /* line 228, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .col-md-4 .list-group {
      flex: 1; } }
@media (min-width: 768px) and (max-width: 991px) {
  /* line 237, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 2rem 1.5rem; }
    /* line 240, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .toc-column-header {
      font-size: 1rem;
      margin-bottom: 0.75rem; }
    /* line 245, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .list-group-item {
      font-size: 0.9rem;
      padding: 0.65rem 0.85rem; } }
@media (max-width: 767px) {
  /* line 254, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0; }
    /* line 258, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section h2 {
      font-size: 1.5rem;
      margin-bottom: 1.5rem; }
    /* line 263, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .toc-column-header {
      margin-top: 1.5rem;
      margin-bottom: 0.75rem; }
      /* line 267, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .toc-column-header:first-child {
        margin-top: 0; }
      /* line 271, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .toc-column-header .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem; }
    /* line 277, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .list-group {
      margin-bottom: 1rem; }
      /* line 280, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group .list-group-item {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
        min-height: 44px;
        display: flex;
        align-items: center; }
    /* line 293, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .col-12:last-child .list-group {
      margin-bottom: 0; } }
@media (max-width: 575px) {
  /* line 302, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 1rem 0.75rem;
    border-radius: 10px; }
    /* line 306, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section h2 {
      font-size: 1.25rem; }
      /* line 309, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section h2 i {
        font-size: 1rem; }
    /* line 314, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-section .list-group-item {
      font-size: 0.85rem;
      padding: 0.6rem 0.75rem; }
      /* line 318, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      .toc-section .list-group-item i {
        font-size: 0.85rem;
        width: 18px; } }
/* line 327, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section {
  animation: fadeInUp 0.6s ease-out; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
/* line 348, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
[data-bs-theme="dark"] .scroll-indicator {
  background: linear-gradient(90deg, #32a1e7, #00d4ff);
  box-shadow: 0 0 8px rgba(50, 161, 231, 0.3); }
/* line 354, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
[data-bs-theme="dark"] .toc-toggle {
  background: linear-gradient(135deg, #32a1e7, #00B398);
  box-shadow: 0 4px 12px rgba(50, 161, 231, 0.4); }
  /* line 358, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .toc-toggle:hover {
    box-shadow: 0 6px 16px rgba(50, 161, 231, 0.6); }
/* line 364, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
[data-bs-theme="dark"] .floating-toc {
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color); }
  /* line 369, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .floating-toc h6 {
    color: var(--text-primary);
    border-bottom-color: #32a1e7; }
  /* line 374, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .floating-toc .btn {
    color: var(--text-muted); }
    /* line 377, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    [data-bs-theme="dark"] .floating-toc .btn:hover {
      color: var(--text-primary); }
/* line 384, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
[data-bs-theme="dark"] .toc-section {
  background: linear-gradient(135deg, rgba(50, 161, 231, 0.05) 0%, rgba(0, 179, 152, 0.05) 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color); }
  /* line 392, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .toc-section h2 {
    color: var(--text-primary); }
    /* line 395, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    [data-bs-theme="dark"] .toc-section h2 i {
      color: #32a1e7; }
  /* line 400, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .toc-section .toc-column-header {
    color: var(--text-muted); }
    /* line 403, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    [data-bs-theme="dark"] .toc-section .toc-column-header .badge {
      box-shadow: 0 2px 4px rgba(50, 161, 231, 0.3); }
  /* line 408, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .toc-section .list-group {
    background-color: var(--bg-card);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
    /* line 412, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    [data-bs-theme="dark"] .toc-section .list-group .list-group-item {
      background-color: var(--bg-card);
      border-top-color: var(--border-color);
      color: var(--text-muted); }
      /* line 417, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      [data-bs-theme="dark"] .toc-section .list-group .list-group-item i {
        color: #32a1e7; }
      /* line 421, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      [data-bs-theme="dark"] .toc-section .list-group .list-group-item:hover {
        border-left-color: #32a1e7;
        background-color: rgba(50, 161, 231, 0.1);
        color: var(--text-primary); }
      /* line 427, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      [data-bs-theme="dark"] .toc-section .list-group .list-group-item:active {
        background-color: rgba(50, 161, 231, 0.15); }
      /* line 432, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
      [data-bs-theme="dark"] .toc-section .list-group .list-group-item.text-muted {
        background-color: rgba(255, 255, 255, 0.03);
        color: var(--text-muted); }
        /* line 436, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
        [data-bs-theme="dark"] .toc-section .list-group .list-group-item.text-muted:hover {
          background-color: rgba(255, 255, 255, 0.03); }
        /* line 440, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
        [data-bs-theme="dark"] .toc-section .list-group .list-group-item.text-muted i {
          color: var(--text-muted); }
/* line 449, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
[data-bs-theme="dark"] .floating-toc {
  scrollbar-width: thin;
  scrollbar-color: rgba(50, 161, 231, 0.3) var(--bg-card); }
  /* line 453, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .floating-toc::-webkit-scrollbar {
    width: 8px; }
  /* line 457, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .floating-toc::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px; }
  /* line 462, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  [data-bs-theme="dark"] .floating-toc::-webkit-scrollbar-thumb {
    background: rgba(50, 161, 231, 0.3);
    border-radius: 4px; }
    /* line 466, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    [data-bs-theme="dark"] .floating-toc::-webkit-scrollbar-thumb:hover {
      background: rgba(50, 161, 231, 0.5); }

@media (prefers-reduced-motion: reduce) {
  /* line 475, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    animation: none; }

  /* line 479, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-toggle {
    transition: none; }
    /* line 482, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .toc-toggle:hover {
      transform: none; }

  /* line 487, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .floating-toc {
    transition: opacity 0.1s ease; }

  /* line 491, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .list-group-item {
    transition: none; }
    /* line 494, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
    .list-group-item:hover {
      transform: none; } }
