/* ============================================================
   TCC IMPACT FEE CALCULATOR
   ============================================================ */

.tcc-impact-fee-page {
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 18px;
    padding-bottom: 40px;
}


/* ============================================================
   HEADER
   ============================================================ */

.impact-header {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 18px 26px;

    background: linear-gradient(
        135deg,
        #0756a6,
        #1476d4
    );

    color: #fff;

    border-radius: 10px;
}

.impact-header-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    border-radius: 10px;

    background: rgba(255,255,255,.16);
}

.impact-header h1 {
    margin: 0;

    font-size: 30px;
    font-weight: 700;
}

.impact-header-subtitle {
    margin-top: 3px;

    font-size: 16px;

    opacity: .95;
}


/* ============================================================
   CARD
   ============================================================ */

.impact-card {
    height: 100%;

    background: #fff;

    border: 1px solid #cfe0f2;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.impact-card-header {
    padding: 16px 22px;

    background: #f0f7ff;

    color: #12345b;

    font-size: 23px;
    font-weight: 700;

    border-bottom: 1px solid #dce8f5;
}

.result-header {
    background: #f1fbf4;
}

.impact-card-body {
    padding: 22px 26px 26px;
}


/* ============================================================
   FORM
   ============================================================ */

.impact-field {
    margin-bottom: 20px;
}

.impact-field .form-label {
    display: block;

    margin-bottom: 7px;

    color: #162f52;

    font-size: 16px;
    font-weight: 650;
}

.required {
    color: #dc3545;
}

.unit-label,
.small-label {
    font-weight: 500;
    color: #5b6d82;
}

.impact-field .form-control,
.impact-field .form-select {
    min-height: 48px;

    font-size: 16px;

    border-color: #c7d3e2;
    border-radius: 7px;
}

.impact-field .input-group-text {
    min-width: 62px;

    justify-content: center;

    background: #f5f7fa;

    border-color: #c7d3e2;

    font-weight: 600;
}

.impact-field .form-control:focus,
.impact-field .form-select:focus {
    border-color: #1673ce;

    box-shadow:
        0 0 0 .2rem rgba(22,115,206,.10);
}


/* ============================================================
   CALCULATE BUTTON
   ============================================================ */

.impact-calculate-btn {
    width: 100%;

    min-height: 52px;

    border: 0;
    border-radius: 7px;

    font-size: 17px;
    font-weight: 700;

    background: linear-gradient(
        135deg,
        #0865c0,
        #1379d8
    );
}

.impact-calculate-btn:hover {
    background: #075cab;
}


/* ============================================================
   RESULT AREA
   ============================================================ */

.impact-result-body {
    padding: 22px;
}

.impact-result-box {
    padding: 32px 20px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #f1fbf3,
        #e9f8ef
    );

    border: 1px solid #c5e8d0;
    border-radius: 10px;
}

.impact-result-label {
    margin-bottom: 8px;

    color: #137332;

    font-size: 22px;
    font-weight: 700;
}

.impact-result-amount {
    color: #087127;

    font-size: 52px;
    line-height: 1.2;

    font-weight: 800;
}

.impact-result-rate {
    margin-top: 12px;

    color: #526173;

    font-size: 15px;
}


/* ============================================================
   SMALL RESULT SUMMARY
   ============================================================ */

.impact-result-summary {
    margin-top: 18px;

    border: 1px solid #dde5ee;
    border-radius: 8px;

    overflow: hidden;
}

.impact-result-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 15px;

    border-bottom: 1px solid #e8edf3;

    font-size: 14px;
}

.impact-result-summary > div:last-child {
    border-bottom: 0;
}

.impact-result-summary span {
    color: #667487;
}

.impact-result-summary strong {
    color: #223958;

    text-align: right;
}


/* ============================================================
   NOT APPLICABLE
   ============================================================ */

.impact-not-applicable {
    padding: 45px 25px;

    text-align: center;

    background: #fff7e7;

    border: 1px solid #f3d99b;
    border-radius: 10px;
}

.impact-not-applicable-icon {
    margin-bottom: 10px;

    color: #d98b00;

    font-size: 42px;
}

.impact-not-applicable-title {
    color: #9d6500;

    font-size: 23px;
    font-weight: 750;
}

.impact-not-applicable-reason {
    margin-top: 10px;

    color: #6b5a39;

    font-size: 15px;
}


/* ============================================================
   EMPTY RESULT
   ============================================================ */

.impact-empty-result {
    min-height: 320px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 30px;

    text-align: center;

    color: #75869a;

    font-size: 16px;
}

.impact-empty-result i {
    color: #8eb7df;

    font-size: 55px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .tcc-impact-fee-page {
        padding-top: 10px;
    }

    .impact-header {
        padding: 15px 18px;
    }

    .impact-header-icon {
        width: 48px;
        height: 48px;

        font-size: 26px;
    }

    .impact-header h1 {
        font-size: 23px;
    }

    .impact-header-subtitle {
        font-size: 13px;
    }

    .impact-card-header {
        font-size: 20px;
    }

    .impact-card-body,
    .impact-result-body {
        padding: 18px;
    }

    .impact-result-amount {
        font-size: 42px;
    }

    .impact-result-summary > div {
        flex-direction: column;
        align-items: flex-start;

        gap: 4px;
    }

    .impact-result-summary strong {
        text-align: left;
    }
}