.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: 440px;
        }
    }

    .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: 920px !important; */
        }

        .csc-climate-profile-switcher {
            padding: 0 16px;
        }
    }

    .csc-form-group-wrapper__left {
        width: 100%;
    }

    .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;
}

@media screen and (max-width: 475px) {
    .your-impact__sequestered_co2_chart_container {
        flex-direction: column;
    }
    .csc-form-group-wrapper__left {
        width: 100% !important;
    }
}

.csc-my-account-climate-profile {

    /* Section : Your supported projects */
    .csc-project-wrapper {
        width: 100%;
        gap: 20px;
        overflow: hidden;
    }

    .csc-card {
        border-radius: 25px;
        filter: drop-shadow(0 0 19px rgba(0,0,0,0.21));
        background-color: #ffffff;
    }

    .csc-project-details {
        width: 31%;
        border-radius: 25px;
        background-color: #ffffff;
        filter: drop-shadow(0 0 19px rgba(0,0,0,0.21));
        overflow: hidden;
        min-width: 250px;
        flex-shrink: 0;
    }

    .csc-project-right-column {
        width: 65%;
        padding: 30px 15px;
    }

    .csc-project-news {
        width: 47%;
        padding-right: 15px;
    }

    .csc-project-contributions {
        width: 52%;
        padding: 0 15px;
        max-height: 400px;
        overflow-y: auto;
    }

    .csc-project-details__img-wrapper {
        height: 250px;
        width: 100%;
    }

    .csc-project-details__thumb-img {
        object-fit: cover;
        object-position: 10% center;
        width: 100%;
        height: 100%;
    }

    .csc-project-details__thematic {
        padding: 7px 20px;
        border-radius: 30px;
    }

    .csc-project-details__thematic-wrapper {
        top: 15px;
        right: 15px;
        gap: 10px;
    }

    .csc-project-details__status-icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .csc-project-details__status-icon-img {
        width: 20px;
        height: 20px;
    }

    .csc-project-details__view-more-wrapper {
        bottom: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        background-color: #ffffff;
        border-radius: 50%;
    }

    .csc-project-details__view-more-img {
        width: 20px;
        height: 20px;
    }

    .csc-project-details__general-infos {
        padding: 25px;
    }

    .csc-project-details__title {
        font-size: 20px;
        color: #000;
    }

    .csc-project-details__short-description {
        font-size: 16px;
        color: #000;
    }

    .csc-project-details__beneficiary,
    .csc-project-details__location {
        font-size: 15px;
    }

    .csc-project-details__beneficiary-img,
    .csc-project-details__location-img {
        width: 30px;
        height: 30px;
        margin-right: 7px;
    }

    .csc-project-details__related-thematics {
        gap: 7px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .csc-project-thematic-tag {
        display: inline-block;
        padding: 1px 10px;
        border: 1px solid #000;
        border-radius: 50px;
        background-color: #fff;
        color: #000;
        text-transform: uppercase;
        font-size: 12px;
    }

    .csc-project-details__section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .csc-project-details__news-list {
        max-height: 330px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .csc-project-details__news-item {
        margin-bottom: 15px;
    }

    .csc-project-details__news-item-description {
        font-size: 16px;
        color: #000;
        margin-bottom: 0;
    }

    .csc-project-details__news-item-date {
        font-size: 14px;
        color: #000;
        margin-bottom: 0;
    }

    .csc-project-details__contributions-list {
        /* max-height: 330px; */
        overflow-y: auto;
        padding-right: 10px;
    }

    .csc-project-details__contributions-item {
        gap: 10px;
        margin-bottom: 20px;
    }

    .csc-project-details__contributions-item-profile-img-wrapper {
        background-color: #fff;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        overflow: hidden;
    }

    .csc-project-details__contributions-item-profile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .csc-project-details__contributions-item-customer {
        font-size: 14px;
        color: #000;
        margin-bottom: 0;
    }

    .csc-project-details__contributions-item-date {
        font-size: 12px;
        text-transform: uppercase;
        color: #cccccc;
        margin-bottom: 0;
    }

    .csc-project-details__contributions-item-content-amount-text {
        font-size: 18px;
        color: #000;
    }

    .csc-project-details__contributions-item-content-amount-highlight {
        color: #38a2f3;
    }

    .csc-project-details__contributions-item-content-container{
        width : 100%;
    }

    .csc-speech-bubble-mcp {
        position: relative;
        padding: 8px 20px;
        margin-left: -10px;
        color: #000;
        background: #fdf9e9;
        border-radius: 30px;
    }

    .csc-speech-bubble {
        position: relative;
        padding: 8px 20px;
        margin-left: -10px;
        color: #000;
        background: #fdf9e9;
        border-radius: 30px;
    }
      
    .csc-speech-bubble:before {
        content: "";
        position: absolute;
        z-index:-1;
        left: -22px;
        top: 0;
        width: 40px;
        border-bottom: 35px solid #fdf9e9;
        border-top-right-radius: 25px;
    }
      
    .csc-speech-bubble:after {
        content: "";
        position: absolute;
        z-index:-1;
        left: -28px;
        top: -3px;
        height: 38px;
        width: 28px;
        background: #fff;
        border-top-right-radius: 20px;
    }

    .csc-project-details__contributions-item-content-message {
        font-size: 14px;
        color: #000;
    }

    
    .csc-project-right-column-bottom {
        margin-top: auto;
    }

    .csc-project-contributors-tags-container {
        background-color: #fafafb;
        border-radius: 20px;
        padding: 20px 15px;
        margin-top: 20px;
    }

    .csc-project-contributors-tags-wrapper {
        width: 100%;
        overflow: auto;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .csc-project-contributors-tags-item {
        padding: 5px 15px 5px 5px;
        background-color: #cecece;
        border-radius: 50px;
        gap: 10px;
        flex-shrink: 0;
    }
    
    .csc-project-details__contributor-name {
        font-size: 14px;
        color: #fff;
    }

    .csc-project-collect-status-container {
        margin-top: 25px;
    }

    .csc-project-collect-status__title {
        font-size: 12px;
        color: #000;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .csc-project-collect-status__wrapper {
        gap: 15px;
    }

    .csc-project-collect-status__tag {
        font-size: 12px;
        color: #000;
        background-color: #3fe8a6;
        border-radius: 50px;
        text-transform: uppercase;
        padding: 3px 23px;
        min-width: 150px;
    }

    .csc-project-collect-status__progress {
        width: 75%;
    }

    .csc-progress-bar {
        display: flex;
        border-radius: 50px;
        background-color: #d9d9d9;
        overflow: hidden;
        position: relative;
    }

    .csc-progress-bar-fill {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 12px;
        color: #000;
        background: linear-gradient(90deg, #11A9EE 0%, #28FF9D 100%);
        white-space: nowrap;
        overflow: auto;
    }

    .csc-progress-bar-fill-text {
        padding: 0 12px;
    }

    .csc-progress-bar-target-text {
        font-size: 12px;
        color: #000;
        position: absolute;
        right: 15px;
        height: 100%;
    }

}

@media screen and (max-width: 767px) {
    .csc-my-account-climate-profile {
        .csc-project-details {
            width: 100%;
        }

        .csc-project-right-column {
            width: 100%;
        }
    
        .csc-project-news {
            width: 100%;
            margin-bottom: 30px;
        }
    
        .csc-project-contributions {
            width: 100%;
            margin-bottom: 30px;
        }

        .csc-project-collect-status__wrapper {
            flex-direction: column;
        }

        .csc-project-collect-status__tag {
            width: 100%;
        }

        .csc-project-collect-status__progress {
            width: 100%;
            min-height: 25px;
        }
    }
}