#bc-calculator {
    --bc-bg: #07111a;
    --bc-card: #1f1f1f;
    --bc-card-2: #242424;
    --bc-white: #ffffff;
    --bc-muted: #c2c2c2;
    --bc-line: rgba(255,255,255,0.12);
    --bc-green: #86E9AF;
    --bc-green-dark: #62d89c;
    --bc-circle-off: #bcbcbc;
    --bc-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-family: inherit;
}

#bc-calculator * {
    box-sizing: border-box;
}

.bc-wrapper {
    background:transparent;
    padding: 0; 
}

.bc-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

.bc-card,
.bc-preview-card {
    background: linear-gradient(180deg, #232323 0%, #1a1a1a 100%);
    border-radius: 28px;
    box-shadow: var(--bc-shadow);
    border: 1px solid rgba(255,255,255,0.04);
}

.bc-card {
    padding: 28px;
}

.bc-preview-card {
    padding: 26px 26px 22px;
    position: sticky;
    top: 20px;
}

.bc-progress-top {
    margin-bottom: 30px;
}

.bc-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.bc-step-label {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.bc-step-percent {
    font-size: 14px;
    font-weight: 700;
    color: #163526;
    background: var(--bc-green);
    padding: 6px 12px;
    border-radius: 999px;
    min-width: 58px;
    text-align: center;
}

.bc-progress-line {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
    overflow: hidden;
}

.bc-progress-line span {
    display: block;
    width: 17%;
    height: 100%;
    background: linear-gradient(90deg, var(--bc-green) 0%, var(--bc-green-dark) 100%);
    border-radius: 999px;
    transition: width .35s ease;
}

.bc-step {
    display: none;
    animation: bcFade .3s ease;
}

.bc-step.active {
    display: block;
}

.bc-step h3 {
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 800;
}

.bc-step p {
    color: #e3c179;
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 26px;
}

.bc-options {
    display: grid;
    gap: 16px;
}

.bc-option {
    width: 100%;
    border: none;
    background: #f2f2f2;
    border-radius: 24px;
    padding: 14px 18px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    transition: .25s ease;
    text-align: left;
    box-shadow: inset 0 0 0 2px transparent;
}

.bc-option:hover,
.bc-option:focus {
    transform: translateY(-1px);
	background:#f7f7f7;
}

.bc-option.active {
    box-shadow: inset 0 0 0 2px rgba(126,240,179,0.5);
}

.bc-option-text {
    color: #181818;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.bc-option.active .bc-option-text {
    color: #8adfb3;
}

.bc-option-check {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--bc-circle-off);
    flex: 0 0 40px;
    position: relative;
    transition: .25s ease;
}

.bc-option.active .bc-option-check {
    background: var(--bc-green);
}

.bc-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
}

.bc-back-btn,
.bc-restart-btn {
    border: none;
    background: transparent;
    color: #d3d3d3;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.bc-back-btn:hover,
.bc-restart-btn:hover,
.bc-back-btn:focus,
.bc-restart-btn:focus {
    color: #fff;
	background:transparent;
}

.bc-preview-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--bc-green);
    color: #173525;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 26px;
}

.bc-preview-card {
    text-align: center;
}

.bc-preview-price {
    color: #fff;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 16px;
}

.bc-preview-subtitle {
    color: #efefef;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}

.bc-preview-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 26px 0 20px;
}

.bc-preview-bottom {
    color: #dddddd;
    font-size: 15px;
    opacity: .9;
}

.bc-result {
    display: none;
    animation: bcFade .35s ease;
}

.bc-result.active {
    display: block;
}

.bc-result-inner {
    text-align: center;
    padding: 10px 0 0;
}

.bc-result-badge {
    display: inline-block;
    background: var(--bc-green);
    color: #173525;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
}

.bc-result-price {
    color: #fff;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 10px;
}

.bc-result-subtitle {
    color: #d7d7d7;
    font-size: 18px;
    margin-bottom: 24px;
}

.bc-result-installment {
    color: #8adfb3;
    font-size: 18px;
    margin-bottom: 18px;
}

.bc-result-note {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.5;
    max-width: 580px;
    margin: 0 auto 24px;
}

.bc-telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 28px;
    background: #229ED9;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 16px;
    font-weight: 800;
    font-size: 17px;
    transition: .25s ease;
    margin-bottom: 18px;
}

.bc-telegram-btn:hover {
    transform: translateY(-1px);
    opacity: .95;
}

@keyframes bcFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .bc-grid {
        grid-template-columns: 1fr;
    }

    .bc-preview-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .bc-wrapper {
        padding: 0;
        border-radius: 18px;
    }

    .bc-card,
    .bc-preview-card {
        border-radius: 22px;
    }

    .bc-card {
        padding: 20px 16px;
    }

    .bc-step h3 {
        font-size: 24px;
    }

    .bc-step p {
        font-size: 15px;
    }

    .bc-option {
        min-height: 70px;
        padding: 12px 14px;
        border-radius: 18px;
    }

    .bc-option-text {
        font-size: 16px;
    }

    .bc-option-check {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .bc-preview-price {
        font-size: 48px;
    }

    .bc-preview-subtitle {
        font-size: 22px;
    }

    .bc-result-price {
        font-size: 40px;
    }
}