.s-savings-calculator {
    padding: 0 16px 80px;
}

.deck {
    max-width: 610px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.card {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
    position: relative;
    padding: 24px;
    background: #F2F2F2;
    border-radius: 32px;
}

.card.flipped .front {
    overflow: hidden;
    visibility: hidden;
    height: 0;
}

.card .back {
    overflow: hidden;
    visibility: hidden;
    height: 0;
}

.card.flipped .back {
    overflow: visible;
    visibility: visible;
    height: auto;
}

.card.flipped, .hovercard:hover {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.back {
    overflow: hidden;
    z-index: -1;
    display: block;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    box-sizing: border-box;
    transition: all 0.5s linear;
    height: auto;
}

.front {
    z-index: 1;
    transition: all 0.5s linear;
    height: auto;
}

.face {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

/* === content calculator styles === */

.front .genesys-logo {
	object-fit: contain;
	margin: 0 auto;
	display: block;
}

.front .genesys-logo__text {
	padding-bottom: 32px;
    padding-top: 6px;
    text-align: center;
    font-size: 14px;
}

.s-savings-calculator .calculator-title {
    font-family: 'Inter', sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 39.15px;
    margin: 0;
    padding: 0 0 16px 0;
    color: #505050;
    text-align: center;
}

.calculator-rows {
    display: flex;
    flex-flow: column;
    gap: 16px;
    padding-bottom: 30px;
}

.calculator-rows .calculator-rows__item {
    flex: 1;
    display: flex;
    gap: 16px;
}

.calculator-rows .calculator-rows__item .item {
    border-radius: 8px;
    padding: 16px;
    background: #A5A5A51A;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: center;
    color: #505050;
    border: none;
    box-shadow: none;
    outline: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-rows .calculator-rows__item .item:first-child {
    max-width: 176px;
    min-width: 176px;
    width: 100%;
}

.calculator-rows .calculator-rows__item input.item {
    background: #fff;
    width: 100%;
}

.calculator-rows .calculator-rows__item input.item::placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: center;
    color: #98A2B3;
}

.calculator-rows .calculator-rows__item input.item:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #505050 !important;
}

.calculator-submit {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.78px;
    color: #fff;
    text-align: center;
    border: none;
    background: #EB6222;
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.calculator-submit:hover {
    opacity: 0.7;
}

.calculator-submit:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.calculator-disclaimer {
    padding-bottom: 24px;
}

.calculator-disclaimer .calculator-disclaimer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #505050;
}

.calculator-disclaimer__content {
    overflow: hidden;
    height: 0;
    transition: all 1s;
    margin-top: 8px;
}

.calculator-disclaimer__content p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #505050;
    margin-bottom: 8px;
    margin-top: 0;
    padding: 0;
}

.calculator-disclaimer__content p:last-child {
    margin-bottom: 0;
}

.calculator-disclaimer__content a {
    text-decoration: underline;
    color: #32A8C6;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calculator-disclaimer__content a:hover {
    opacity: 0.7;
}

.calculator-company {
    padding: 16px 18px;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.calculator-company__info {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 16px;
}

.calculator-company__info .title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26.4px;
    color: #505050;
}

.calculator-company__info .title span {
    color: #EB6222;
}

.calculator-company__info .link {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    text-decoration-line: underline;
    color: #32A8C6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculator-company__info .link svg {
    transform: rotate(-40deg);
}

.calculator-company__info .link:hover {
    opacity: 0.7;
}

.calculator-company img {
    width: 186px;
    height: 124px;
    border-radius: 8px;
    object-position: center;
    object-fit: cover;
}

.title-total {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 43.2px;
    text-align: center;
    color: #505050;
    margin-bottom: 32px;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    background: #FFFFFF;
}

.title-total span {
    color: #EB6222;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 33.75px;
    text-align: center;
    color: #505050;
    padding-bottom: 16px;
    margin: 0;
}

.s-savings-calculator .hbspt-form {
    max-width: 100% !important;
    margin: 0 !important;
}

.s-savings-calculator .hbspt-form form {
    display: flex;
    flex-flow: column;
    gap: 16px;
    margin-bottom: 32px;
}

.s-savings-calculator .hbspt-form label {
    display: none;
}

.s-savings-calculator .hbspt-form .no-list {
    margin-top: 4px;
    margin-bottom: 0;
    list-style-type: none;
    padding: 0;
}

.s-savings-calculator .hbspt-form .no-list li label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 21px;
    color: #505050;
}

.s-savings-calculator .hbspt-form .input input {
    border: none;
    background: #fff;
    border-radius: 8px;
    padding: 16px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
    color: #505050;
    height: auto;
    margin: 0 !important;
}

.s-savings-calculator .hbspt-form .input input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #505050 !important;
}

.s-savings-calculator .hbspt-form .input input:focus {
    outline: unset;
}

.s-savings-calculator .hbspt-form .input input::placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
    color: #98A2B3;
}

.s-savings-calculator .hbspt-form .hs-button {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.78px;
    text-align: center;
    color: #FFFFFF;
    background: #EB6222;
    padding: 16px !important;
    width: 100% !important;
    height: auto;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.s-savings-calculator .hbspt-form .hs-button:hover {
    opacity: 0.7;
}

.s-savings-calculator .hs_total_savings__savings_calculator_ {
    display: none;
}

.s-savings-calculator .hs_total_savings__savings_calculator_ .hs_error_rollup {
    display: none;
}

.s-savings-calculator form .hs_error_rollup {
    display: none;
}

.s-savings-calculator form .hs-form-field .hs_error_rollup {
    display: block;
}

.s-savings-calculator form .submitted-message h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 19.2px;
    text-align: center;
    color: #32A8C6;
    margin: 40px 0 60px;
}

.s-savings-calculator .go-back-button {
	font-size: 16px;
    border: none;
    padding: 0;
    margin: 0 auto 14px;
    text-align: center;
    display: block;
    cursor: pointer;
    text-decoration: underline;
	transition: all 0.3s ease;
}

.s-savings-calculator .go-back-button:hover {
	text-decoration: unset;
	opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .calculator-rows .calculator-rows__item .item:first-child {
        max-width: 106px;
        min-width: 106px;
    }

    .calculator-rows .calculator-rows__item .item {
        font-size: 12px;
        line-height: 18px;
        padding: 16px 8px;
    }

    .s-savings-calculator .calculator-title {
        font-size: 20px;
        line-height: 28px;
    }

    .calculator-submit {
        font-size: 16px;
        line-height: normal;
    }

    .title-total {
        font-size: 25px;
        line-height: normal;
    }

    .form-title {
        font-size: 20px;
        line-height: normal;
    }

    .s-savings-calculator .hbspt-form .hs-button {
        font-size: 16px;
        line-height: normal;
    }

    .s-savings-calculator {
        padding: 40px 16px;
    }
}

@media screen and (max-width: 460px) {
    .calculator-rows .calculator-rows__item .item:first-child {
        max-width: 76px;
        min-width: 76px;
    }

    .card {
        padding: 24px 16px;
    }

    .calculator-company {
        flex-flow: column;
    }

    .calculator-company img {
        width: 100%;
        height: 200px;
        object-position: top;
    }

    .calculator-company__info .title {
        text-align: center;
    }

    .calculator-company__info .link {
        justify-content: center;
    }
}