.demopress-group-cleanup {
    p:last-of-type {
        border-bottom: 1px solid #DDD;
        padding-bottom: 10px;
    }
}

.d4p-generator-control {
    .d4p-group {
        .demopress-is-hidden {
            display: none;
        }

        &.demopress-type-settings-hidden {
            .d4p-settings-section {
                &:first-child {
                    margin: 0;
                }

                &:not(:first-child) {
                    display: none;
                }
            }
        }

        .d4p-settings-section {
            &.demopress-type-section-hidden {
                table {
                    tr {
                        &:not(:first-child) {
                            display: none;
                        }
                    }
                }
            }
        }
    }
}

.d4p-generator-status {
    .demopress-generator-panel {
        max-width: 800px;
        width: 100%;

        .demopress-gen-loader {
            visibility: hidden;
        }

        .demopress-gen-header {
            margin: 0 0 15px;
            padding: 0 0 15px;
            border-bottom: 2px solid #888;
        }

        .demopress-gen-status {
            margin: 5px 0 15px 0;
            padding: 0 0 15px;
            border-bottom: 2px solid #888;

            pre {
                max-height: 360px;
                overflow: auto;
                margin: 0;
            }
        }
    }
}
