html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#suggestions:empty {
  display: none;
}

/* Suggestions block */
.sg-suggestions {
  margin-top: 0.75rem;
}

/* sits under the input row */
.sg-suggestions .sg-inner {
  color: #fff;
}

/* white text */
.sg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 16rem;
  overflow-y: auto;
  border-radius: 0.5rem;
}

.sg-item {
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-item:first-child {
  border-top: 0;
}

.sg-item:hover {
  background: rgba(15, 23, 42, 0.6);
}

/* slate-like hover */
.sg-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.sg-brand {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Underline on hover using current text color */
.sg-item:hover .sg-title,
.sg-item:hover .sg-brand {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
