:host {
    display: flex;
    flex-wrap: wrap;
}

:host ::ng-deep #actions {
    width: 100%;
}

:host ::ng-deep #actions .neu-container-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px;
}

:host ::ng-deep #actions .neu-container-content neu-button {
    margin-left: 20px;
}

.container {
    display: block;
    width: 100%;
}

.container h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
}

.container h2:first-child {
    margin-top: 0px;
}

.container h2 span {
    font-weight: 400;
    font-size: 16px;
}

.container h2 neu-chip {
    display: none;
}

.container .edit .input,
.container .edit .sep,
.container .edit neu-checkbox {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
}

.container .edit neu-input {
    display: block;
    width: fit-content;
}

.container .edit .input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.container neu-button {
    margin-right: 20px;
}

.container neu-accordion,
:host ::ng-deep .container .neu-accordion {
    width: 100%;
}

:host ::ng-deep .container .neu-accordion .neu-expansion-panel-header,
:host ::ng-deep .container .neu-accordion .neu-panel-description {
    display: flex;
    align-items: center;
}

:host ::ng-deep .container .neu-accordion .neu-panel-description > * {
    margin-right: 10px;
}

:host ::ng-deep .container .neu-accordion .neu-expansion-panel:before {
    top: 25px;
}

:host ::ng-deep .container .neu-accordion .neu-panel-description .date {
    display: none;
}

.user {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.user > img {
    border-radius: 100%;
    object-fit: cover;
    width: 100px;
    height: 100px;
    box-shadow: 3px 3px 20px rgba(36, 65, 93, 0.3);
    margin-bottom: 20px;
}

.user > div {
    width: 100%;
}

.user .basic-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user .basic-info h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.user .basic-info h2 i {
    font-size: 16px;
    color: #8d2790;
}

.user .address h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 20px;
}

.user .address .stripe {
    font-weight: 500;
}

:host ::ng-deep .user_subscriptions app-user-subscription {
    margin-bottom: 20px;
    display: block;
    cursor: pointer;
}

:host ::ng-deep .user_subscriptions app-user-subscription:last-child {
    margin-bottom: 0px;
}

:host ::ng-deep .user_subscriptions neu-container .neu-container-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

:host ::ng-deep .user_subscriptions neu-container .neu-container-content img {
    border-radius: 100%;
    object-fit: cover;
    width: 40px;
    height: 40px;
    box-shadow: 1px 1px 10px -2px rgba(36, 65, 93, 0.3);
}

:host ::ng-deep .user_subscriptions neu-container .neu-container-content > * {
    flex-shrink: 0;
    margin-right: 20px;
}

:host ::ng-deep .user_subscriptions neu-container .neu-container-content .username {
    flex-grow: 1;
}

#change-pricing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    z-index: 10;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

#change-pricing neu-container {
    width: 95%;
}

:host ::ng-deep #change-pricing .neu-container {
    box-shadow: unset;
}

:host ::ng-deep #change-pricing .neu-container-content {
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
} 

:host ::ng-deep #change-pricing .neu-container-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

:host ::ng-deep #change-pricing .neu-container-content label {
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

:host ::ng-deep #change-pricing .neu-container-content .buttons {
    margin-top: auto;
    text-align: right;
}

:host ::ng-deep #change-pricing .neu-container-content .buttons neu-button {
    margin-left: 20px;
}

@media screen and (min-width: 992px) {
    .container {
        display: inline-block;
        width: calc(50% - 10px);
    }

    :host ::ng-deep .container > .neu-container > .neu-container-content {
        height: 68vh;
        max-height: 68vh;
    }

    #left {
        margin-right: 10px;
    }

    #right {
        margin-left: 10px;
    }

    .container h2 span {
        font-size: 14px;
    }

    .container h2 neu-chip {
        display: initial;
        margin-left: 20px;
    }

    :host ::ng-deep .container .neu-accordion .neu-panel-description .date {
        display: inline-block;
    }

    .address h3 {
        margin-top: 10px !important;
    }

    .user {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .user > * {
        width: fit-content;
        margin-right: 20px;
    }

    .user img {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
    }

    .user .nif {
        display: none;
    }

    .user .basic-info {
        display: inline-block;
    }

    .user .basic-info p {
        margin: 5px 0;
    }
    
    .user .basic-info h2 {
        font-size: 20px;
    }

    #change-pricing {
        justify-content: center;
    }
    
    #change-pricing neu-container {
        width: 50%;
        max-width: 450px;
    }
    
    :host ::ng-deep #change-pricing .neu-container-content h2 {
        font-size: 20px;
    }

    :host ::ng-deep app-user-subscription .title-graph {
        font-size: 20px;
    }
}

@media screen and (min-width: 1500px) {
    :host ::ng-deep .container > .neu-container > .neu-container-content {
        height: 74vh;
        max-height: 74vh;
    }

    .address h3 {
        margin-top: 0px !important;
    }

    .user {
        flex-direction: row;
    }
    
    .user .nif {
        display: block;
    }
}