/* Favoritos — hexagon color picker (React/Preact) */
#fav-color-picker-root {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

#fav-color-picker-root .fav-color-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

#fav-color-picker-root .fav-hex-picker {
  position: absolute;
  width: 280px;
  min-width: 220px;
  padding: 12px;
  overflow: visible;

  border: 1px solid rgba(21, 107, 76, 0.18);
  border-radius: 16px;

  background: rgba(8, 12, 10, 0.62);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);

  color: #eafaf4;
  font-size: 13px;
  user-select: none;
  touch-action: none;
}

body[data-theme='dark'] #fav-color-picker-root .fav-hex-picker {
  background: rgba(8, 12, 10, 0.72);
  border-color: rgba(180, 220, 205, 0.16);
}

.fav-hex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  cursor: grab;
}

.fav-hex-header:active {
  cursor: grabbing;
}

.fav-hex-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.fav-hex-preview {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

body[data-theme='light'] .fav-hex-preview {
  border-color: rgba(21, 107, 76, 0.22);
}

.fav-hex-input {
  width: 84px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 6px;
  font-weight: 700;
  text-transform: uppercase;
}

body[data-theme='light'] .fav-hex-input {
  border-color: rgba(21, 107, 76, 0.18);
  background: rgba(21, 107, 76, 0.04);
}

.fav-hex-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fav-hex-palette {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fav-hex-palette svg {
  width: 100%;
  height: auto;
}

.fav-hex-hue {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fav-hex-hue svg {
  width: 100%;
  height: 38px;
}

.fav-hex-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.fav-hex-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

body[data-theme='light'] .fav-hex-btn {
  border-color: rgba(21, 107, 76, 0.18);
  background: rgba(21, 107, 76, 0.06);
}




