/* .codicts-custom-number-slider {
    margin-bottom: 30px; 
} */

.codicts-custom-number-slider .ts-stepper-input {
    display: none !important;
}

.codicts-slider-container {
/*     width: 100%;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; */
}

.codicts-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
}

.codicts-slider-header span {
    cursor: pointer; /* Makes labels clickable */
    padding: 4px;
    transition: color 0.2s;
}

.codicts-slider-header span:hover {
    color: #007aff;
}

/* The main slider */
.codicts-slider-container .codicts-slider {
    -webkit-appearance: none; /* Override default appearance */
    appearance: none;
    width: 100%;
    height: 10px;
    background: #e0e0e0; /* Default track color */
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    margin: 8px 0;
    padding: 0;
}

.codicts-slider-container .codicts-slider:hover {
    opacity: 1; /* Full opacity on hover */
}

/* Slider Thumb (the draggable handle) */
.codicts-slider-container .codicts-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #007aff; /* Modern blue */
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: pointer;
    margin-top: -6px; /* Center thumb on track */
}

.codicts-slider-container .codicts-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #007aff;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* The number line (0-10) */
.codicts-slider-container .codicts-slider-increments {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #888;
    margin: 8px 2px 0 2px; /* Align with slider ends */
}

.codicts-slider-container .codicts-slider-increments span {
     width: 1.5em; /* Ensure they space out */
     text-align: center;
}

/* Output display for the value and message */
.codicts-slider-output {
    text-align: center;
    margin-top: 20px;
}

.codicts-slider-value {
    font-size: 2.5em;
    font-weight: 700;
    color: #007aff; /* Match thumb color */
    line-height: 1;
}

.codicts-slider-message {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    margin-top: 4px;
    min-height: 1.2em; /* Prevents layout jump on text change */
}