.psyche-content-survey {
    max-width: 500px;
}

.psyche-survey-step {
    justify-content: center;
    gap: 1.5rem;
}
.psyche-axis-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wizard-text-header);
    margin: 0;
}
.psyche-axis-description {
    font-size: 1rem;
    color: var(--wizard-text-muted);
    margin: 0;
    max-width: 350px;
}
.psyche-slider-container {
    width: 100%;
    padding: 2rem 0;
    margin: 1rem 0;
    --slider-percent: 0%;
    --slider-factor: 0;
}
.psyche-slider-wrapper {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}
.psyche-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--wizard-border-color);
    border-radius: 2px;
    pointer-events: none;
}
input[type="range"].psyche-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    outline: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}
input[type="range"].psyche-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    cursor: pointer;
    border: 0;
}
input[type="range"].psyche-slider::-moz-range-thumb {
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    cursor: pointer;
    border: 0;
}
.psyche-slider-thumb {
    position: absolute;
    top: 50%;
    left: calc(var(--slider-percent) - (var(--slider-factor) * 2.5rem + 0.5rem));
    transform: translate(0, -50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--wizard-accent-color);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    transition: background-color 0.2s ease;
}
input[type="range"].psyche-slider:active + .psyche-slider-track + .psyche-slider-thumb {
    background-color: var(--wizard-accent-hover-color);
}
.psyche-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 0.5rem;
}
.psyche-slider-labels span {
    font-size: 0.8rem;
    color: var(--wizard-text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}
.psyche-slider-labels span.active {
    color: var(--wizard-text-header);
    transform: scale(1.1);
    font-weight: 700;
}
.psyche-nav-buttons {
    margin-top: 1rem;
}


@media (max-width: 480px) {
    .psyche-content-survey {
        max-width: 100%;
        padding: 0.5rem;
        box-sizing: border-box;
    }
    .psyche-axis-title {
        font-size: 1.5rem;
    }
    .psyche-axis-description {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .psyche-slider-container {
        padding: 1rem 0;
        margin: 0.5rem 0;
    }
    .psyche-slider-labels span {
        font-size: 0.7rem;
    }
    .psyche-slider-labels {
        padding: 0;
    }
    .psyche-nav-buttons {
        margin-top: 0.5rem;
    }
}

