/* NiveshakFirst — calculator page */

.calculator-page-hero {
    background: transparent;
    padding-top: 75px
}

.calculator-suite {
    background: transparent
}

.calculator-switcher {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 8px;
    background: #fff;
    border: 1px solid #dfe9e5;
    border-radius: 16px;
    max-width: 720px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(20, 42, 64, .04)
}

.calc-switch {
    flex: 1;
    border: 0;
    background: transparent;
    color: #71808b;
    padding: 15px 12px;
    border-radius: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s
}

.calc-switch:hover {
    color: #187a5b
}

.calc-switch.active {
    background: #142a40;
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 42, 64, .14)
}

.calc-panel {
    display: none;
    grid-template-columns: .9fr 1.1fr;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid #dfe9e5;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(20, 42, 64, .07)
}

.calc-panel.active {
    display: grid
}

.calc-input-side {
    padding: 42px 42px 45px;
    background: linear-gradient(145deg, #fff, #f7faf9);
    border-right: 1px solid #e4ece8
}

.calc-input-side h2 {
    font-family: "Playfair Display", serif;
    color: #142a40;
    font-size: 36px
}

.calc-input-side>p:not(.section-label) {
    color: #71808b;
    font-size: 15px;
    line-height: 1.7;
    margin: 10px 0 24px
}

.calc-fields {
    display: grid;
    gap: 15px
}

.calc-fields label {
    position: relative;
    color: #52606d;
    font-size: 13px;
    font-weight: 700
}

.calc-fields input {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 7px;
    padding: 0 72px 0 15px;
    border: 1px solid #d7e3dd;
    border-radius: 10px;
    background: #fff;
    color: #142a40;
    outline: none
}

.calc-fields input:focus {
    border-color: #187a5b;
    box-shadow: 0 0 0 3px rgba(24, 122, 91, .08)
}

.calc-fields label>span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    color: #8a969e;
    font-size: 12px;
    font-weight: 700
}

.calculate-button {
    margin-top: 22px;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: #187a5b;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(24, 122, 91, .14);
    transition: .25s
}

.calculate-button:hover {
    background: #126548;
    transform: translateY(-2px)
}

.calc-result-side {
    padding: 38px 38px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px
}

.result-cards>div {
    padding: 17px;
    border: 1px solid #dfe9e5;
    border-radius: 14px;
    background: #fbfdfc
}

.result-cards small {
    display: block;
    color: #71808b;
    font-size: 12px;
    font-weight: 600
}

.result-cards strong {
    display: block;
    margin-top: 6px;
    color: #142a40;
    font-size: 20px;
    white-space: nowrap
}

.result-cards .result-main {
    background: #eef7f2;
    border-color: #cfe4d9
}

.result-cards .result-main strong {
    color: #187a5b;
    font-size: 25px
}

.calc-chart {
    width: 100%;
    height: 270px;
    border-radius: 16px;
    background: #fbfdfc;
    border: 1px solid #edf2ef
}

.calculator-disclaimer {
    margin-top: 20px;
    padding: 17px 20px;
    border-left: 3px solid #187a5b;
    border-radius: 8px;
    background: #fff;
    color: #71808b;
    font-size: 13px;
    line-height: 1.7
}

.calculator-disclaimer strong {
    color: #142a40
}

@media(max-width:1050px) {
    .calc-panel.active {
        grid-template-columns: 1fr
    }

    .calc-input-side {
        border-right: 0;
        border-bottom: 1px solid #e4ece8
    }
}

@media(max-width:600px) {
    .calculator-switcher {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .calc-switch {
        padding: 12px 8px
    }

    .calc-input-side,
    .calc-result-side {
        padding: 28px 22px
    }

    .result-cards {
        grid-template-columns: 1fr
    }
}

.calculator-page-hero,
.calculator-suite {
    background: transparent;
}


.calculator-standard-warning {
    color: #142a40;
    font-weight: 700;
}