.csc-my-account-climate-profile {

    /* Global */
    background-color: transparent !important;
    margin-bottom: -45px !important;

    .page-header {
        margin-bottom: 10px !important;
    }

    .page-header h1 {
        font-family: 'Roboto Flex Variable', sans-serif;
        font-weight: 700;
        font-size: 75px;
        line-height: 87.89px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .csc-climate-profile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .csc-climate-profile-header__subtitle {
        color: #000 !important;
        font-size: 16px !important;
        line-height: 18.75px !important;
        margin: 0 !important;
    }

    .csc-climate-profile-header__item-right {
        /* width: 318px; */
        flex-shrink: 0;
        padding: 16px 0;
        align-self: center;
        display: flex;
        justify-content: center;
    }

    .csc-climate-profile-header__publish-profile-text,
    .csc-climate-profile-personal-infos__publish_picture-text {
        margin-right: 9px;
    }

    .float-xs-right {
        font-size: 16px !important;
        width: 268px !important;
        height: 67px !important;
        margin-top: 0 !important;
        margin-left: auto !important;
    }

    .csc-climate-profile-header__publish-profile-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 16px;
    }

    .csc-climate-profile__switcher-publish-container {
        gap: 10px;
        margin-bottom: 10px;
    }

    /* Section : Personal Infos */

    .csc-climate-profile-personal-infos__publish_picture-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 16px 0;
        width: 280px;
    }

    .csc-climate-profile-form__personal-infos {
        display: flex;
        padding: 32px 16px;

        .form-group {
            max-width: 100%;
        }
    }

    .csc-climate-profile-form__personal-infos-item {
        width: 50%;
    }

    .csc-climate-profile-form__personal-infos-left {
        padding-right: 32px;
        border-right: 1px solid #000;
    }

    .csc-climate-profile-form__personal-infos-right {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding-left: 32px;
    }

    /* Section : Your Impact */

    .csc-climate-profile-form__accordions {
        margin-top: 10px;
    }

    .csc-form-group-wrapper {
        padding: 0 16px;
        display: flex;
        gap: 10px;
        justify-content: space-between;

        label {
            margin-bottom: 0 !important;
        }

        .form-group {
            max-width: 100%!important;
        }

        .csc-climate-profile-switcher {
            padding: 0 16px;
        }
    }

    .csc-form-group-wrapper__left {
        width: 99%;
    }

    .your-impact-chart-wrapper {
        display: flex;
        max-width: 920px;
        margin-bottom: 32px;

        .your-impact__sequestered_co2_chart_container {
            display: flex;
            align-items: flex-end;
            /* padding-right: 32px; */
            border-right: 1px solid #000;
        }

        .your-impact__sequestered_co2_chart,
        .your-impact__restored_biodiversity_chart {
            position: relative;
            height: 210px;
            width: 210px;
            margin-right: 48px;
        }

        .your-impact__restored_biodiversity_chart_container {
            display: flex;
            padding-left: 32px;
        }

        .your-impact__sequestered_co2_legend {
            padding: 10px;
        }

        .your-impact__chart_legend-item {
            display: flex;
            font-size: 14px;
            line-height: 16.41px;
            margin-bottom: 8px;

            &.bg-green {
                .your-impact__chart_legend-data {
                    background-color: #28FE9C;
                }
                .your-impact__chart_legend-download {
                    background-color: #28FE9C;
                }
            }

            &.bg-yellow {
                .your-impact__chart_legend-data {
                    background-color: #FEC228;
                }
                .your-impact__chart_legend-download {
                    background-color: #FEC228;
                }
            }

            &.bg-red {
                .your-impact__chart_legend-data {
                    background-color: #FF6F6F;
                }
                .your-impact__chart_legend-download {
                    background-color: #FF6F6F;
                }
            }

            .your-impact__chart_legend-data {
                border-radius: 30px 0 0 30px;
                width: 225px;
                padding: 16px 8px 14px 16px;
            }

            .your-impact__chart_legend-data-label {
                padding-right: 8px;
            }

            .your-impact__chart_legend-data-value {
                border-left: 2px solid #000;
                padding-left: 8px;
                /* padding-right: 8px; */
                width: 75px;
            }

            .your-impact__chart_legend-download {
                border-radius: 0 30px 30px 0;
                border-left: 1px solid #fff;
                padding: 14px 16px 14px 12px;
            }
        }

        .your-impact__restored_biodiversity_legend-subtitle {
            padding-left: 19px;
            margin-bottom: 17px;
        }
    }

    /* Section : Your climate influence */

    .your-climate-influence-wrapper {
        display: flex;
        max-width: 920px;
        margin-bottom: 32px;

        .your-climate-influence__sponsored-stats-container {
            display: flex;
            flex-direction: column;
            gap: 32px;
            padding-right: 32px;
            border-right: 1px solid #000;

            .your-climate-influence__sponsored-stats-item {
                display: flex;
                align-items: center;
            }

            .your-climate-influence__sponsored-stats-item-icon {
                padding-right: 19px;
                border-right: 1px solid #000;
            }

            .your-climate-influence__sponsored-stats-item-data {
                display: flex;
                flex-direction: column;
                padding-left: 19px;

                .your-climate-influence__sponsored-stats-item-value {
                    font-size: 32px;
                    line-height: 37.5px;
                }

                .your-climate-influence__sponsored-stats-item-label {
                    font-size: 16px;
                    line-height: 18.75px;
                }
            }
        }

        .your-climate-influence__sponsored_chart_container {
            display: flex;
            align-items: center;
            padding-left: 32px;

            .your-climate-influence__chart_legend-item {
                display: flex;
                align-items: center;
                font-size: 14px;
                line-height: 16.41px;
                margin-bottom: 8px;
    
                &.bg-green {
                    .your-climate-influence__chart_legend-data {
                        background-color: #28FE9C;
                    }
                    .your-climate-influence__chart_legend-download {
                        background-color: #28FE9C;
                    }
                }
    
                &.bg-blue {
                    .your-climate-influence__chart_legend-data {
                        background-color: #00A1F9;
                    }
                    .your-climate-influence__chart_legend-download {
                        background-color: #00A1F9;
                    }
                }
    
                .your-climate-influence__chart_legend-data {
                    border-radius: 16px 0 0 16px;
                    min-width: 176px;
                    min-height: 36px;
                    padding: 9px 8px 9px 23px;
                }
    
                .your-climate-influence__chart_legend-data-label {
                    padding-right: 8px;
                }
    
                .your-climate-influence__chart_legend-data-value {
                    border-left: 2px solid #000;
                    padding-left: 8px;
                }
    
                .your-climate-influence__chart_legend-download {
                    border-radius: 0 16px 16px 0;
                    border-left: 1px solid #fff;
                    padding: 8px 9px 8px 7px;
                }

                .your-climate-influence__chart_legend-download-icon {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        .your-climate-influence__sponsored_chart {
            position: relative;
            height: 210px;
            width: 210px;
            margin-right: 19px;
        }
    }

    /* Section : Your supported projects */
    .your-supported-projects-container {
        display: flex;
        flex-flow: row wrap;
        gap: 32px;
        margin-bottom: 32px;

        .your-supported-projects-container__project-item {
            width: 160px;
            height: 160px;
        }

        .your-supported-projects-container__project-item-img {
            width: 100%;
            border-radius: 240px;
        }
    }

    /* Section : Footer */
    .climate-profile-footer {
        margin-top: 42px;
    }

    /* Section : Project Modal */
    .csc-modal-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #222;
        position: relative;
        height: 100vh;
    }
      
      
    .csc-modal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.4rem;
        width: 47.5%;
        min-width: 800px;
        padding: 1.3rem;
        min-height: 250px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 15px;
        z-index: 10001;
    }
      
    .csc-modal .flex {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
      
    .csc-modal-open-btn {
        cursor: pointer;
    }
      
    .csc-modal-close-btn-container {
        margin-bottom: -20px;
    }
      
    .csc-modal-close-btn {
        transform: translate(10px, -20px);
        padding: 5px 8px;
        margin: 10px 5px 0;
        background: #1C274C;
        color: #fff;
        border-radius: 50%;
    }
      
    .csc-modal-overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(1px);
        z-index: 10000;
    }
      
    .csc-hidden {
        display: none;
    }
      
    .csc-modal-header {
        display: flex;
        gap: 10px;
        align-items: center;
        padding-bottom: 16px;
        border-bottom: 1px solid #000;
    }
      
    .csc-modal-project-img-container {
        width: 60px;
        height: 60px;
    }
      
    .csc-modal-project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
      
    .csc-modal-project-title {
        color: #00A0F7;
        font-size: 32px;
        line-height: 37.5px;
        margin: 0;
        padding: 0;
    }
      
    .csc-modal-project-subtitle {
        color: #000;
        font-size: 15px;
        line-height: 17.58px;
        margin: 0;
        padding: 0;
    }
      
    .csc-modal-content {
        display: flex;
        gap: 32px;
        padding-top: 16px;
    }

    .csc-modal-content-left {
        width: 45%;
    }

    .csc-modal-content-right {
        max-width: 50%;
    }
      
    .csc-modal-project-featured-img-container {
        width: 100%;
        height: 80%;
    }
      
    .csc-modal-project-featured-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
      
    .csc-modal-project-description__item {
        font-size: 20px;
        margin-bottom: 12px;
        color: #000;
    }

}

