@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@font-face {
    font-family: 'Herokid';
    src: url('./font/Herokid-SemiBoldExpanded.woff2') format('woff2'),
    url('./font/Herokid-SemiBoldExpanded.woff') format('woff'),
    url('./font/Herokid-SemiBoldExpanded.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #f9f9f8;
    font-family: "Inter Tight", sans-serif;
    padding: 24px;
}

.calc-h1 {
    /*width: 100%;*/
    /*max-width: 1340px;*/
    /*margin: 50px auto;*/
    font-size: 2.8rem;
    color: #2b2b2b;
    font-weight: bold;
    font-family: 'Herokid';
    line-height: 1.4;
}

.calc-container {
    max-width: 1340px;
    width: 100%;
    display: flex;
    gap: 2.5rem;
    margin: 20px auto;

}

.calc-body-border {
    background-image: linear-gradient(188deg, #81c451, #a6f77100);
    padding: 20px;
    width: 100%;
    min-width: 70%;
    box-sizing: border-box;
    border-radius: 2rem;
    box-shadow: 0 10px 20px #00000026;
}

.calc-body {
    width: 100%;
    height: 100%;
    /*border: 20px solid #81c451;*/
    border-radius: 1.5rem;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    box-sizing: border-box;
}

.calc-step-h1 {
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    color: #223d00;
    text-transform: uppercase;
    font-family: 'Herokid';
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.4;
}
.calc-step-h2 {
    width: 100%;
    font-size: 40px;
    font-weight: 700;
    color: #223d00;
    text-transform: uppercase;
    font-family: 'Herokid';
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #86c65847;
}


.calc-sidebar {
    width: 30%;
    position: sticky;
    top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 318px;
    height: fit-content;
}


.calc-step {
    display: flex;
    justify-content: center;
    margin: 0px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.calc-progress-container {
    display: flex;
    justify-content: space-around;
}

.calc-progress {
    color: #223d00;
    opacity: 0.5;
    font-size: 18px;
    width: 30%;
    text-align: center;
}

.calc-progress-active {
    font-weight: 700;
    opacity: 1;
}


.no-active {
    opacity: 0.5;
    cursor: not-allowed !important;
}


#custom-progress-container {
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px auto;
}

#custom-progress-bar {
    width: 10%;
    height: 100%;
    background: linear-gradient(to right, #81c451, #b4dfaf);
    transition: width 0.5s linear;
}


.calc-suppliers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.calc-suppliers img {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.calc-radio-supplier {
    opacity: 0;
    position: absolute;
}

.calc-supplier-label {
    width: 30%;
    display: inline-block;
    cursor: pointer;
    border: 3px solid #d0ebc2;
    transition: all 0.2s ease;
    border-radius: 15px;
}

input[type=radio].calc-radio-supplier:checked + label {
    border-color: #6fb739;
}

input[type=radio].calc-radio-supplier:hover + label {
    border-color: #bddaa6;
}

input[type=radio].calc-radio-supplier:checked:hover + label {
    border-color: #6fb739;
}


.calc-checkbox-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    background-color: #f9f9f8;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

.checkbox.style-d {
    width: 100%;
    position: relative;
    padding-left: 39px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 33px;
    display: flex;
    align-items: center;
    /*font-size: 18px;*/
    /*font-weight: 500;*/
}

.checkbox.style-d input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox.style-d input:checked ~ .checkbox__checkmark {
    background-color: #76d46f;
}

.checkbox.style-d input:checked ~ .checkbox__checkmark:after {
    opacity: 1;
}

.checkbox.style-d:hover input ~ .checkbox__checkmark {
    background-color: #c7d7c2;
}

.checkbox.style-d:hover input:checked ~ .checkbox__checkmark {
    background-color: #76d46f;
}

.checkbox.style-d .checkbox__checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: #d7e2dc;
    transition: background-color 0.25s ease;
    border-radius: 15px;
}

.checkbox.style-d .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: 9px;
    top: 3px;
    width: 9px;
    height: 15px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.calc-nav-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    border-top: 1px solid #cbd9c1;
    padding-top: 20px;
    margin-top: 20px;
}



.calc-button {
    background-color: #223d00;
    color: white;
    border-radius: 15px;
    width: 150px;

    flex-flow: column;
    flex: 0 auto;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: box-shadow .4s;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px #0000, inset 0 2px 2px #fff0, 0 4px 8px #00000026;
    border: 0;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
}





.calc-button:hover {
    box-shadow: 0 10px 15px #00000026, inset 0 2px 2px #ffffff59, 0 4px 8px #00000026;
}

#calc-back-step {
    background-color: white;
    color: #223d00;
    border: 1px solid #223d00;
}

