.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #F5F5EE;
    border-radius: 5px;
    margin-bottom: 15px;
}

.result-label {
    font-size: 16px;
    color: #181100;
}

.result-value {
    font-size: 28px;
    color: #181100;
    font-weight: bold;
}

#loading {
    text-align: center;
    color: #181100;
    padding: 20px;
}

#error {
    padding: 15px;
    background-color: #ffe6e6;
    border-radius: 5px;
    margin-top: 10px;
    color: #d32f2f;
}

.binomial-only {
    display: none;
}

.sensitivity-controls {
    background-color: #F5F5EE;
    padding: 20px;
    border-radius: 5px;
}

.control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    font-size: 13px;
    color: #181100;
    margin-bottom: 5px;
}

.control-group input[type="number"] {
    padding: 8px;
    border: 1px solid #181100;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    background-color: #ffffff;
    color: #181100;
}

.control-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d3d3d3;
    outline: none;
    margin-top: 5px;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #181100;
    cursor: pointer;
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #181100;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-size: 14px;
    color: #d32f2f;
    font-weight: bold;
    margin-bottom: 5px;
}

#heatmap {
    min-height: 400px;
}

@media (max-width: 768px) {
    .control-row {
        grid-template-columns: 1fr;
    }
}
