.plan,
.plan.vertical {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: auto;
    width: 100%;
    padding: 20px;
}

#title-plan,
.plan.vertical #title-plan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

#title-plan .your-plan,
.plan.vertical #title-plan .your-plan {
    font-size: 18px;
    margin-bottom: 5px;
}

#title-plan h2,
.plan.vertical #title-plan h2 {
    font-size: 27px;
    font-weight: 500;
    margin: 5px;
    text-align: center;
    display: block;
    width: 100%;
    color: #8d2790;
    background: linear-gradient(135deg, hsl(298, 57%, 26%) -20%, hsl(298, 57%, 46%) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:host ::ng-deep #title-plan  ngx-charts-pie-grid  ngx-charts-chart  div  svg  g  g  text.label.percent-label.ng-star-inserted,
:host ::ng-deep .plan.vertical #title-plan  ngx-charts-pie-grid  ngx-charts-chart  div  svg  g  g  text.label.percent-label.ng-star-inserted {
    transform: translate(0px, 13px);
    font-size: 20px;
    color: #8d2790;
    background: linear-gradient(135deg, hsl(298, 57%, 26%) -20%, hsl(298, 57%, 46%) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:host ::ng-deep #title-plan ngx-charts-pie-grid ngx-charts-chart div svg g g text:nth-child(3),
:host ::ng-deep #title-plan ngx-charts-pie-grid ngx-charts-chart div svg g g text:nth-child(4),
:host ::ng-deep .plan.vertical #title-plan ngx-charts-pie-grid ngx-charts-chart div svg g g text:nth-child(3),
:host ::ng-deep .plan.vertical #title-plan ngx-charts-pie-grid ngx-charts-chart div svg g g text:nth-child(4) { 
    display: none;
}

#current-use,
.plan.vertical #current-use {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 250px;
    width: 100%;
    padding: 0 20px;
}

.current-use-column,
.plan.vertical .current-use-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 175px;
    width: 100%;
}

.current-use-column .row,
.plan.vertical .current-use-column .row {
    display: block;
}

.current-use-column .row .row-title,
.plan.vertical .current-use-column .row .row-title {
    display: block;
    margin-bottom: 5px;
}

.current-use-column .row div,
.plan.vertical .current-use-column .row div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    width: 100%;
}

.current-use-column .row div .detail-info,
.plan.vertical .current-use-column .row div .detail-info {
    margin-left: 15px;
}

:host ::ng-deep .mat-progress-bar-fill::after,
:host ::ng-deep .plan.vertical .mat-progress-bar-fill::after {
    background-image: linear-gradient(to left, #8B278F, #BD34C2);
}

:host ::ng-deep .mat-progress-bar-buffer,
:host ::ng-deep .plan.vertical .mat-progress-bar-buffer {
    background: #E4E8EB;
}

:host ::ng-deep .mat-progress-bar,
:host ::ng-deep  .plan.vertical .mat-progress-bar {
    border-radius: 10px;
    height: 12px !important;
    background-image: linear-gradient(135deg, #E5E6EC -50%, #F2F3F6 120%);
}

.options {
    display: none;
}


/* MEDIA CONDITIONS */
@media screen and (min-width: 768px) {
    .plan {
        flex-direction: row;
        align-items: center;
    }

    #title-plan{
        margin-bottom: -30px;
        width: 30%;
    }

    #current-use {
        height: 90%;
        width: 70%;
        margin-top: unset;
    }
    
    .current-use-column {
        height: 50%;
        width: 70%;
    }

    .options {
        margin-top: -10px;
        display: block;
        width: 100%;
        margin-bottom: 50px;
    }
    
    .options neu-button {
        display: block;
        margin-bottom: 10px;
    }

}

@media screen and (min-width: 992px) {
    
    #current-use {
        flex-direction: row;
    }
    
    .current-use-column {
        height: 75%;
    }

    .plan:not(.vertical) #current-use .current-use-column:nth-child(odd) {
        margin-right: 20px;
    }

    .plan:not(.vertical) #current-use .current-use-column:nth-child(even) {
        margin-left: 20px;
    }

    .plan:not(.vertical) .current-use-column .row:first-child {
        margin-bottom: 20px;
    }

    /* .plan {
        height: 100%;
    }

    #title-plan {
        margin-top: 20px
    }

    #current-use {
        margin-bottom: 20px;
    } */
}