/**
 * DesignKaar EV Kit add-on: NCF / LFP buttons in the Savings Calculator.
 * Styled to match the NCF / LFP switch in the Petrol vs EV comparison section.
 */
.eps-calculator-section .dk-calc-variant-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-top: 10px;
    padding: 4px;
    background: #edf2f7;
    border-radius: 30px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.eps-calculator-section .dk-calc-variant-toggle.dk-is-hidden {
    display: none !important;
}

.eps-calculator-section .dk-calc-variant-btn {
    flex: 1 1 50%;
    display: block;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 24px;
    box-shadow: none;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.eps-calculator-section .dk-calc-variant-btn:hover,
.eps-calculator-section .dk-calc-variant-btn:focus {
    color: #0f172a;
    background: transparent;
}

.eps-calculator-section .dk-calc-variant-btn:focus-visible {
    outline: 2px solid #0f7644;
    outline-offset: 2px;
}

.eps-calculator-section .dk-calc-variant-btn.dk-active,
.eps-calculator-section .dk-calc-variant-btn.dk-active:hover,
.eps-calculator-section .dk-calc-variant-btn.dk-active:focus {
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

/* Narrow screens: the EV model select shares its row with the petrol select, so drop the word "VERSION". */
@media (max-width: 768px) {
    .eps-calculator-section .dk-calc-variant-btn {
        padding: 7px 4px;
        font-size: 11px;
        letter-spacing: 0.2px;
    }

    .eps-calculator-section .dk-calc-variant-suffix {
        display: none;
    }
}
