:host {
    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;
}

.dialog {
    width: 95%;
}

:host ::ng-deep .dialog .neu-container {
    box-shadow: unset;
}

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

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

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

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

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

neu-autocomplete,
:host ::ng-deep neu-autocomplete .neu-autocomplete,
:host ::ng-deep .neu-autocomplete .neu-input {
    width: 100%;
}

.section {
    margin-bottom: 30px;
}

.extra {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.section .extra:last-child {
    margin-bottom: unset;
}

.extra neu-input,
.extra neu-select {
    margin-left: 20px;
    flex-grow: 1;
}

@media screen and (min-width: 992px) {
    :host {
        justify-content: center;
    }
    
    .dialog {
        width: 50%;
        max-width: 450px;
    }
    
    :host ::ng-deep .dialog .neu-container-content h2 {
        font-size: 18px;
    }
}