

.sidebar-sticky {
  position: sticky;
  top: 100px;
  z-index: 10;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sidebar-link span:first-child {
  font-weight: 500;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-link.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #fff;
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .sidebar-sticky {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  .sidebar-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 15px;
    margin: 0 -24px; 
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-scroll-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    white-space: nowrap;
  }

  .sidebar-scroll-inner li {
    width: auto !important;
    margin-bottom: 0 !important;
  }

  .sidebar-link {
    border-radius: 50px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }

  .sidebar-link.active {
    transform: none;
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
  }

  .sidebar-link.active .badge {
    background: #000 !important;
    color: var(--accent-cyan) !important;
    border-color: #000 !important;
  }
}

.popup-sub-step {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  margin-top: -6px;
  margin-bottom: 6px;
  padding-left: 32px;
}

.popup-sub-step .download-popup-step-num {
  display: none;
}

.popup-sub-step .bi {
  color: #555;
  font-size: 0.8rem;
}

.download-step-main {
  display: flex;
  flex-direction: column;
}

.download-step-sub {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}