@media screen and (max-width: 767px) {
    .csc-my-account-climate-profile {
        margin-bottom: 72px !important;
        padding: 0 10px !important;

        .page-header h1 {
            font-size: 32px;
            line-height: 37.5px;
            margin-bottom: 16px;
        }

        .csc-climate-profile-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

        .csc-climate-profile-form__personal-infos {
            flex-direction: column;
            padding: 0;
    
            .form-group {
                max-width: 100%;
            }
        }
    
        .csc-climate-profile-form__personal-infos-item {
            width: 100%;
        }

        .csc-climate-profile-form__personal-infos-left {
            padding-right: 0;
            border-right: 0;
            border-bottom: 1px solid #000;
        }

        .csc-climate-profile-form__personal-infos-right {
            flex-direction: column;
            align-items: center;
            padding-left: 0;
            padding-top: 32px;
        }

        .csc-climate-profile-header__publish-profile-wrapper,
        .csc-climate-profile-personal-infos__publish_picture-wrapper {
            justify-content: flex-start;
            padding: 16px 0;
        }

        .csc-form-group-wrapper {
            flex-direction: column;

            .form-group:last-of-type {
                margin-bottom: 0 !important;
            }

            .csc-climate-profile-switcher {
                padding: 0;
                margin-bottom: 26px;
            }

            .csc-form-group-wrapper__right {
                align-self: flex-end;
            }
        }

        .your-impact__chart_legend,
        .your-climate-influence__chart_legend {
            display: none;
        }

        .your-impact-chart-wrapper {
            flex-direction: column;
            align-items: center;
            gap: 65px;

            .your-impact__sequestered_co2_chart_container {
                padding-right: 0;
                border: 0;
            }

            .your-impact__sequestered_co2_chart,
            .your-impact__restored_biodiversity_chart {
                margin-right: 0;
            }

            

            .your-impact__restored_biodiversity_chart_container {
                padding-left: 0;
            }
        }

        
        .your-climate-influence-wrapper {
            flex-direction: column;
            gap: 32px;

            .your-climate-influence__sponsored-stats-container {
                padding-right: 0;
                border-right: 0;
            }

            .your-climate-influence__sponsored_chart_container {
                justify-content: center;
            }
        }

        .csc-modal {
            width: 95%;
            min-width: 95%;
        }

        .csc-modal-content {
            flex-direction: column;
        }

        .csc-modal-content-left {
            width: 100%;
        }
    
        .csc-modal-content-right {
            max-width: 100%;
        }

    }
}

@media screen and (min-width: 1440px) {
    .csc-my-account-climate-profile {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
}

.chart-container {
    position: relative;
    margin: auto;
    height: 400px;
    width: 400px;
}