.calc {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: curator-semi-bold, Helvetica Neue, Helvetica, Arial, sans-serif, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

.calc-inner {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    width: 460px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    line-height: 1;
}

.calc-inner h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.calc-section {
    margin-bottom: 40px;
}

.input-sum {
    background-color: #fff;
    color: #1D1D1D;
    border: 1px solid;
    border-color: #dde1e2;
}

.calc-section:last-child {
    margin-bottom: 0;
}

.calc-section label {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    display: block;
}

input[type=number] {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.slider-container {
    position: relative;
    margin-top: 30px;
    height: 60px;
}

.btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.btn-amount {
    margin: 15px 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #dde1e2;
    transition: .05s;
}

.btn-amount:active {
    transform: scale(.9);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    position: absolute;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    top: 50px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #dde1e2;
    cursor: pointer;
    position: relative;
}

input#targetSlider::-webkit-slider-thumb {
    background-color: #8a4dda;
}

input#monthSlider::-webkit-slider-thumb {
    background-color: #ECE033;
}

#depositSlider::-webkit-slider-thumb {
    z-index: 3;
}

#targetSlider::-webkit-slider-thumb {
    z-index: 2;
}

.bubble {
    padding: 4px 10px;
    position: absolute;
    top: 20px;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;

}

.bubble-bottom {
    top: unset;
    bottom: -34px;
}

.marks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.marks span {
    display: inline-block;
    color: #2d2d2d;
    font-size: 14px;
}

.results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.label {
    color: #666;
    font-size: 14px;
}

.value {
    font-size: 18px;
    font-weight: 600;
}

.target-val,
.current-month-val {
    position: relative;
}

.target-val::before,
.current-month-val::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -20px;
    transform: translate(0, 50%);
    width: 10px;
    height: 10px;
    background-color: #8a4dda;
    border-radius: 50%;
}

.current-month-val::before {
    background-color: #ECE033;
}

.profit-val {
    padding: 4px 10px;
    border: 1px solid #1BAC16;
    border-radius: 16px;
    color: #1BAC16;
}