/* ============================================
   ZONDEX.IO - Custom Overrides for Sparic Theme
   ============================================ */

/* === Banner Block === */
.banner-block pre {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.75rem;
  white-space: pre-wrap;
  word-break: break-all;
  margin-bottom: 0;
}

.banner-toggle {
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none !important;
}

/* === Copy Button === */
.copy-btn {
  cursor: pointer;
}

.copy-btn.copied {
  color: #10b981 !important;
  border-color: #10b981 !important;
}

/* === Autocomplete Dropdown === */
.autocomplete-dropdown {
  position: absolute;
  z-index: 1050;
  background: var(--custom-white, #111827);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #8899aa;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.1s;
}

.autocomplete-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e0e6ed;
}

/* === Facet list group flush items === */
.list-group-flush .list-group-item {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Print === */
@media print {
  .app-sidebar,
  .app-header,
  .scrollToTop,
  #responsive-overlay {
    display: none !important;
  }
  .main-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
}
