.yb-savings-calculator-btn {
    cursor: pointer;
    color: #02060B;
}

.yb-savings-calculator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #161616;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(0.3125rem);
}

.yb-savings-calculator-modal.active {
    display: flex;
}

.yb-savings-calculator-content {
    max-width: 788px;
    width: 100%;
    position: relative;
}

.yb-savings-calculator-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #02060B;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #E6E6E7;
    transition: background-color 0.3s;
}

.yb-savings-calculator-close:hover {
    background-color: #f5f5f5;
}

.yb-savings-calculator-header {
    padding-top: 2.5rem;
    text-align: center;
}

.yb-savings-calculator-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
    font-family: 'Nunito Sans', sans-serif;
}

.yb-savings-calculator-subtitle {
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Nunito Sans', sans-serif;
}

.yb-savings-calculator-progress {
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
}

.yb-savings-calculator-step {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: #f5f5f5;
    color: #999;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.yb-savings-calculator-step .step-icon {
    display: inline-block;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background-color: #CCCDCE;
    color: #6E6E73;
    font-size: 0.875rem;
    font-weight: 700;

}

.yb-savings-calculator-step.active .step-icon {
    background-color: #000000;
    color: #FEDB1E;
}

.yb-savings-calculator-step.active {
    background: #FFD700;
    color: #333;
}

.yb-savings-calculator-body {
    border-radius: 1.5rem;
    background-color: white;
}

.yb-savings-calculator-step-content {
    padding: 1.5rem;
}

.yb-savings-calculator-section:nth-of-type(n+2) {
    padding: 1.25rem 1.5rem;
    background: #F9F9F9;
    border-radius: 1rem;
}

.yb-savings-calculator-section {
    margin-bottom: 1rem;
    max-height: 37.5rem;
    overflow-y: auto;
}

.yb-savings-calculator-section:last-child {
    margin-bottom: 0;
}

.yb-savings-calculator-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.yb-savings-calculator-results-item svg,
.yb-savings-calculator-label svg,
.yb-savings-calculator-section-title svg {
    height: 1.25rem;
}

.yb-savings-calculator-savings-item svg {
    height: 1.375rem;
}

.yb-savings-calculator-section-title-center {
    justify-content: center;
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
}

.yb-savings-calculator-section-title i {
    font-size: 1.25rem;
    color: #FFD700;
}

.yb-savings-calculator-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.yb-savings-calculator-option {
    border: 0.125rem solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.yb-savings-calculator-option:hover {
    border-color: #FFD700;
    transform: translateY(-0.125rem);
}

.yb-savings-calculator-option.selected {
    border-color: #FFD700;
    background: #FFF9E6;
}

.yb-savings-calculator-option-icon {
    height: 2.5rem;
    margin-bottom: 0.625rem;
}

.yb-savings-calculator-option-icon svg {
    height: 2.5rem;
}

.yb-savings-calculator-option-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #02060B;
    text-align: center;
    margin-bottom: 0.25rem;
}

.yb-savings-calculator-option-text {
    font-size: 0.875rem;
    color: #000000;
    line-height: 1.4;
    text-align: center;
}

.yb-savings-calculator-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.yb-savings-calculator-input-group {
    display: flex;
    flex-direction: column;
}

.yb-savings-calculator-input-group.full-width {
    grid-column: 1 / -1;
}

.yb-savings-calculator-label {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0.5rem;
}

.yb-savings-calculator-input {
    padding: 0.75rem 1rem;
    border: 0.125rem solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.3s;
    font-family: 'Nunito Sans', sans-serif;
}

.yb-savings-calculator-input:focus {
    outline: none;
    border-color: #FFD700;
}

.yb-savings-calculator-select {
    height: 3rem;
    padding: 0.75rem 1rem;
    border: 0.125rem solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: white;
    color: #02060B;
    cursor: pointer;
    transition: border-color 0.3s;
    font-family: 'Nunito Sans', sans-serif;
}

.yb-savings-calculator-select:focus {
    outline: none;
    border-color: #FFD700;
}

.yb-savings-calculator-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 3rem 1.5rem;
}

.yb-savings-calculator-next-btn {
    background-color: #FEDB1E;
    border-radius: 2rem;
    padding: 0.5625rem 2.8125rem;
    font-size: 1rem;
    font-weight: 400;
    color: #02060B;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.yb-savings-calculator-next-btn:disabled {
    background-color: #E6E6E7;
    color: #6E6E73;
    cursor: not-allowed;
}

.yb-savings-calculator-back-btn {
    background-color: white;
    border: 0.125rem solid #02060B;
    border-radius: 2rem;
    padding: 0.5625rem 2.8125rem;
    font-size: 1rem;
    font-weight: 400;
    color: #02060B;
    cursor: pointer;
    transition: all 0.3s;
}

.yb-savings-calculator-back-btn:hover {
    background-color: #f5f5f5;
}

/* Step 3 Results Styles */
.yb-savings-calculator-results {
    max-height: 37.5rem;
    overflow: auto;
}

.yb-savings-calculator-results-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.yb-savings-calculator-results-column {
    background: white;
    padding: 1.125rem 1.5rem;
    background-size: cover;
    aspect-ratio: 360 / 376;
}

.yb-savings-calculator-results-column:first-child {
    background-image: url('https://img-va.myshopline.com/image/store/1737714205978/current-annual-costs-1.png?w=720&h=752');
}

.yb-savings-calculator-results-column:last-child {
    background-image: url('https://img-va.myshopline.com/image/store/1737714205978/yarbo-solution-bg-1.png?w=622&h=648');
}

