/* COLOR Command */

.ep-color-input {
    font-size: 18px;
    padding: 10px;
    text-align: center;
    background-color: #f0f0f0;
    /* Default background color */
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* shadow */
    color: #333;
    /* Dark text color */
    cursor: not-allowed;
    /* field is not editable */
}

.ep-color-block-select {
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    /*  shadow  */
    margin-bottom: 10px;
}

.ep-color-block {
    /*margin: 4px;*/
    /* Spacing between color blocks */
    /*border-radius: 4px; */
    cursor: pointer;
    /* Clickable */
    transition: transform 0.2s, box-shadow 0.2s;
    /* hover effect */
}

.ep-color-block:hover {
    transform: scale(1.1);
    /* Enlarge the color block on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    /* Shadow on hover */
}

.ep-color-block-container {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    /*max-height: 300px;
        overflow-y: auto;  */
}

@keyframes highlight {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.highlight {
    animation: highlight 0.5s ease;
}

/* CMYK Command */

.cmyk-picker {
    display: flex;
    justify-content: space-around;
    max-width: 350px;
    margin: 0 auto;
}

.color-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
    /* Reduce margin for compactness */
}

.color-block {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-top: 5px;
}

.cyan-block {
    background-color: cyan;
}

.magenta-block {
    background-color: magenta;
}

.yellow-block {
    background-color: yellow;
}

.black-block {
    background-color: black;
}

.vertical-range {
    -webkit-appearance: slider-vertical;
    /* Chrome & Safari */
    writing-mode: bt-lr;
    /* Bottom to top */
    width: 8px;
    /* Slimmer slider */
    height: 80px;
    /* Slightly reduced height */
}

.value-display {
    margin-top: 5px;
    text-align: center;
    width: 35px;
    /* Fixed width to prevent shifting */
    text-align: right;
}

.color-preview {
    margin-top: 20px;
    width: 150px;
    height: 30px;
    text-align: center;
    border: 1px solid #ccc;
}