﻿.item {
    background-color: #3792cb; /* Darker for contrast */
    border: 0.5px solid #fff; /* White border for visibility */
    /* padding:2px;*/
    text-align: center;
    border-radius: 2px;
    font-size: 9px; /* Slightly larger */
    line-height: 7px;
    color: #fff; /* White text for contrast */
}

.dock-item {
    width: 12px; /* Slightly larger for clarity */
    height: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.user-icon {
    border-radius: 50%;
    border: 2px solid #333;
}
/*.dock-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 2px;
        border: 1px solid #fff;*/ /* White border for visibility */
/*}*/


.tool-item {
    text-align: center;
    border-radius: 10px;
    font-size: 15px; /* Slightly larger */
    padding: 8px;
    color: black;
}

    .tool-item:hover {
        background-color: black;
        color: #fff; /* White text for contrast */
    }

@keyframes itemOutlineFade {
    0% {
        outline-color: rgba(0,120,215,0.2);
    }

    50% {
        outline-color: rgba(0,120,215,1);
    }

    100% {
        outline-color: rgba(0,120,215,0.2);
    }
}

.item-selected {
    outline: 3px solid rgba(0,120,215,1);
    outline-offset: -2px;
    animation: itemOutlineFade 1.4s ease-in-out infinite;
    background-color: rgba(0, 120, 215, 0.05);
}

@font-face {
    font-family: "ZPLText";
    src: url("../../fonts/zpl/zplText.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.zpl-text {
    font-family: "ZPLText", monospace;
    /*font-size: 30px;*/
    color: #000;
    white-space: nowrap; /* change to normal for wrapping */
}


/* ===== Layout ===== */
.slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    /*width: 320px;*/
    font-family: Arial, sans-serif;
}

/* ===== Value Box (LEFT) ===== */
.slider-value {
    width: 40px;
    text-align: right;
    font-weight: bold;
    color: #111827;
    flex-shrink: 0;
}

/* ===== Range Input ===== */
.slider-row input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 8px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    background: linear-gradient( to right, #2563eb 0%, #2563eb var(--progress, 50%), #e5e7eb var(--progress, 50%), #e5e7eb 100% );
}

    /* WebKit track */
    .slider-row input[type="range"]::-webkit-slider-runnable-track {
        height: 8px;
        border-radius: 8px;
        background: transparent !important;
    }

    /* Firefox track */
    .slider-row input[type="range"]::-moz-range-track {
        height: 8px;
        background: transparent;
        border-radius: 8px;
    }

    /* WebKit thumb */
    .slider-row input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        height: 20px;
        width: 20px;
        background: #2563eb;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    }


    /* Firefox thumb */
    .slider-row input[type="range"]::-moz-range-thumb {
        height: 20px;
        width: 20px;
        background: #2563eb;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    }
