.simulator {
    background-color: white;
    padding: 120px 0;
}

.simulator__container {
    background-repeat: no-repeat;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 1200px;
    height: 684px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}

.simulator__list-answer {
    position: relative;
    border-radius: 8px;
    background-color: #F4F6F7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.simulator__list-answer li {
    list-style: none;
    text-align: center;
    width: 32%;
    padding: 14px 1px;
}

.simulator__list-answer li a {
    position: relative;
    color: #002820;
    text-decoration: none;
    display: inline-block;
    z-index: 1000;
    width: 100%;
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.035px;
}

.simulator__list-answer li.active a {
    font-weight: 700;
}

.answer-marker {
    position: absolute;
    top: 2px;
    transition: 0.5s;
    z-index: 1;
}

.answer-marker::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background: #ffffff;
}

.simulator__title {
    color: var(--light-text-neutral-0, #FAF6F2);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.14px;
    text-align: left;
    font-size: 56px;
    width: 520px;
    filter: blur(0px);
    margin-left: 2rem;
    font-family: var(--title-font-family);
}

.simulator__description {
    margin-top: 2rem;
    margin-left: 2rem;
    width: 480px;
    color: var(--light-text-neutral-300, #CBCED3);
    font-family: var(--default-font-family);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; 
}

.simulator__content {
    height: 100%;
    background-color: white;
    border-radius: 10px;
    width: 343px;
    position: relative;
}

.simulator__page-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    border-radius: 10px;
}

.simulator__page-form, .simulator__page-result {
    display: none;
    flex-direction: column;
    padding: 24px;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 10px;
}

.simulator__page-step-1, 
.simulator__page-step-2, 
.simulator__page-step-3, 
.simulator__page-step-4 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.simulator__question {
    color: var(--section-color-content-secondary, #45565C);
    font-family: var(--default-font-family);
    font-size: var(--body-sm-size, 14px);
    font-style: normal;
    font-weight: var(--body-weight, 400);
    line-height: var(--body-sm-line-height, 18px);
    letter-spacing: var(--body-letter-spacing, 0px);
}

.simulator__page-step-1, 
.simulator__page-step-2, 
.simulator__page-step-3, 
.simulator__page-step-4 {
    display: none;
}

.simulator__page-step-1 {
    display: flex;
}

.simulator__progress {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.simulator__progress > span {
    width: 71px;
    height: 2px;
    background-color: #DDD;
}

.simulator__progress > span.active {
    background-color: #36C665;
}

.simulator__back {
    display: block;
    text-align: left;
    color: var(--light-text-neutral-600, #0C2028);
    font-family: var(--default-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    background-image: url('data:image/svg+xml,<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.95605 8.21564L9.57979 12.9918L10.6575 11.9485L7.04379 8.21564L10.6575 4.48277L9.57979 3.43945L4.95605 8.21564Z" fill="%230F262F"/></svg>');
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 1rem;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 24px;
    width: 75px;
    height: 25px;
    user-select: none;
}

.simulator__page-result {
    gap: 15px;
}

.simulator__page-result .simulator__page-title {
    color: var(--light-text-neutral-600, #002820);
    font-family: var(--default-font-family);
    font-size: var(--subtitle-md-size, 18px);
    font-style: normal;
    font-weight: var(--subtitle-weight, 500);
    line-height: var(--subtitle-md-line-height, 24px);
    letter-spacing: var(--subtitle-letter-spacing, 0px);
}

.simulator__page-result .simulator__page-title strong {
    color: var(--section-color-content-accent, #229839);
}

.simulator__page-result .simulator__page-description {
    color: var(--section-color-content-secondary, #45565C);
    font-family: var(--default-font-family);
    font-size: var(--body-sm-size, 14px);
    font-style: normal;
    font-weight: var(--body-weight, 400);
    line-height: var(--body-sm-line-height, 18px);
    letter-spacing: var(--body-letter-spacing, 0px);
}

.simulator__page-result .result-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simulator__page-result .result-content > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.simulator__page-result .result-content .dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.simulator__page-result .result-content .dot--fixed-income {
    background: var(--light-surface-primary-500, #002820);
}

.simulator__page-result .result-content .dot--global-stocks {
    background: var(--light-surface-primary-300, #36C665);
}

.simulator__page-result .result-content .dot--multimarket {
    background: var(--light-surface-primary-200, #D7F6E2);
}

.simulator__page-result .result-graph {
    height: 50px;
    display: flex;
    flex-shrink: 0;
}

.simulator__page-result .result-graph > span {
    width: 0;
}

.simulator__page-result .result-graph > span:nth-child(1) {
    background-color: var(--light-surface-primary-500, #002820);
    border-radius: 8px 0 0 8px;
    width: 52%;
}

.simulator__page-result .result-graph > span:nth-child(2) {
    background-color: var(--light-feedback-success-light, #36C665);
    width: 35%;
}

.simulator__page-result .result-graph > span:nth-child(3) {
    background-color: var(--light-surface-primary-200, #D7F6E2);
    border-radius: 0 8px 8px 0;
    width: 13%;
}

.simulator__page-result .result-content > div > span {
    color: var(--section-color-content-primary, #002820);
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 19.6px;
    letter-spacing: 0.035px;
}

.simulator__page-result .result-content > div > span:first-child {
    width: 16px;
}

.simulator__page-result .result-content > div > span:nth-child(3) {
    margin-left: auto;
}

.simulator__page-result .result-content > div:nth-child(2) > span, 
.simulator__page-result .result-content > div:nth-child(3) > span {
    color: var(--section-color-content-secondary, #45565C);
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.035px;
}

.simulator__page-intro-title {
    font-size: 24px;
    color: var(--light-text-neutral-0, #FAF6F2);
    font-family: var(--default-font-family);
    font-style: normal;
    font-weight: 500;
    line-height: var(--title-md-line-height, 32px);
    letter-spacing: var(--title-letter-spacing, 0px);
}

.simulator__content .simulator__button {
    background-color: #36C665;
    padding: 14px 22px 14px 22px;
    border-radius: 8px;
    color: #0C2028;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-decoration: none;
    font-family: var(--default-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; 
    margin-top: auto;
    cursor: pointer;
    transition: background-color 100ms linear;
}

.simulator__content .simulator__button:hover {
    background-color: #58d281;    
}

.simulator__button-alternative {
    width: 100%;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #F4F6F7;
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.035px;
    color: #002820;
    gap: 8px;
    transition: all 100ms ease-in;
    cursor: pointer;
}
.simulator__button-alternative--selected>svg>path {
    stroke: white;
}
.simulator__button-alternative--selected {
    background-color: #002820;
    color: white;
}
.simulator__content .simulator__button--disabled {
    background-color: #cbd4d8 !important;
    border-color: #cbd4d8;
    color: #8f9fa6 !important;
    cursor: not-allowed;
}

.simulator__content .input-range {
    background-color: #F4F6F7;
    padding: 7px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simulator__content .input-range > input {
    border: none;
    background: transparent;
    text-align: center;
    width: 150px;
    color: var(--section-color-content-primary, #002820);
    text-align: center;
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.035px;
}

.simulator__content .input-range > input:focus {
    outline: none;
}

.simulator__content .input-range_button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
}

.simulator__content .input-range_button--decrease {
    background-color: #002820;
    color: #FFFFFF;
}

.simulator__content .input-range_button--decrease svg path {
    stroke: #FAF6F2;
}

.simulator__content .input-range_button--decrease:disabled svg path {
    stroke: #002820;
}

.simulator__content .input-range_button--increase {
    background-color: #002820;
    color: #FFFFFF;
}

.simulator__content .input-range_button--increase svg path {
    stroke: #FAF6F2;
}

.simulator__content .input-range_button--increase:disabled svg path {
    stroke: #002820;
}

.simulator__content .input-range_button:disabled {
    background-color: #FFFFFF;
    color: #002820;
    cursor: not-allowed;
}

.simulator__content .input-option {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.simulator__content .input-option_item {
    cursor: pointer;
    padding: 15px 16px;
    flex: 1;
    border-radius: 8px;
    background-color: var(--section-color-surface-medium, #F4F6F7);
    color: var(--section-color-content-primary, #002820);
    text-align: center;
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.035px;
    transition: all 200ms ease-in;
}

.simulator__content .input-option_item.selected {
    background-color: #002820;
    color: #fff;
}

.simulator__content select {
    appearance: none;
    background-color: #F4F6F7;
    color: #333;
    background-image: url('data:image/svg+xml,<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="36" height="36" rx="18" fill="%23002820"/><rect width="24" height="24" transform="translate(30 6) rotate(90)" fill="%23002820"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18 21L13 16.1342L14.0922 15L18 18.8029L21.9078 15L23 16.1342L18 21Z" fill="%23FAF6F2"/></svg>');
    background-position: right 7px top 50%;
    background-repeat: no-repeat;
    border-radius: 8px;
    border: none;
    outline: none;
    height: 50px;
    font-family: var(--default-font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px; 
    letter-spacing: 0.035px;
    padding-left: 1rem;
}

.simulator__content .dropdown {
    position: relative;
    width: 300px;
}

.simulator__content .dropdown-button {
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: #F4F6F7;
    color: #002820;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    height: 50px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    background-image: url('data:image/svg+xml,<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="36" height="36" rx="18" fill="%23002820"/><rect width="24" height="24" transform="translate(30 6) rotate(90)" fill="%23002820"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18 21L13 16.1342L14.0922 15L18 18.8029L21.9078 15L23 16.1342L18 21Z" fill="%23FAF6F2"/></svg>');
    background-position: right 7px top 50%;
    background-repeat: no-repeat;
    padding: 0 3rem 0 1rem;
}

.simulator__content .dropdown-selected {
    flex-grow: 1;
    color: #002820;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.simulator__content .dropdown-menu {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #F4F6F7;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #eaeaea;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.simulator__content .dropdown-item {
    padding: 10px;
    cursor: pointer;
    color: var(--light-text-neutral-600, #002820);
    border-top: 1px solid #eaeaea;
    font-size: 14px;
}

.simulator__content .dropdown-item:hover {
    background-color: var(--light-text-neutral-600, #002820);
    color: white;
}

.simulator__content .dropdown.open .dropdown-button {
    border-radius: 8px 8px 0 0;
}

.simulator__content .dropdown.open .dropdown-menu {
    display: block;
}

.simulator__page-step-title {
    color: var(--light-text-neutral-600, #002820);
    font-family: var(--default-font-family);
    font-size: var(--subtitle-md-size, 18px);
    font-style: normal;
    font-weight: var(--subtitle-weight, 500);
    line-height: var(--subtitle-md-line-height, 24px);
    letter-spacing: var(--subtitle-letter-spacing, 0px);
}

.simulator__page-step-description {
    color: var(--section-color-content-secondary, #45565C);
    font-family: var(--default-font-family);
    font-size: var(--body-sm-size, 14px);
    font-style: normal;
    font-weight: var(--body-weight, 400);
    line-height: var(--body-sm-line-height, 18px);
    letter-spacing: var(--body-letter-spacing, 0px);
}

.simulator__page-step-4 label {
    color: var(--section-color-form-label-content, #002820);
    font-family: var(--default-font-family);
    font-size: var(--form-label-md-size, 14px);
    font-style: normal;
    font-weight: var(--form-label-weight, 500);
    line-height: var(--form-label-md-line-height, 20px);
    letter-spacing: var(--form-label-letter-spacing, 0.25px);
}

.simulator__page-step-4 input {
    padding: 12px 16px;
    border-radius: var(--border-radius-md, 8px);
    border: var(--border-width-thin, 1px) solid var(--section-color-form-input-border-actived, #8F9FA6);
    background: var(--section-color-form-input-bg-actived, #FFF);
    color: var(--section-color-form-input-content-placeholder, #566972);
    font-family: var(--default-font-family);
    font-size: var(--form-input-size, 16px);
    font-style: normal;
    font-weight: var(--form-input-placeholder-weight, 400);
    line-height: var(--form-input-line-height, 20px);
    letter-spacing: var(--form-input-letter-spacing, 0px);
}

.simulator__page-step-4 form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.simulator__page-step-4 .form-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simulator__page-step-4 .form-inline {
    display: flex;
    gap: 15px
}

.simulator__page-step-4 .form-inline .form-control {
    width: 47%;
}

.simulator__page-step-4 .radio-label label {
    color: var(--light-text-neutral-600, #0C2028);
    font-family: var(--default-font-family);
    font-size: var(--overline-size, 10px);
    font-style: normal;
    font-weight: var(--overline-weight, 500);
    line-height: var(--overline-line-height, 12px);
    letter-spacing: var(--overline-letter-spacing, 0px);
    text-transform: uppercase;
    display: flex;
    gap: 8px;
    align-items: center;
}

.simulator__page-step-4 .radio-label label a {
    text-decoration: underline;
    color: #36C665;
}

.simulator__page-step-4 .radio-label label input[type="checkbox"] {
    border-radius: var(--border-radius-md, 8px);
    border: var(--border-width-thin, 1px) solid var(--section-color-form-input-border-actived, #8F9FA6);
    width: 36px;
    height: 36px;
}

.simulator__content .disclaimer-content {
    margin-top: auto;
}

.simulator__content .disclaimer-content p {
    margin-top: 1rem;
    color: var(--section-color-content-primary, #002820);
    font-family: var(--default-font-family);
    font-size: var(--overline-size, 10px);
    font-style: normal;
    font-weight: var(--overline-weight, 500);
    line-height: var(--overline-line-height, 12px);
    letter-spacing: var(--overline-letter-spacing, 0px);
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .simulator {
        background-color: white;
        padding: 96px 0;
        background-color: var(--light-surface-neutral-200, #f1f5f8);
    }
    
    .simulator__container {
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
        background-image: unset !important;
        align-items: flex-start;
        flex-direction: column;
    }

    .simulador__wrapper {
        display: none;
    }

    .simulator__content {
        width: 100%;
        min-height: 636px;
    }

    .simulator__page-intro {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .simulator__progress > span {
        flex-basis: 24%;
    }

    .simulator__content .dropdown {
        width: 100%;
    }

    .simulator__content .input-option_item {
        flex-basis: 40%;
    }

    .simulator__title--mobile {
        font-family: var(--title-font-family) !important;
        font-size: 36px;
        font-weight: 800;
        line-height: 33.84px;
        letter-spacing: var(--letter-spacing, normal);
        text-align: left;
        color: var(--light-text-neutral-600, #002820);
        margin-bottom: 16px;
    }

    .simulator__description--mobile {
        font-family: var(--default-font-family);
        font-size: 18px;
        font-weight: 400;
        line-height: 22.4px;
        text-align: left;
        color: var(--light-text-neutral-600, #002820);
        margin-bottom: 32px;
        letter-spacing: var(--letter-spacing, normal);
    }
}