body {
    font-family: system-ui;
    max-width: 900px;
    margin: auto;
    background: #f4f6f8;
}

.pairing {
    background: white;
    padding: 18px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bar {
    height: 12px;
    background: #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fill {
    height: 100%;
    background: #ffb400;
    border-radius: 6px;
}

.rating {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.rating label {
    font-weight: 600;
    margin-bottom: 4px;
}

.slider-container {
    position: relative;
    width: 100%;
}

.rating input[type="range"] {
    width: 100%;
    display: block;
    margin: 0;
}

.tick-labels {
    position: absolute;
    width: 100%;
    top: 18px;
    /* distance below the slider, adjust as needed */
    left: 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 0;
    margin: 0;
    pointer-events: none;
    /* so they don’t interfere with slider */
}