/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 13 2024 | 22:48:07 */
.slider-container {
    text-align: center;
    margin-top: 20px;
    position: relative;
    width: 100%;
    max-width: 600px; /* Limitar a largura máxima */
    margin-left: auto;
    margin-right: auto;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
    margin-bottom: 45px; /* Aumenta a margem para dar espaço aos labels */
    position: relative;
    cursor: pointer;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px; /* Aumenta o tamanho do thumb */
    height: 30px;
    background: #563d7c;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    top: -11px; /* Alinha verticalmente o thumb com o slider */
}

.slider::-moz-range-thumb {
    width: 30px; /* Aumenta o tamanho do thumb */
    height: 30px;
    background: #563d7c;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    top: -11px; /* Alinha verticalmente o thumb com o slider */
}

.slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #563d7c 0%, #ddd 0%);
    border-radius: 5px;
    height: 10px;
    position: relative;
}

.slider::-moz-range-track {
    background: linear-gradient(to right, #563d7c 0%, #ddd 0%);
    border-radius: 5px;
    height: 10px;
    position: relative;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: -15px; /* Ajuste para alinhar com o slider */
    pointer-events: none;
}

.slider-ticks span {
    font-size: 12px;
    color: #333;
    position: relative;
    white-space: nowrap;
    margin-top: 35px; /* Espaço maior para os labels */
    text-align: center;
    flex: 1; /* Distribui igualmente os espaços entre os ticks */
}

.slider-ticks span:before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    position: absolute;
    top: -20px; /* Ajustar para alinhar com a barra */
    left: 50%;
    transform: translateX(-50%);
}

.slider-value {
    font-size: 16px;
    margin-top: 10px;
    color: #563d7c;
}

/* Estilo de ponto de parada para o thumb */
.slider-container .slider-ticks span.active:before {
    background-color: #563d7c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .slider-ticks span {
        font-size: 10px;
    }

    .slider-value {
        font-size: 14px;
    }
}