.calc-field {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 1.25rem;;
    padding-left: 1.25rem;
    border: 1px solid #f4f4f4;
    border-radius: .5rem;
    background-color: #f9f9f8;
    color: #2b2b2b;
    height: 44px;
    width: 100%;
    margin-bottom: 0;
    padding: 8px 12px;
    /*font-size: 14px;*/
    font-size: 1.1rem;
    line-height: 1.42857;
    display: block;
    outline: none;
    box-sizing: border-box;
}

.calc-select:not([multiple]) {
    background-repeat: no-repeat;
    background-position: 98% 45%;
    background-size: 1em auto;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path d="M7.5 12.9L2.6 8 4 6.6l3.5 3.5L11 6.6 12.4 8z"/> </svg>');
}

.calc-field:focus {
    border-color: #aeaeae;
}

.calc-field::placeholder {
    color: #6d6d6d;
    font-size: 1rem;
}

.calc-field-box {
    position: relative;
    width: 100%;
}

.calc-units {
    position: absolute;
    top: 11px;
    left: 12px;
    font-size: 18px;
}

.calc-field-with-units {
    padding-left: 30px;
}


.calc-sidebar-box {
    width: 100%;
    background-image: linear-gradient(90deg, #121417 51%, #2b2b2b);
    padding: 2.5rem;
    border-radius: 1.5rem;
    /*background-image: linear-gradient(90deg, #e4e5e4 51%, #f9f9f8);*/
    border: 0 #eee0;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    display: flex;
    position: static;
    box-shadow: 0 8px 30px #00000014;
    box-sizing: border-box;
    flex-direction: column;
    color: white;
}

.calc-sidebar-box div {
    margin-top: 10px;
}

.calc-sidebar-box-h1 {
    font-family: 'Herokid';
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 0px !important;
    line-height: 1.4;
}

.calc-sidebar-box-green {
    background-image: linear-gradient(90deg, #81c451 51%, #a6f771);
}

.your-current-deal, .your-new-tariff {
    display: none;
}


.calc-radio-box {
    display: flex;
    flex-direction: column;
    /* max-width: 400px; */
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

.calc-radio-1 {
    opacity: 0 !important;
    position: absolute;
}

.calc-radio-1 + label {
    border: 1px solid #d0ebc2;
    padding: 10px 20px;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
    background-color: #f6fff2;
    color: #000000;
    line-height: 20px;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-align: left;
}

.calc-radio-1 + label:hover {
    box-shadow: 0 2px 14px 0 rgba(0, 0, 0, .1);
}

.calc-radio-1:checked + label {
    background-image: linear-gradient(90deg, #7dc178 51%, #bae99b);
    /*background-image: linear-gradient(180deg, #5bab95 0, #478171 100%);*/
    color: #ffffff;
    border: 1px solid #7dc178;
}

.calc-radio-btn {
    min-width: 25px;
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 10%;
    border: 1px solid #006447;
}

input[type=radio].calc-radio-1 + label .calc-radio-btn {
    border-radius: 50%;
}

.calc-radio-1:checked + label .calc-radio-btn {
    background-color: #006447;
}

.calc-radio-1:checked + label .calc-radio-btn svg {
    display: block;
}

.calc-radio-1 + label .calc-radio-btn svg {
    display: none;
}

.tariffs-not-found {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #fff0f0;
    border-radius: 10px;
    border: 1px solid #e1bcbc;
    /*display: none;*/
    color: #a52525;
}

.calc-list-of-offers {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.calc-supplier-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    /* padding: 20px; */
    border-radius: 15px;
}

.calc-supplier-list-body {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.calc-supplier-img {
    /* padding: 20px; */
    width: 100%;
    max-width: 100px;
    /*border: 3px solid #d0ebc2;*/
    box-sizing: border-box;
    height: fit-content;
}

.calc-supplier-h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.calc-supplier-list-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calc-supplier-list-mid {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    box-sizing: border-box;
    padding-left: 30px;
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    /* border-radius: 0px 0px 15px 15px; */
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Herokid';
    text-transform: uppercase;
}
.calc-supplier-list-mid div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-supplier-list-mid span{
    font-size: 32px;
}

.calc-supplier-list-mid-saves {
    background-color: rgba(255, 222, 89, 1);
    color: #000;
}

.calc-supplier-button {
    background-color: rgba(214, 214, 214, 1);
    color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    width: 170px;
    height: 49px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: 0px;
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
}
.calc-supplier-button:hover{
    gap: 15px;
}


.calc-supplier-list-mid-saves .calc-supplier-button {
    background-color: rgba(255, 255, 255, 1);
    color: #000000;
}

.calc-supplier-list-bot{
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    font-family: "Inter", sans-serif;
}


.calc-field-row {
    width: 100%;
    display: flex;
    gap: 20px;
}

.calc-field-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calc-top-container {
    display: flex;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.calc-need-help {
    color: grey;
}

.calc-need-help a {
    color: #000000;
    text-decoration: none;
}


.calc-tooltip-box {
    display: inline-block !important;;
    margin: 0px !important;
}

.ui-tooltip, .arrow:after {
    background: #ffffff;
    border: 1px solid #6f5959;
}

.ui-tooltip {
    padding: 10px 20px;
    color: #000000;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 0 7px black;
    font-style: italic;
    font-size: 13px;
}

.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}

.arrow.top {
    top: -16px;
    bottom: auto;
}

.arrow.left {
    left: 20%;
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}

.arrow.top:after {
    bottom: -20px;
    top: auto;
}

.calc-tooltip {
    border: 1px solid #cfdfd2;
    display: flex;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    font-size: 15px;
    background-color: #ffffff;
    cursor: pointer;
    color: #788f91;
    font-family: 'Inter Tight';
    font-weight: 500;
}


.timeline-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #81c452;
}

.timeline-table td {
    padding: 10px;
    /* border-radius: 5px; */
    /* margin-bottom: 5px; */
}

.timeline-table tr:nth-child(odd) td {
    background-color: #f0ffe6;
}

.timeline-table tr:nth-child(even) td {
    background-color: #ffffff;
}



.calc-supplier-list:first-child#best-deal {
    display: flex;
}

#best-deal {
    display: none;
}

.bd-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd-check-mark {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border-radius: 50%;
    background-color: #026447;
}







.calc-slider-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-top: 10px;
}

.calc-slider-box {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
}

.ui-slider.ui-slider-horizontal {
    background: #b6c4d3 !important;
    height: 8px !important;
    border: none !important;
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 10px;
    border-radius: 5px;
}

.ui-slider .ui-slider-range {
    background: #81c451 !important;
    height: 8px !important;
    border-radius: 5px;
}

.ui-slider-handle {
    top: -11px !important;
    width: 30px !important;
    height: 30px !important;
    border: solid 3px #81c451 !important;
    background-color: #c0ddab !important;
    background: #c0ddab !important;
    border-radius: 50% !important;
    box-sizing: border-box;
    outline: none;
    transition: background-color 0.3s ease;
}

.ui-slider-handle:hover {
    background-color: #96d26c !important;
    background: #96d26c !important;
}

.calc-slider-range {
    color: #000000;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.calc-slider-range div:first-child {
    text-align: left;
}

.calc-slider-range div:last-child {
    text-align: right;
}

.calc-slider-filed-box {
    position: absolute;
    top: -40px;
    left: -23px;
}

.calc-slider-filed-box input {
    width: 60px !important;
    height: 28px !important;
    padding: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #d7d7d7 !important;
    border-radius: 5px !important;
    outline: none;
    font-family: "Lato", sans-serif !important;
    font-size: 16px !important;
}

#day-and-night {
    display: none;
    width: 100%;
}


