.color-workspace {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 80px;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.smart-input-section {
    margin-bottom: 30px;
}

.smart-input-section input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1.1rem;
    outline: none;
}

.picker-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sat-val-box {
    width: 100%;
    height: 300px;
    position: relative;
    background-color: hsl(330, 100%, 50%);
    border-radius: 8px;
    cursor: crosshair;
    overflow: hidden;
}

.white-grad {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.black-grad {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #000, transparent);
}

.picker-cursor {
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.sliders-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hue-slider {
    -webkit-appearance: none;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
    outline: none;
}

.alpha-slider {
    -webkit-appearance: none;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, transparent, var(--text-color));
}

.hue-slider::-webkit-slider-thumb,
.alpha-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
}

.main-preview {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.copy-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-action {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.input-action input {
    flex: 1;
    padding: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    font-family: monospace;
}

.input-action button {
    padding: 10px;
    background: var(--nav-bg);
    border: none;
    border-left: 1px solid var(--border-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .picker-main-layout {
        grid-template-columns: 1fr;
    }
}