/* line 1, 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 14, 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 33, 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 38, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-toggle:active {
  transform: scale(0.95);
}

/* line 43, 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 58, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
/* line 64, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc h6 {
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}
/* line 72, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc .btn {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* line 78, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc .btn i {
  min-width: 20px;
}

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

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

/* line 109, 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 116, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section h2 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}
/* line 122, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section h2 i {
  color: #007bff;
}
@media (min-width: 768px) {
  /* line 127, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .row {
    display: flex;
    flex-wrap: wrap;
  }
}
/* line 135, 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: #495057;
  text-align: center;
}
/* line 142, 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 149, 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 156, 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;
}
/* line 164, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section .list-group .list-group-item:first-child {
  border-top: none;
}
/* line 168, 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 175, 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);
}
/* line 180, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section .list-group .list-group-item:hover i {
  transform: scale(1.2);
}
/* line 185, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section .list-group .list-group-item:active {
  background-color: #e3f2ff;
}
/* line 190, 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;
}
/* line 195, 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 201, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-section .list-group .list-group-item.text-muted i {
  color: #6c757d;
}
/* line 204, 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 216, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .col-md-4 {
    display: flex;
    flex-direction: column;
  }
  /* line 220, 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 229, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 2rem 1.5rem;
  }
  /* line 232, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .toc-column-header {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  /* line 237, 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 246, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }
  /* line 250, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  /* line 255, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .toc-column-header {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  /* line 259, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .toc-column-header:first-child {
    margin-top: 0;
  }
  /* line 263, 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 269, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .list-group {
    margin-bottom: 1rem;
  }
  /* line 272, 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 285, 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 294, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section {
    padding: 1rem 0.75rem;
    border-radius: 10px;
  }
  /* line 298, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section h2 {
    font-size: 1.25rem;
  }
  /* line 301, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section h2 i {
    font-size: 1rem;
  }
  /* line 306, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .list-group-item {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
  }
  /* line 310, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
  .toc-section .list-group-item i {
    font-size: 0.85rem;
    width: 18px;
  }
}
/* line 319, 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 335, 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 348, 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 367, 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 372, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.toc-toggle:active {
  transform: scale(0.95);
}

/* line 377, 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 392, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
/* line 398, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc h6 {
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}
/* line 406, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc .btn {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* line 412, C:/sites/master/app/assets/stylesheets/floating_toc.scss */
.floating-toc .btn i {
  min-width: 20px;
}

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

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