#comparisoncalculator {
    width: 100%;
}

#comparisoncalculator .cc_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    margin-bottom: 24px;
}

#comparisoncalculator > .cc_row {
    @media (max-width: 1280px) {
        grid-template-columns: 1fr;
    }
}


#comparisoncalculator > .cc_row > .cc_col:last-child {
    margin-top: 48px;
}

#comparisoncalculator .cc_col {
}

#comparisoncalculator h2,
#comparisoncalculator h3 {
    margin-bottom: 24px;
    font-weight: normal;
}

#comparisoncalculator h3:not(:first-child) {
    margin-top: 48px;
}

#comparisoncalculator .cc_button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 6px;
    margin-bottom: 24px;
}

#comparisoncalculator .cc_input,
#comparisoncalculator .cc_button {
    background-color: white;
    border: 1px solid #BEBEBE;
    border-radius: 6px !important;
    cursor: pointer;
    font-size: 16px;
    color: #292929;
    letter-spacing: 0;
    line-height: 26px;
    white-space: nowrap;
    font-family: 'Sparkasse Regular', sans-serif;
    padding: 18px 18px;
}

#comparisoncalculator .cc_button:hover {
    border-color: #6E6E6E;
    color: #6E6E6E;
}

#comparisoncalculator .cc_button.--active {
    background-color: #6E6E6E;
    border: 1px solid #6E6E6E;
    color: white !important;
}

.cc_input-wrapper {
    gap: 10px;
    position: relative;
    width: 100%;

    @media (max-width: 786px) {
        grid-column: 1 / -1;
        margin-bottom: 24px;
    }
}

.cc_input__label {
    position: absolute;
    top: 0;
    left: 0;
    display: inline;
    text-align: left;
    background: white !important;
}

.cc_input-container {
    position: relative;
}

.cc_input-container .cc_input {
    padding-right: 64px !important;
}

.cc_input-container .cc_suffix {
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000;
}

.cc_range {
    accent-color: #6E6E6E;
    grid-column: 1 / -1;
}

@media (min-width: 786px) {
    .cc_range {
        grid-column: span 3;
    }
}

#comparisoncalculator .cc_col.results {
    border: 1px solid #BEBEBE;
    padding: 32px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

#comparisoncalculator .results .cc_row {
    height: 100%;
    margin: 0 !important;

    @media (max-width: 786px) {
        grid-template-columns: 1fr; !important;
        row-gap: 24px;
    }
}

.results .cc_col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--nectar-accent-color);
    border-radius: 6px;
    color: white;
    overflow: hidden;
    min-height: 160px;
}

.cc_result.--full {
    width: 100%;
}

.cc_result.--divided {
    display: flex;
    gap: 10px;
}

.cc_sum_saved {
    background: #009864;
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cc_value-label,
.cc_value {
    display: flex;
    align-items: center;
    justify-content: center;
}

div:not(.cc_sum_staked) > .cc_value {
    display: flex;
    gap: 6px;
    font-size: 32px;
    font-family: 'Sparkasse Head', sans-serif;
}

.cc_suffix {
}

.cc_sum_staked {
    display: flex;
    flex-direction: row;
    gap: 6px;
    height: 20%;
    padding: 6px 12px;
}

.cc_sum_staked > .cc_value {
    display: flex;
    gap: 6px;
}


/**
Range Slider
 */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 95%;
    height: 4px;
    background-color: #6E6E6E;
    border-radius: 4px;
    outline: none;
    margin: auto 0 auto 5%;

    @media (max-width: 786px) {
        width: 100%;
        margin: auto 0;
    }
}

/* Chrome, Safari, Edge */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background-color: #6E6E6E;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    transform: translateY(-10px);
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background-color: #292929;
    border-radius: 50%;
    border: 1.5px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="range"]:hover::-webkit-slider-thumb {
    transform: translateY(-10px);
    background-color: #6E6E6E;
}

/* Firefox */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 4px;
    background-color: #6E6E6E;
    border-radius: 4px;
    margin: 0;
}

input[type="range"]::-moz-range-thumb {
    transform: translateY(-10px);
    width: 24px;
    height: 24px;
    background-color: #292929;
    border-radius: 50%;
    border: 1.5px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="range"]:hover::-moz-range-thumb {
    background-color: #6E6E6E;
}