.yb-savings-calculator-results-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    text-align: center;
}

.yb-savings-calculator-results-list {
    margin-bottom: 1rem;
}

.yb-savings-calculator-results-item {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #000;
}

.yb-savings-calculator-results-icon {
    color: #999;
    font-size: 1rem;
}

.yb-savings-calculator-results-price {
    font-weight: 400;
    color: #000;
    font-size: 1.125rem;
    text-align: center;
    width: 100%;
}

.yb-savings-calculator-results-check {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1rem;
}

.yb-savings-calculator-results-image {
    margin-top: 1rem;
}

.yb-savings-calculator-savings-summary {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-image: url('https://img-va.myshopline.com/image/store/1737714205978/total-save-bg.png?w=1480&h=370');
    background-size: cover;
    background-color: #F5F5F5;
    aspect-ratio: 740 / 185;
    border-radius: 1rem;
    border: 1px solid #E6E6E7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.yb-savings-calculator-savings-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.yb-savings-calculator-savings-icon {
    font-size: 1.25rem;
}

.yb-savings-calculator-payback-content {
    max-width: 24.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.yb-savings-calculator-payback-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.yb-savings-calculator-payback-note {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

.yb-savings-calculator-payback-icon {
    margin-left: 1rem;
}

.yb-savings-calculator-report {
    background: #f5f5f5;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yb-savings-calculator-report-input-container {
    position: relative;
    width: 100%;
    max-width: 17.5rem;
}

.yb-savings-calculator-error {
    color: rgb(255, 0, 0);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    position: absolute;
}

.yb-savings-calculator-success {
    color: rgb(0, 196, 65);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    position: absolute;
}

.yb-savings-calculator-report-title {
    font-size: 1rem;
    font-weight: 700;
    color: #02060B;
    margin-bottom: 0.875rem;
    text-align: center;
}

.yb-savings-calculator-report-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.yb-savings-calculator-report-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 0.125rem solid #E6E6E7;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: border-color 0.3s;
    background-color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    width: 100%;
}

.yb-savings-calculator-report-input:focus {
    outline: none;
    border-color: #FFD700;
}

.yb-savings-calculator-report-btn {
    background-color: #FEDB1E;
    border-radius: 0.25rem;
    padding: 0.5625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #02060B;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.yb-savings-calculator-report-btn:hover {
    background-color: #FFC800;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .yb-savings-calculator-content {
        width: 95%;
    }

    .yb-savings-calculator-header {
        padding: 2.5rem 0 0.9375rem;
    }

    .yb-savings-calculator-title {
        font-size: 1.25rem;
    }

    .yb-savings-calculator-subtitle {
        font-size: 0.875rem;
        font-weight: 400;
        margin: 0;
    }

    .yb-savings-calculator-results-column {
        padding: 1.25rem;
        aspect-ratio: 311 / 324;
    }

    .yb-savings-calculator-step-content {
        padding: 1.25rem 1rem 0;
        max-height: 60vh;
        overflow-y: auto;
    }

    .yb-savings-calculator-section-title-center {
        font-size: 1rem;
        padding: 0 2rem;
        text-align: center;
    }

    .yb-savings-calculator-results-price {
        font-size: 1rem;
    }

    .yb-savings-calculator-results-item-title {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }

    .yb-savings-calculator-results-item {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .yb-savings-calculator-results {
        max-height: 60vh;
    }

    .yb-savings-calculator-report-input-container {
        max-width: 100%;
    }

    .yb-savings-calculator-error,
    .yb-savings-calculator-success {
        margin: 0;
        font-size: 0.625rem;
    }

    .yb-savings-calculator-footer {
        padding: 0 1rem 1.5rem;
    }

    .yb-savings-calculator-savings-item {
        font-size: 1.125rem;
    }

    .yb-savings-calculator-options {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .yb-savings-calculator-inputs {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .yb-savings-calculator-step {
        padding: 0.75rem 0rem;
        font-size: 0.75rem;
    }

    .yb-savings-calculator-step {
        width: 100%;
        text-align: center;
    }

    /* Step 3 Mobile Styles */
    .yb-savings-calculator-results-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .yb-savings-calculator-savings-summary {
        flex-direction: column;
        gap: 2.25rem;
        aspect-ratio: 311 / 330;
        background-image: url('https://img-va.myshopline.com/image/store/1737714205978/total-save-mobile-bg.png?w=622&h=660');
    }

    .yb-savings-calculator-payback {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .yb-savings-calculator-payback-icon {
        margin-left: 0;
    }

    .yb-savings-calculator-report-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .yb-savings-calculator-report-input,
    .yb-savings-calculator-report-btn {
        width: 100%;
        border-radius: 2rem;
    }

    .yb-savings-calculator-section-title {
        margin: 0;
    }

    .yb-savings-calculator-label {
        font-size: 0.875rem;
    }

    .yb-savings-calculator-label {
        display: flex;
        gap: 0.25rem;
    }

    .yb-savings-calculator-step .step-icon {
        font-size: 0.65rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    .yb-savings-calculator-back-btn,
    .yb-savings-calculator-next-btn {
        padding: 0.5625rem 1rem;
    }

    .yb-savings-calculator-footer {
        padding: 1.5rem 1rem;
    }

}

/* Input with icon styles */
.yb-savings-calculator-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.yb-savings-calculator-input-with-icon input {
    padding-right: 2.5rem;
    width: 100%;
}

.yb-savings-calculator-input-with-icon svg {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}