.calc-top-message {
    background: url('./img/logomark-3.png') right center no-repeat, #293C0B;
    background-size: contain;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.calc-top-message span {
    background-color: #FFDE59;
    display: inline-block;
    padding: 10px 15px 5px 15px;
    color: black;
    margin: 0px 10px;
    border-radius: 20px;
    font-family: 'Herokid';
    margin-top: -10px;
}

.calc-sidebar-benefits{
    display: none;
}
.calc-sidebar-benefit{
    margin-bottom: 25px;
}
.calc-sidebar-benefit-h1{
    font-family: 'Herokid';
    text-transform: uppercase;
    font-size: 18px;
    margin: 25px 0px 10px 0px;
    line-height: 1;
}

.calc-sidebar-benefit-text {
    font-size: 14px;
    letter-spacing: 0.3px;
    font-family: "Inter", sans-serif;
}

#calc-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: background-color 0.3s ease;
}

.calc-popup-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.calc-popup{
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    display: flex;
    padding: 40px 60px;
    border-radius: 20px;
    gap: 40px;
    position: relative;
    background-color: white;
    border: 2px solid rgba(214, 234, 198, 1);
    box-shadow: 0px 5px 20px 0px rgba(129, 196, 80, 0.4);
    margin: 10px;
}
.calc-pu-close{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}
.calc-pu-close span{
    display: block;
    margin-top: -1px;
    margin-right: -1px;
}

