#sip-calculator-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: inherit;
}

#sip-calculator-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: var(--gp-heading-color, #222);
}

.sip-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sip-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 6px;
}

.sip-field label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.input-combo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-combo input[type="number"],
.input-combo input[type="text"] {
    width: 100px;
    padding: 6px 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: right;
}

.input-combo .suffix {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

input[type="range"] {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 10px;
    display: block;
}

.sip-inputs input[type="range"] {
    width: 100%;
    accent-color: var(--gp-accent-color, #4da784);
    /* for browsers that support it */
}


/* Track styling (WebKit browsers: Chrome, Safari, Edge) */

.sip-inputs input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: #ccc;
    /* set track background */
    border-radius: 3px;
}


/* Track styling (Firefox) */

.sip-inputs input[type="range"]::-moz-range-track {
    height: 6px;
    background: #ccc;
    border-radius: 3px;
}


/* Thumb styling (WebKit) */

.sip-inputs input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gp-accent-color, #1e73be);
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    margin-top: -6px;
    /* align thumb vertically with the track */
}

#retirementCalcBtn {
    padding: 14px 32px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background-color: var(--gp-button-background, #1e73be);
    color: var(--gp-button-color, #fff);
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.sip-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.sip-results p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #222;
    margin: 0;
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 6px;
}

.result-pill {
    background-color: #a5f2dc;
    color: #004d40;
    padding: 6px 16px;
    border-radius: 32px;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 768px) {
    .sip-field {
        flex-direction: column;
        align-items: flex-start;
    }
    .input-combo {
        width: 100%;
        justify-content: space-between;
    }
    .input-combo input {
        width: 100px;
    }
    .sip-results p {
        flex-direction: column;
        gap: 8px;
    }
    .result-pill {
        width: 100%;
        text-align: center;
    }
}