.calculator-component .calc-thank-step-container {
    min-height: auto;
    border-bottom: 1px solid var(--border-color);
}

.calculator:not(.calculator_small) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    --max-calc-width: 28.5rem;
    height: 100%;
    border-bottom: 1px solid var(--border-color);
}


.calc-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem var(--container-space);
    gap: 2.5rem;
}

.calculator_small .calc-left {
    padding: 0;
}

.calculator:not(.calculator_small) .calculator_small {
    border-right: 1px solid var(--border-color);
}


.calc-first-step {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-second-step {
    display: none;
}

.calc-left-headline-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-left-headline {
    font-size: 2.5rem;
    line-height: 140%;
    letter-spacing: -0.05rem;
}

.calc-ranges {
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calculator_small .calc-left-headline-group {
    gap: 0.25rem;
}

.calculator_small .calc-left-headline {
    font-size: 1.75rem;
    line-height: 100%;
    letter-spacing: -0.035rem;
}

.calculator_small .calc-left-description {
    font-size: 0.875rem;
    line-height: 140%;
}

.calculator_small .calc-ranges {
    background-color: #fff;
}


/* Slider Input */
.slider-wrapper label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 140%;
}

.range-container {
    position: relative;
}


input[type="range"] {
    position: relative;
    width: 100%;
    margin: 0.75rem 0;
    -webkit-appearance: none;
    background: transparent;
    z-index: 2;
    /* background: linear-gradient(turquoise, turquoise) no-repeat #eee; */
    background: linear-gradient(to right, #0BC29A66, #2AD9E266) no-repeat #eee;
    background-size: 50% 100%;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 0.5rem;
}

.calculator_small input[type="range"]::-webkit-slider-runnable-track {
    height: 0.25rem;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: turquoise;
    margin-top: -0.25rem;
    cursor: ew-resize;
}

.calculator_small input[type="range"]::-webkit-slider-thumb {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: -0.125rem;
}

.tooltip {
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    background: turquoise;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    line-height: 120%;
    color: #666;
}

/* Slider Input */





/* Select Input */
.calc-simple-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-simple-inputs-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.select-input {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.select-input label {
    font-weight: 500;
    line-height: 140%;
}

select {
    appearance: none;
    color: var(--main-text-color);
    padding: 1rem 1rem 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: url('data:image/svg+xml;utf8,<svg fill="%23333" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-color: #fff;
    background-size: 12px;
}

/* Select Input */




.calc-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem var(--container-space);
    gap: 1.5rem;
}

.calculator_small .calc-right {
    padding: 0;
    gap: 2.5rem;
}

.calc-right-title {
    font-weight: 400;
    line-height: 100%;
    font-size: 2rem;
    width: 100%;
    max-width: var(--max-calc-width);
    margin-bottom: 1.5rem;
}

.calc-costs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0.62rem;
    border: 1px solid var(--border-color);
    width: 100%;
    /* max-width: var(--max-calc-width); */
}

.calculator_small .calc-costs {
    padding: 0rem;
    gap: 0.5rem;
    border: none;
}

.calc-cost {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}

.calculator_small .calc-cost {
    border: 1px solid var(--border-color);
}

.calculator_small .calc-cost-40 {
    background-color: #fff;
}

.calc-cost-simple {
    background: linear-gradient(0deg, var(--transparent-white-10, rgba(255, 255, 255, 0.10)) 0%, var(--transparent-white-10, rgba(255, 255, 255, 0.10)) 100%), linear-gradient(83deg, #17EAB2 14.29%, #27DBDB 158.44%);
}

.calc-costs-top {
    padding: 0.37rem 0;
    width: fit-content;
    border-radius: 1.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 140%;
}

.calc-cost-simple .calc-costs-top {
    padding: 0.37rem 0.75rem;
    background-color: white;
}

.calc-costs-number {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.035rem;
}

.calc-costs-bottom {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}





.calc-costs-wrong {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.87rem;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-costs-wrong-number {
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.035rem;
    opacity: 0.4;
}

.calc-costs-wrong-detail {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.calc-costs-many-agents {
    display: none;
    margin-top: 1.5rem;
}



.calc-package-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-package-title {
    font-family: var(--font-family-body);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 140%;
}

.calc-package-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-package-list-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.calc-package-list-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.75rem;
    height: 0.75rem;
    padding: 0.09rem;
}

.calc-package-list-item-icon svg {
    width: 0.53906rem;
    height: 0.375rem;
    color: #17EAB2;
}

.calc-package-list-item-name {
    font-weight: 400;
    line-height: 140%;
    font-size: 0.875rem;
}

.calc-first-step-submit {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: var(--max-calc-width);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.calculator_small .calc-first-step-submit {
    padding-top: 2.5rem;
}

.calculator_small .calc-first-step-submit .hw-button {
    background-color: #fff;
}

.calc-first-step-submit-text {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 140%;
}

.calculator_small .calc-first-step-submit-text {
    font-size: 1rem;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-form-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-form-headline {
    font-size: 2.5rem;
    line-height: 100%;
    letter-spacing: -0.05rem;
}

.calc-form-description {
    line-height: 140%;
}

.hwcx-calc-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hwcx-calc-form button {
    cursor: pointer;
    background-color: transparent;
}

.hwcx-calc-form button:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    transition: 0.3s ease;
}

.hwcx-f1-row-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.calc-result-tablet {
    display: none;
}

.calc-result-pc {
    width: 100%;
    max-width: var(--max-calc-width);
}

.calc-submit-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.calc-thank-step {
    display: none;
}

.calc-thank-step-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 5rem var(--container-space);
    width: 100%;
    min-height: 100vh;
}

.calc-thank-title {
    font-family: var(--font-family-headline);
    font-size: 4.5rem;
    letter-spacing: -0.09rem;
}

.calc-thank-lescription {
    line-height: 140%;
}

.calc-first-step-submit-text-disclaimer {
    font-size: 0.75rem;
    line-height: 120%;
    color: #666;
}

.is-hidden-small {
    display: none !important;
}

.calculator_small {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem;
    background-color: #47beb821;
}

.calculator_small .hwfield-input-field input,
.calculator_small .hwcx-submit-button {
    background-color: #fff;
}

.calculator_small .calc-thank-step-container {
    min-height: auto;
    padding: 2.5rem var(--container-space);
    gap: 0.5rem;
}

.calculator_small .calc-thank-title {
    font-size: 2.5rem;
}

@media (max-width: 1000px) {
    .calc-left {
        border-right: 0;
    }

    .calc-result-pc {
        display: none;
    }

    .calc-result-tablet {
        display: flex;
    }

    .calculator,
    .calculator:not(.calculator_small) {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.5rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .calc-left,
    .calc-right {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hwcx-calc-form {
        gap: 1rem;
    }

    .hwcx-f1-row-2col {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .calc-left-headline {
        font-size: 1.75rem;
    }

    .calc-left-description {
        font-size: 0.875rem;
    }

    .calc-costs-bottom {
        font-size: 0.875rem;
    }

    .calc-form-headline {
        font-size: 1.75rem;
    }

    .calc-thank-title {
        font-size: 2.5rem;
    }

    .calculator_small {
        padding: 2.5rem var(--container-space);
    }
}

@media (max-width: 480px) {
    .calc-costs {
        grid-template-columns: repeat(1, 1fr);
    }

    .calc-simple-inputs-2col {
        grid-template-columns: repeat(1, 1fr);
    }
}