
.inline-color-picker {
    width: 420px;
    max-width: 100%;
    margin: 20px auto;
    padding: 14px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.08);
}
.picker-title {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #444;
}
#toggleCmykBtn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    font-weight: 600;
    cursor: pointer;
}

#toggleCmykBtn:hover {
    background: #eaeaea;
}

.picker-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

#hexValue {
    width: 100px;
    text-align: center;
    font-family: monospace;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px;
}

.color-preview {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
}

.picker-main {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.sv-picker {
    width: 300px;
    height: 200px;
    position: relative;
    cursor: crosshair;
    border-radius: 10px;
    overflow: hidden;
}

.hue-picker {
    width: 22px;
    height: 200px;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    background: linear-gradient(
        red, yellow, lime, cyan, blue, magenta, red
    );
}

.sv-cursor{
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 2px #000;
    pointer-events: none;
}
.hue-cursor {
    position: absolute;
    width: 12px;
    left: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 2px #000;
    pointer-events: none;
}
@media (max-width: 600px) {

    .inline-color-picker {
        width: 100%;
        padding: 12px;
    }

    .picker-main {
        flex-direction: column;
    }

    .sv-picker {
        width: 100%;
        height: 180px;
    }

    .hue-picker {
        width: 100%;
        height: 16px;
        margin-top: 10px;
        background: linear-gradient(
            to right,
            red, yellow, lime, cyan, blue, magenta, red
        );
    }
.hue-cursor {
    position: absolute;
    width: 3px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    height: 12px;

}

}


