.elfa-csc-calculator {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    padding: 40px 30px;
    border-radius: 12px;
    box-sizing: border-box;
}

.elfa-csc-calculator *,
.elfa-csc-calculator *::before,
.elfa-csc-calculator *::after {
    box-sizing: border-box;
}

.elfa-csc-inner {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.elfa-csc-panel {
    flex: 1;
    min-width: 0;
}

/* Headings */
.elfa-csc-heading {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}

.elfa-csc-subtitle {
    font-size: 14px;
    font-style: italic;
    color: #F5C518;
    margin: 0 0 28px 0;
}

/* Fields */
.elfa-csc-field {
    margin-bottom: 24px;
}

.elfa-csc-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    color: #F5C518;
    margin-bottom: 10px;
}

/* Text inputs */
.elfa-csc-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.elfa-csc-input:focus {
    border-color: #F5C518;
}

/* Hide number spinners */
.elfa-csc-input::-webkit-outer-spin-button,
.elfa-csc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.elfa-csc-input[type='number'] {
    -moz-appearance: textfield;
}

/* Slider */
.elfa-csc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.elfa-csc-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.elfa-csc-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
}

.elfa-csc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    border: 3px solid #F5C518;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px;
}

.elfa-csc-slider::-moz-range-track {
    height: 6px;
    background: #333;
    border-radius: 3px;
    border: none;
}

.elfa-csc-slider::-moz-range-progress {
    height: 6px;
    background: #F5C518;
    border-radius: 3px;
}

.elfa-csc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    border: 3px solid #F5C518;
    border-radius: 50%;
    cursor: pointer;
}

.elfa-csc-slider-value {
    display: inline-block;
    min-width: 70px;
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: #F5C518;
    border-radius: 6px;
    white-space: nowrap;
}

/* Results */
.elfa-csc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elfa-csc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.elfa-csc-result-savings {
    border-bottom: none;
    padding-bottom: 24px;
}

.elfa-csc-result-label {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.elfa-csc-result-value {
    font-size: 20px;
    font-weight: 700;
    color: #F5C518;
}

.elfa-csc-savings-value {
    font-size: 26px;
}

/* CTA Button */
.elfa-csc-cta-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    background: #F5C518;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.elfa-csc-cta-btn:hover {
    opacity: 0.85;
    color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    .elfa-csc-inner {
        flex-direction: column;
        gap: 30px;
    }

    .elfa-csc-calculator {
        padding: 28px 20px;
    }
}
