.FormOverView {
  position: relative;
  padding-right: 280px;
}

.color-picker-panel {
  position: absolute;
  right: 20px;
  top: 40px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;

  .panel-header {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #d32f2f;
    text-align: left;
  }

  .color-picker-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .color-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }

  .color-picker-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    cursor: crosshair;
    border: 1px solid #ccc;
    border-radius: 2px;
    overflow: hidden;

    .color-canvas {
      display: block;
      width: 100%;
      height: 100%;
    }

    .color-selector {
      position: absolute;
      width: 14px;
      height: 14px;
      border: 2px solid white;
      border-radius: 50%;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
  }

  .hue-slider-wrapper {
    position: relative;
    width: 160px;
    height: 18px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 2px;
    overflow: hidden;

    .hue-canvas {
      display: block;
      width: 100%;
      height: 100%;
    }

    .hue-selector {
      position: absolute;
      top: 50%;
      width: 4px;
      height: 24px;
      background: white;
      border: 1px solid #666;
      border-radius: 1px;
      transform: translate(-50%, -50%);
      pointer-events: none;
      box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    }
  }

  .color-preview-box {
    display: flex;
    gap: 8px;
    width: 160px;

    .preview-square {
      width: 48px;
      height: 48px;
      border: 1px solid #ccc;
      border-radius: 2px;
      flex-shrink: 0;
    }

    .preview-rectangles {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;

      .preview-rect {
        flex: 1;
        border: 1px solid #ccc;
        border-radius: 2px;
        min-height: 22px;
      }
    }
  }

  .color-values {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    flex-shrink: 0;

    .value-row {
      display: flex;
      align-items: center;
      gap: 6px;
      height: 28px;

      .label {
        font-size: 12px;
        font-weight: 500;
        color: #333;
        width: 22px;
        text-align: right;
      }

      input[type="number"],
      input[type="text"] {
        flex: 1;
        padding: 5px 8px;
        border: 1px solid #d0d0d0;
        border-radius: 3px;
        font-size: 12px;
        text-align: center;
        background: white;
        height: 28px;
        box-sizing: border-box;
        
        &:focus {
          outline: none;
          border-color: #2196F3;
          box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
        }

        &:hover:not(:focus) {
          border-color: #b0b0b0;
        }
      }

      input[type="number"] {
        max-width: 70px;
      }

      .unit {
        font-size: 11px;
        color: #666;
        width: 20px;
        text-align: left;
      }

      &.hex-row {
        input[type="text"] {
          text-align: left;
          font-family: 'Courier New', Courier, monospace;
          text-transform: lowercase;
          max-width: none;
        }
      }
    }
  }
}

// Remove number input spinners
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}