/* ===== Coloris dark theme ===== */
.clr-field {
  position: relative;
  display: block;
  width: 100%;
}
.clr-field button {
  width: 26px;
  height: 26px;
  left: 7px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
}
.clr-field input {
  width: 100%;
  height: 38px;
  padding: 0 10px 0 42px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: #eee;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color .2s ease;
}
.clr-field input:focus { border-color: var(--accent); }

.clr-picker { background: #1a1a1a; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.clr-picker.clr-dark { background: #1a1a1a; }
.clr-picker.clr-dark .clr-slider {
  border-color: #2c2c2c;
  background-color: #1a1a1a;
}
.clr-picker .clr-hue, .clr-picker .clr-alpha { border-radius: 6px; }
.clr-field button:after {
  border-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.clr-picker .clr-swatches button {
  border-radius: 50%;
  width: 18px;
  height: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.clr-picker .clr-swatches { padding-top: 10px; }

/* hide the redundant hex field + format toggle + color preview inside the picker —
   the bound input already shows the hex value on our UI */
.clr-picker #clr-color-value,
.clr-picker .clr-format,
.clr-picker .clr-clear,
.clr-picker .clr-close,
.clr-picker .clr-preview {
  display: none !important;
}
.clr-picker .clr-field { display: none; }
