#ac-calculator {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 18px;
    overflow: hidden;
}

.sliders-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.slider-col {
    text-align: center;
    width: 40%;
}

.slider-col label {
    display: block;
    margin-bottom: 5px;
}

.slider-col input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--track-color, #e0e0e0); /* Fondo visible todo el tiempo */
    outline: none;
    border-radius: 5px;
    position: relative;
}

.slider-col input[type="range"]::-webkit-slider-runnable-track {
    background: var(--track-color, #e0e0e0);
    height: 8px;
    border-radius: 5px;
}

.slider-col input[type="range"]::-moz-range-track {
    background: var(--track-color, #e0e0e0);
    height: 8px;
    border-radius: 5px;
}

.slider-col input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--slider-color, #ffa500);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* Ajuste para centrar el thumb */
}

.slider-col input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--slider-color, #ffa500);
    border-radius: 50%;
    cursor: pointer;
}

.slider-col span {
    display: block;
    margin-top: 5px;
    color: #007bff;
}

.options-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.option-col {
    width: 48%;
}

.option-col label {
    display: block;
    margin-bottom: 5px;
}

.option-col select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.radio-group {
    display: flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.radio-group label {
    margin-right: 15px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-row input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    margin-right: 10px;
    background: #fff;
}

.checkbox-row input[type="checkbox"]:checked {
    background: #000;
}

.checkbox-row input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin: 2px;
}

.checkbox-row input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px #007bff;
}

#ac-calculator button {
    padding: 12px 24px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: 20px;
}

#result {
    padding: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-weight: 700;
}

#result span {
    flex: 1;
    text-align: center;
}

.note {
    font-size: smaller;
    margin-top: 10px;
    color: inherit; /* Hereda por defecto, pero se sobrescribe con opción */
}