/* ============================================================
   UV Fonts — font-picker drawer section styles (Sprint 8.4)
   Works inside .uv-section-fonts which lives in the details
   drawer (details-drawer.css provides the outer container).
   ============================================================ */

.uv-section-fonts .uv-fonts-row {
  margin-top: 8px;
}

.uv-section-fonts label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 4px;
  font-size: 12px;
  opacity: .8;
}

.uv-section-fonts select {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  cursor: pointer;
  appearance: auto;
}

.uv-section-fonts select option {
  background: #1a1a1a;
  color: #fff;
}

.uv-fonts-preview {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  font-size: 18px;
  line-height: 1.3;
  min-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uv-fonts-reset {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid currentColor;
  opacity: .7;
  cursor: pointer;
  color: inherit;
}

.uv-fonts-reset:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .uv-section-fonts select {
    transition: none;
  }
}
