#sip-calculator-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    font-family: inherit;
    /* Inherit from GP theme */
}

#sip-calculator-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
    color: var(--gp-heading-color, #222);
    font-weight: 600;
}

.sip-calculator-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.sip-inputs {
    flex: 1 1 50%;
    min-width: 300px;
}

.sip-field {
    margin-bottom: 24px;
}

.sip-field label {
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    color: var(--gp-text-color, #333);
}

.sip-field input[type="number"],
.sip-field input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.sip-field 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-field input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: #ccc;
    /* set track background */
    border-radius: 3px;
}


/* Track styling (Firefox) */

.sip-field input[type="range"]::-moz-range-track {
    height: 6px;
    background: #ccc;
    border-radius: 3px;
}


/* Thumb styling (WebKit) */

.sip-field 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 */
}

#sipCalculateBtn {
    padding: 14px 32px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    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;
}

#sipCalculateBtn:hover {
    background-color: var(--gp-text-color);
}

.sip-results {
    flex: 1 1 40%;
    text-align: center;
    padding-top: 10px;
}

.result-big {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--gp-accent-color, #1e73be);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .sip-calculator-grid {
        flex-direction: column;
        gap: 20px;
    }
    .sip-results {
        text-align: center;
        padding-top: 10px;
    }
    .result-big {
        font-size: 28px;
    }
}