/* /wp-content/themes/istecTheme/imgs/calculator.svg */
.pop-up-calculator--caller {
    position: fixed;
    top: 30%;
    right: 0;
    background-color: #FFF;
    padding: 20px;
    font-size: 1.25rem;
    font-weight: 500;
    box-shadow: 2px 2px 8px rgba(0,0,0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    cursor: pointer;
}
.pop-up-calculator--caller:hover {
    transform: translateX(0%);
}
.pop-up-calculator--caller::before {
    content: "";
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-75px, -50%) rotate(-6.5deg);
    width: 92px;
    height: 108px;
    background-image: url(/wp-content/themes/istecTheme/imgs/calculator.svg);
    transition: 0.35s ease-in-out;
    background-size: cover;
}
.pop-up-calculator--caller:hover::before {
    transform: translate(-60px, -50%) rotate(0deg);
}
.pop-up--layout {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: 0.35s ease-in-out allow-discrete;
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}
.pop-up--layout:not(.active) {
    display: none;
    opacity: 0;
}
.pop-up--overlay {
    position: absolute;
    inset: 0;
    background-color: #061c2c;
    opacity: 0.8;
    z-index: 1;
}
.pop-up--body {
    position: relative;
    background-color: #1d79b5;
    border-radius: 0.25rem;
    max-width: 52.5rem;
    width: 100%;
    box-shadow: 0 .7rem 2rem rgba(0, 3, 34, .1);
    padding: 3rem 1.5rem;
    z-index: 2;
}
.pop-up--closer {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
}
.pop-up--closer:hover {
    color: red;
}
.pop-up--closer::before, 
.pop-up--closer::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background-color: currentColor;
    transform: rotate(45deg);
}
.pop-up--closer::after {
    transform: rotate(-45deg);
}
.pop-up--title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    color: #FFF;
    font-weight: 600;
}
.pop-up--title span {
    color: #68B12F;
    font-size: inherit;
    font-weight: inherit;
    display: block;
}
.pop-up--step--indicator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(0, 3, 34, .3);
    text-align: center;
    font-size: 1rem;
    line-height: 2;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}
.pop-up--step--indicator::before,
.pop-up--step--indicator::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #000322;
    width: calc(33.33333% * var(--step) + 10px );
    clip-path: polygon(calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0 0);
}
.pop-up--step--indicator::after {
    width: calc( 33.33333% * ( var(--step) - 1 ) + 10px );
    background-color: #68B12F;
}
.pop-up--step--indicator .step {
    transition: 0.3s;
    position: relative;
    z-index: 2;
}
.pop-up--step--indicator .step.current,
.pop-up--step--indicator .step.success {
    color: #FFF;
    
}
.pop-up--step--indicator .step.current:first-child {
    background-color: #000322;
}
.pop-up--step {
    transition: 0.5s allow-discrete;
    transform: translateY(0);
    opacity: 1;
    position: relative;
    @starting-style {
        opacity: 0;
        transform: translateY(100%);
        position: absolute;
    }
}
.pop-up--step:not(.current) {
    display: none;
    opacity: 0;
    transform: translateY(100%);
    position: absolute;
}
.step--title {
    text-align: center;
    color: #FFF;
    margin-bottom: 1.5rem;
}
.step--params {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.step--params--radio {
    padding: 0 0.5rem 1rem;
    width: 50%;
    cursor: pointer;
}
.step-param--item {
    color: #FFF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    border: 2px solid currentColor;
    row-gap: 0.375rem;
    min-height: 112px;
    transition: color 0.35s ease-in-out;
}
.step--params--radio:has(:checked) .step-param--item {
    color: #68B12F;
}
.step-param--item * {
    color: inherit;
}
.step-param--item.selected {
    color: #68B12F;
}
.step--params--radio input[type="radio"] {
    display: none;
}
.next-step {
    display: flex;
    align-items: center;
    color: #FFF;
    background-color: #68B12F;
    padding: 0.75rem 0.9375rem;
    border-radius: 0.25rem;
    margin: 0 auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    gap: 0.375rem;
    width: fit-content;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    height: 2.75rem;
}
.next-step.disabled,
.next-step.disabled:hover {
    cursor: not-allowed;
    opacity: 0.7;
}
.pop-up--step--last-field {
    display: grid;
    row-gap: 1rem;
}
.pop-up--step--last-field input {
    width: 100%;
    border: 2px solid #FFF;
    background-color: #FFF;
    color: #050018;
    display: block;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.75rem;
    height: 2.75rem;
    border-radius: 0.25rem;
    outline: none;
}
.pop-up--step--last-field .next-step {
    width: 100%;
    border: none;
}
.pop-up--loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-color: rgb(6 28 44 / 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
    transition: 0.35s ease-in-out allow-discrete;
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}
.pop-up--loader:not(.active) {
    display: none;
    opacity: 0;
}
.pop-up--loader span {
    display: block;
    width: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    height: 2rem;
    border-radius: 50%;
    animation: loader-spin 1s ease-in-out infinite;
}
.pop-up--loader span::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #FFF;
    border-radius: 50%;
    margin: 0 auto;
}
@keyframes loader-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.pop-up--response {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    z-index: 3;
    transform: translateY(0%);
    opacity: 1;
    transition: 0.3s ease allow-discrete;
    @starting-style {
        opacity: 0;
        transform: translateY( -102% );
    }
}
.pop-up--response:not(.active) {
    display: none;
    opacity: 0;
    transform: translateY( -102% );
}
.pop-up--response--message {
    padding: 10px;
    background-color: #FFF;
    max-width: 100%;
    box-shadow: 0 0 6px #FFF;
}
@media screen and ( min-width: 576px ) {
    .pop-up--title span {
        display: inline;
    }
    .step--params--radio {
        width: 25%;
    }
    .pop-up--step--last-field {
        grid-template-columns: 0.9fr 0.9fr 1fr;
        gap: 16px;
    }
}
@media screen and ( min-width: 992px ) {
    .pop-up--body {
        padding: 3.75rem;
    }
    .pop-up--closer {
        width: 2rem;
        height: 2rem;
    }
    .pop-up--title {
        font-size: 2.25rem;
    }
}