/* ==========================================================================
   FF Custom Fields — Plugin Styles
   ========================================================================== */

/* ---- Toggle Field ---- */
.ff-custom-toggle-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}

.ff-custom-toggle-field .ff-toggle-switch {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 20px;
  background-color: white;
  border: 1px solid #1a1a1a;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.ff-custom-toggle-field .ff-toggle-thumb {
  position: absolute;
  border-radius: 9999px;
  background-color: #1a1a1a;
  top: 50%;
  transform: translateY(-50%);
  left: 3px;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.ff-custom-toggle-field.is-right .ff-toggle-thumb {
  transform: translateY(-50%) translateX(19px);
}

.ff-custom-toggle-field .ff-toggle-label {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
}

.ff-custom-toggle-field:not(.is-right) .ff-toggle-label--left {
  font-weight: 700;
  color: #f75f00;
}

.ff-custom-toggle-field.is-right .ff-toggle-label--right {
  font-weight: 700;
  color: #f75f00;
}