.calc-pu-close:hover{
    /*background-color: #2a2a2a;*/
    font-size: 19px;
    /*transition: all 0.1s ease;*/
}

.calc-more-info{
    text-decoration: underline;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
}


.calc-block-title{
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.calc-block-h1-title{
    width: 100%;
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #cecece;
}
.supplier-form-hidden{
    display: none;
}
.suppliers-body{
    display: flex;
    justify-content: center;
    margin: 0px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.calc-drop-down-block{
    display: flex;
    justify-content: center;
    margin: 0px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    padding: 10px 40px;
    box-sizing: border-box;
}


@media (max-width: 1100px) {
    .calc-container {
        flex-direction: column;
    }

    .calc-sidebar {
        width: 100%;
    }

    .calc-sidebar-box {
        max-width: 100%;
    }

    .calc-suppliers {
        gap: 10px;
    }

    .calc-top-container {
        flex-direction: column;
    }

    .calc-need-help {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .calc-top-message{
        background: #293C0B;
    }
    .calc-top-message span {
        background-color: #293C0B;
        padding: 0px;
        color: #FFDE59;
        margin: 0px;
        font-family: "Inter Tight", sans-serif;
    }
}
@media (max-width: 800px) {
    .calc-supplier-list-body {
        flex-direction: column;
    }

    .calc-supplier-list-mid {
        flex-direction: column;
        padding-left: 0px;
        gap: 20px;
        /* text-align: center; */
        align-items: baseline;
        padding: 20px;
    }

    .calc-supplier-img {
        margin: 0 auto;
    }

    .calc-body-border {
        padding: 10px;
    }

    .calc-supplier-list-right {
        /* align-items: center; */
        /* text-align: center; */
    }
    .calc-popup{
        padding: 20px 20px;
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .calc-popup{
        flex-direction: column;
    }
}



@media (max-width: 550px) {
    .calc-supplier-label {
        width: 45%;
    }
    .calc-step-h1 {
        font-size: 16px;
    }
    .calc-step-h2 {
        font-size: 25px;
    }
    .calc-progress {
        font-size: 14px;
    }
    .calc-body{
        padding: 40px 25px;
    }
    .calc-h1{
        font-size: 1.75rem;
    }
    .calc-drop-down-block{
        padding: 10px 10px;
    }
}

@media (max-width: 370px) {
    .calc-supplier-label {
        width: 100%;
    }
}

