.m__calculator {
        width: 100%;
        margin: 0 auto;
        padding-top: 20px;
        margin-top: 50px;
    }

    @media (min-width: 700px) {
        .m__wrap {
            margin: 25px auto !important;
        }
    }


    .m__calculator *,
    .m__calculator ::after,
    .m__calculator ::before {
        box-sizing: border-box
    }

    .m__calculator * {
        font-family: inherit;
        font-family: "Work Sans", sans-serif !important;!i;!;
    }

    .m__calculator {
        width: 100%;
        margin: 0 auto;
        font-family: inherit;
        font-size: 17px;
        color: rgb(55, 65, 81);
        max-width: 1200px;
        margin: auto;
    }

    .m__calculator .m__row {
        display: block;
        /* flex */
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        column-gap: 20px;
        width: 100%;
    }

    .m__calculator .m__cell {
        flex: 1;
        padding: 4px 0;
        flex: 1 1 calc(50% - 20px);
        /*display: flex;*/
        align-items: center;
        /* background: #ccc; 
    border-bottom: 1px solid #e8e8e8;*/
        min-height: 60px;
        /* padding-bottom: 10px; */
    }

    .m__calculator .m__group {
        position: relative;
        width: 100%;
    }


    .m__group input {
        width: 100%;
        position: relative;
        background: rgb(255 255 255);
        border-radius: 6px;
        border-width: 2px;
        border-style: solid;
        border-color: #00406f;
        border-image: initial;
        height: 46px;
        padding: 5px 10px 5px 12px;
        font-size: 17px;
        color: rgb(0 7 15);
        font-weight: 600;
    }

    .m__group input:focus {
        border-radius: 6px;
        border: 2px solid rgb(0 113 238 / 90%);
        outline: 0
    }

    .m__calculator .m__name {
        font-weight: 600;
        font-size: 17px;
        margin-bottom: 4px;
        line-height: 17px;
        position: relative;
        flex: 1;
        color: #004193;
    }

    .m__calculator .m__value {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 4px;
        line-height: 17px;
        position: relative;
        color: #004193;
        min-width: 60px;
        margin-left: 15px;
        text-align: right;
    }

    .m__calculator .m__label {
        display: flex;
        align-items: center;
    }


    .m__calculator .noUi-horizontal {
        height: 8px;
        margin-top: 12px;
        margin-bottom: 16px;
    }

    .m__calculator .noUi-target {
        background: rgb(42 136 240 / 19%);
        border: 0px;
        border-radius: 4px;
        box-shadow: none;
    }

    .m__calculator .noUi-handle:after,
    .m__calculator .noUi-handle:before {
        content: "";
        display: block;
        position: absolute;
        height: 6px;
        width: 0px;
        background: rgb(244 244 244 / 60%);
        left: 5px;
        top: 4px
    }

    .m__calculator .noUi-handle:after {
        left: 8px
    }

    .m__calculator .noUi-connect {
        box-shadow: none;
        background: linear-gradient(90deg, #0071ee 0%, rgb(5 44 88) 100%);
        transition: background 450ms ease 0s;
        border-radius: 10px;
    }

    .m__calculator .noUi-horizontal .noUi-handle {
        width: 22px;
        height: 22px;
        left: -9px;
        top: -8px;
        border: 1px solid #cdcdcd;
        border-radius: 50%;
        background-color: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.12) 0px 0.5px 4px, rgba(0, 0, 0, 0.12) 0px 6px 13px;
        cursor: pointer;
        padding-top: 7px;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }

    .m__section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        column-gap: 10px;
        max-width: 500px;
        margin-bottom: 20px;
    }

    .m__wrap {
        max-width: 1200px;
        padding: 10px;
        margin: auto;
        color: #000000;
        /* box-shadow: 6px 19px 38px 0px rgba(0, 113.00000000000001, 237.99999999999997, 0.2); */
        transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
        border-radius: 25px;
        min-height: 300px;
        z-index: 999;
        /* background: white; */
        display: flex;
        align-items: start;
        justify-content: center;
        gap: 25px;
    }

    .blc_title.title_weight {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Work Sans", sans-serif;
        font-size: 35px;
        line-height: 40px;
        margin-top: 8px;
        font-weight: 600;
    }



    @media all and (max-width:700px) {
        .m__calculator {}

        .m__calculator .m__row {
            display: flex;
            flex-direction: column;
            align-items: initial;
            width: 100%;
            column-gap: 0;
        }

        .m__calculator .m__cell {
            max-width: 100%
        }


        .m__calculator .noUi-horizontal {
            margin-bottom: 15px
        }
    }

    .m__result {
        padding: 15px 30px;
        background: rgb(249, 250, 251);
        border-width: 4px 1px 1px;
        border-style: solid;
        border-image: initial;
        border-radius: 6px 6px 12px 12px;
        border-top: 4px solid #151515;
        border-color: #151515 rgb(229, 231, 235) rgb(229, 231, 235);
        overflow: hidden;
    }

    .blc_res.m_head {
        font-size: 22px;
    }

    .mm_save {
        text-align: center;
        color: rgb(107, 114, 128);
        font-family: "Work Sans", sans-serif;
        font-style: normal;
        line-height: 22px;
        overflow: initial;
        font-size: 16px;
        font-weight: 500;
    }

    .block_res_col .mm_save {
        line-height: 17px;
        font-size: 13px;
        color: #ffffff;
    }




    /*-----For Switch Radio Buttons----*/


    .m__headings {
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    h1.m__top_head {
        font-size: 36px;
        line-height: 1.3;
        font-weight: 500;
        margin: 10px 4px 0;
        font-family: "Bebas Neue", sans-serif !important;!i;!;
        text-transform: uppercase;
        text-align: center;
        color: #00406f;
    }

    .m__bottom_head {
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        margin-bottom: 13px;
        text-align: center;
        color: #004193;
    }

    .m__line {
        background: #e3e3e3;
        display: block;
        height: 1px;
        margin: 15px 2px;
    }

    .m_cell_res {
        background: #0071ee;
        color: white !important;
        padding: 15px !important;
        border-radius: 13px;
        margin: auto !important;
    }

    .m_cell_res .m__name {
        color: white;
        text-align: center;
        font-size: 16px;
    }


    .m__calculator .m__row.full_flex {
        width: 100%;
        flex-basis: 100%;
        margin-top: 20px;
    }

    .m__calculator .m__row.full_flex .m__result {
        background: #ee2f2f;
        color: white;
        border-top: 4px solid #cb0000;
        padding: 20px 30px;
    }

    .block_res_col {
        display: flex;
    }

    .block_res_col>div {
        flex-basis: 33%
    }

    .canvasjs-chart-credit {
        display: none;
    }


    .low_risk_image {
        margin: auto;
        display: block;
        margin-top: 15px;
        max-width: 200px;
        width: 100%
    }

    .m__group .m_disabled {
        width: 100%;
        position: relative;
        font-size: 35px;
        font-weight: 600;
        color: white !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .block_email {
        margin-top: 15px !important;
    }

    .block_email .m__group {
        display: flex;
    }

    .button_send {
        border: 0;
        background: #0071ee;
        font-family: 'Work Sans';
        font-weight: 600;
        color: white;
        height: 50px;
        border-radius: 4px;
        min-width: 99px;
        margin-left: 10px;
        font-size: 16px;
        cursor: pointer;
    }



    .msmall_res {
        /*background: #0071ee;*/
        padding: 0px !important;
        min-height: auto !important;
    }

    .msmall_res .m__name {
        font-size: 13px !important;
        color: #6891bf;
    }


    .m__bott {
        margin: 0 0 15px 0px;
    }

    .m__calculator .m_cell_res .m__label {
        align-items: center;
        flex-direction: column;
    }

    .m__bott_res {
        margin: -5px 0 30px 0px;
    }

    .mtable th,
    .mtable td {
        width: 33%;
        text-align: left;
        font-weight: 600;
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 17px;
        position: relative;
        flex: 1;
        color: #00406f;
    }

    .mtable th {
        background: #03448c;
        color: white;
        text-align: center;
        padding: 13px 15px;
        border-radius: 6px;
    }


    .restable table {
        border: 2px solid #0071ee;
        width: 100%;
        border-collapse: collapse;
    }

    .restable th,
    .restable td {
        text-align: center;
        font-weight: 600;
        padding: 10px 10px;
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 17px;
        position: relative;
        flex: 1;
        color: #004193;
        border: 2px solid #0071ee;
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }

    .restable th {
        background: #0071ee;
        color: white;
        text-align: center;
        padding: 6px 15px;
        border-radius: 0;
        border-width: 0;
    }


    .responsive_table {
        overflow: auto;
    }



    @media all and (max-width:700px) {
        .block_res_col {
            display: flex;
            flex-direction: column;
        }

        .block_res_col>div {
            flex-basis: 100%;
            margin: 15px 0;
        }
    }

    @media all and (max-width:700px) {
        .m__top_head {
            line-height: 29px;
            font-size: 32px !important;
        }

        .m__bottom_head {
            font-size: 14px;
            line-height: 18px;
        }

        .m__wrap {
            /* margin: 20px; */
            /* padding: 26px 20px; */
            flex-direction: column;
        }

        .m_cell_res {
            width: 100%;
        }

        .button_send {
            min-width: 70px;
            margin-left: 5px;
        }
    }

    
        :root {
            --primary-color: #00406f;
            --secondary-color: #0166b3;
            --accent-color: #00406f;
            --light-bg: #f8f9fa;
            --text-color: #333;
            --success-color: #789e64;
            --warning-color: #ff9800;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            margin: 0 auto;
            padding: 20px;
            background-color: #f2f3f4;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .logo-placeholder {
            height: 70px;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            font-weight: bold;
            border-radius: 4px;
        }
        
        h1 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .calculator-container {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 25px;
        }
        
        @media (max-width: 992px) {
            .calculator-container {
                grid-template-columns: 1fr;
            }
        }
        
        .input-section, .results-section {
            background: white;
            padding: 10px 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            flex: 1;
        }
        
        .kpi-input {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }
        
        .kpi-input:last-child {
            border-bottom: none;
        }
        
        .kpi-input h3 {
            margin-bottom: 8px;
            color: var(--secondary-color);
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .kpi-input h3 i {
            color: var(--accent-color);
        }
        
        .input-row {
            display: flex;
            gap: 15px;
            margin-bottom: 8px;
        }
        
        .input-group {
            flex: 1;
        }
        
        label {
            display: block;
            font-size: 0.85em;
            margin-bottom: 5px;
            color: #666;
            font-weight: 500;
        }
        
        input {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95em;
            transition: border-color 0.3s;
        }
        
        input:focus {
            border-color: var(--secondary-color);
            outline: none;
        }
        
        button {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            margin-top: 15px;
            width: 100%;
            font-size: 1em;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        button:hover {
            background-color: #04356c;
            /* transform: translateY(-2px); */
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            color: white;
        }
        
        .chart-container {
            margin-top: 15px;
            /* background: white; */
            /* padding: 20px; */
            /* border-radius: 10px; */
            /* box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
        }
        
        .chart-title {
            margin-top: 0;
            margin-bottom: 15px;
            color: var(--primary-color);
            font-size: 1.2em;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .chart-title i {
            color: var(--accent-color);
        }
        
        .metric-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 10px;
        }
        
        .metric-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
        }
        
        .metric-card h4 {
            margin-top: 0;
            margin-bottom: 10px;
            color: var(--secondary-color);
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .metric-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .metric-subtext {
            font-size: 0.9em;
            color: #666;
        }
        
        .improvement {
            color: var(--success-color);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.95em;
        }
        
        .tab-container {
            margin-top: 10px;
        }
        
        .tab-buttons {
            display: flex;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
            margin-bottom: 10px;
        }
        
        .tab-button {
            padding: 10px 20px;
            background: #e3f1ff;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: #535353;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            margin-right: 5px;
        }
        
        .tab-button.active {
            color: #ffffff;
            border-bottom: 3px solid var(--accent-color);
            background: var(--accent-color);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .chart-options {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 15px;
        }
        
        .chart-options button {
            width: auto;
            padding: 8px 15px;
            margin: 0;
            margin-left: 10px;
            font-size: 0.85em;
            background: #f0f0f0;
            color: #666;
        }
        
        .chart-options button:hover {
            background: #e0e0e0;
            transform: none;
        }
        
        .chart-options button.active {
            background: var(--accent-color);
            color: white;
        }


        .apexcharts-toolbar{
            display: none !important;!i;!;
        }

        .fa-solid, .fas {
    font-family: "Font Awesome 6 Free" !important;
}

.logo_block img {
    width: 180px;
}

.logo_block {
    text-align: center;
}

.results-section h2 {
    font-size: 20px;
    text-align: center;
    color: #03448c;
}

.apexcharts-text tspan {
    font-family: "Work Sans", sans-serif !important;!i;!;
}

.apexcharts-datalabel-label {
    font-weight: 600 !important;!i;!;
}

g.apexcharts-pie .apexcharts-datalabels-group text {
    fill: white !important;!i;!;
    font-weight: 600;
    display: none;
}

div#block3 {
    padding-top: 20px;
    border-top: 1px solid #dfdfdf;
}

.improvement .mred {
    color: #ee2e22;
}



    @media all and (max-width:700px) {
        .m__calculator {
            font-size: 16px;
        }

        .m__section {
            display: flex;
            flex-direction: column;
            row-gap: 10px;
            margin: 5px;
        }

        .m__calculator .m__cell {
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .m__calculator .m__name {
            min-width: auto;
            font-size: 14px !important;
        }

        .m__calculator .m__group {
            position: relative;
            flex: 1;
            width: auto;
        }

        .m__result {
            padding: 23px 23px;
            margin-top: 10px;
        }
        .metric-grid{
            
display: flex;
            
flex-direction: column;
        }
        button.tab-button {
    width: 33.3%;
    font-size: 13px;
}
.input-section, .results-section{
    padding: 10px 15px;
    }
}
