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

.input,
.input-xl {
    margin-bottom: 20px;
}

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

@media screen and (min-width: 992px) {
    :host {
        justify-content: center;
    }
    
    .dialog {
        width: 50%;
        max-width: 600px;
    }

    :host ::ng-deep .dialog .neu-container-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    :host ::ng-deep .dialog .neu-container-content h2 {
        display: block;
        font-size: 18px;
        width: 100%;
    }

    .input {
        width: calc(50% - 10px);
    }

    .input-xl {
        width: calc(100% - 10px);
    }

    .input:nth-child(even) {
        margin-left: 10px;
    }

    .input:nth-child(odd) {
        margin-right: 10px;
    }
}