﻿input[type=range],
input#totalSlices,
input#eatenSlices {
    -webkit-appearance: slider-horizontal !important;
    -moz-appearance: range !important;
    appearance: slider-horizontal !important;
    display: block !important;
    height: 1.5rem !important;
    width: 100% !important;
}

/* --- Slider 1: Total Slices (Blue Thumb) --- */
#totalSlices::-webkit-slider-thumb {
    background-color: #0d6efd !important; /* Bootstrap Primary Blue */
}

#totalSlices::-moz-range-thumb {
    background-color: #0d6efd !important;
}

/* --- Slider 2: Eaten Slices (Red Thumb) --- */
#eatenSlices::-webkit-slider-thumb {
    background-color: #ff5964 !important; /* Pizza Theme Red */
}

#eatenSlices::-moz-range-thumb {
    background-color: #ff5964 !important;
}

.main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 3px solid #ffb703;
    padding: 16px !important;
}

.slider-container {
    background: #ffffff;
    border: 2px solid #e0e6ed;
    border-radius: 14px;
    padding: 8px 12px;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: #fff;
    border-radius: 8px;
    outline: none;
    margin: 4px 0;
}

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #8b5a2b;
        cursor: pointer;
        border: 3px solid white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    input[type=range]::-moz-range-thumb {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #8b5a2b;
        cursor: pointer;
        border: 3px solid white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

#chocoCanvas {
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.1));
    max-width: 100%;
    height: auto;
}

.question-card {
    border-radius: 14px;
    padding: 10px;
    color: white;
    background-color: #8b5a2b;
}

.target-fraction {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
    color: #ffea00;
    padding: 4px;
}

.feedback-message {
    font-size: 1.25rem;
    font-weight: 700;
    min-height: 28px;
}
