.ahorro-hero {
    background: #FDFDFD;
    position: relative;
}
.ahorro-hero.ahorro-hero--saving::before {
    content: url('../images/ahorro/planet_saving.png');
    height: 100%;
    right: 0;
    top: 0;
    position: absolute;
}
.ahorro-hero.ahorro-hero--performance::before {
    content: url('../images/ahorro/planet_performance.png');
    height: 100%;
    right: 0;
    top: 0;
    position: absolute;
}
#title-card-saving {
    margin-top: 100px;
}
.saving #title-card-saving {
    color: #2C4E5C;
}
.performance #title-card-saving {
    color: #552D9A;
}
.cards-saving p {
    font-size: 20px;
    font-weight: 400;
    color: #040404;
}
.saving-main {
    border-radius: 20px;
    border: 1px solid #CCCBEB;
    background: #FDFDFD;
}
.cards-saving-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.card-saving-icon {
    border: 1px solid #EBEBFE;
    border-radius: 8px;
    padding: 7px;
}
.card-saving-item {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
}
.card-saving-item::before {
    content: "";
    width: 1px;
    height: 100%;
    background: linear-gradient(to top, #CCCBEB00, #CCCBEB, #CCCBEB00);
    position: absolute;
    right: 0;
    top: 0;
}
.card-saving-item:last-child:before {
    display: none;
}
.card-saving-title {
    color: #040404;
    font-size: 20px;
    margin: 25px 0 0;
    font-weight: 600;
}
.card-saving-value {
    font-size: 30px;
    font-weight: 600;
}
.card-saving-item p {
    font-size: 18px;
    color: #040404;
    margin-top: 10px;
}
.saving .card-saving-value {
    color: #4B9DA5;
}
.performance .card-saving-value {
    color: #552D9A;
}
.saving .card-saving-icon img {
    filter: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(1542%) hue-rotate(137deg) brightness(98%) contrast(89%);
}
.performance .card-saving-icon img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(42%) saturate(2696%) hue-rotate(242deg) brightness(98%) contrast(100%);
}
.preview-last {
    background: gray;
    height: 400px;
    width: 100%;
}
.payment-main {
    padding: 20px 0 48px 0;
    margin: 0 48px;
    border-top: 1px solid #EBEBFE;
}
.title-payment {
    font-size: 30px;
    font-weight: 500;
    color: #040404;
    text-align: center;
    margin-bottom: 24px;
}
.payments-methods {
    display: flex;
    gap: 36px;
    justify-content: center;
}
.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    .methods {
        display: flex;
        gap: 36px;
    }
    .subtitle-payment {
        color: #9593BD;
        font-size: 14px;
    }
}

.payment-icon {
    width: 56px;
    height: 56px;
    border: 1.17px solid #EBEBFE;
    border-radius: 9.33px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-steps.main-steps--saving {
    margin-top: 40px;
}
.main-steps--saving .steps-container {
    margin-top: 70px;
    margin-bottom: 100px;
    gap: 19px;
}
.main-steps--saving .step-item {
    gap: 25px;
}
.main-steps--saving .step-title {
    color: #111122;
    margin-bottom: 15px;
    -webkit-text-fill-color: inherit;
    font-size: 20px;
}
.main-steps--saving .title-steps {
    color: #040404;
    font-size: 48px;
    font-weight: 700;
}
.main-steps--saving .step-content {
    min-height: auto;
}
.main-projection {
    position: relative;
    display: inline-block;
}
.saving .step-item::before {
    background: #A4CDD080;
}
.performance .step-item::before {
    background: #CCCBEB;
}
.saving .main-projection::before {
    content: "";
    position: absolute;
    top: 119px;
    width: 100%;
    left: -727px;
    height: 100%;
    background: radial-gradient(circle, rgba(198, 211, 249, 1) 0%, #5ec8d252 0%, #0000 62%);
}
.performance .main-projection::before {
    content: "";
    position: absolute;
    top: 119px;
    width: 100%;
    left: -727px;
    height: 100%;
    background: radial-gradient(circle, rgba(198, 211, 249, 1) 0%, #552d9a45 0%, #0000 62%);
}

.chart-container {
    padding: 20px 20px 80px;
    position: relative;
    height: 617px;
    border: 1px solid #EBEBFE;
    border-radius: 12px;
}

#investmentChart {
    width: 100% !important;
    height: 100% !important;
}
.graph-title {
    color: #040404;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}
.max-h-617 {
    height: 617px;
}

.chart-point-tooltip {
    position: absolute;
    /* padding: 8px 16px; */
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
    z-index: 1000;
    opacity: 1;
    transition: all 0.2s ease-out;
    pointer-events: none;
    white-space: nowrap; 
    width: 29px;
    height: 28px;
}

.tooltip-extra-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    white-space: normal;
}

.chart-point-tooltip.expanded .tooltip-extra-info {
    max-height: 100px;
    opacity: 1;
}

.chart-point-tooltip.expanded {
    padding-bottom: 16px;
}

.tooltip-content--performance {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #552D9A;
    font-weight: 600;
    font-size: 14px;
}

.tooltip-content--performance .tooltip-emoji {
    font-size: 18px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    display: inline-block;
    line-height: 1;
}

.tooltip-content--performance .tooltip-value {
    font-size: 13px;
}