/* Custom styles for Claridom Funnel */

/* Hide default radio buttons */
.funnel-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Range Slider */
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #F1F5F9;
    /* slate-100 */
    border-radius: 999px;
    outline: none;
    padding: 0;
    margin: 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0F172A;
    /* claridom-navy */
    cursor: pointer;
    border: 4px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0F172A;
    cursor: pointer;
    border: 4px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    transition: transform 0.1s;
}

.custom-range::-moz-range-thumb:hover {
    transform: scale(1.1);
}

/* Step Transitions */
.funnel-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: translateY(10px);
}

.funnel-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Checkmark animation for the loading step */
.check-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    transition: stroke-dashoffset 0.6s ease-in-out;
}

.check-circle.animated {
    stroke-dashoffset: 0;
}

/* Input Focus Glow */
.funnel-input {
    transition: border-color 0.2s, box-shadow 0.2s;
}

.funnel-input:focus {
    border-color: #0F172A;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
    outline: none;
}