.content {
    min-width: 50px;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--color_dark_40);
    border-top: none;
    background: white;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font: var(--default-font);
}

.content > div {
    flex: 1 1 auto;
    border: 1px solid var(--color_dark_80);
    overflow: auto;
}

.content input {
    margin: 8px;
}

.editor .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.editor .container .edit-area {
    flex-shrink: 1000;
    flex-grow: 1000;
}

.outline ul {
    padding-left: 1em;
    list-style-type: none;
}

.outline .outline-tree {
    margin: 4px;
}

.outline .outline-tree {
    padding-left: 4px;
}

.outline .outline-element {
    margin: 0;
    padding: 2px;
    width: 100%;
    display: block;
}

.outline .outline-element > span {
    display: block;
    user-select: none;
}

.outline .kind-class.outline-element span:before {
    font-family: "FontAwesome";
    content: "\f1b2 ";
    padding: 2px;
}

.outline .kind-struct.outline-element span:before {
    font-family: "FontAwesome";
    content: "\f0f2 ";
    padding: 2px;
}

.outline .outline-element .active {
    background: var(--highlight-bg);
    color: var(--highlight-fg);
}

.preview-container {
    padding: 0px;
}

.properties-editor .element-header {
    background: var(--highlight-bg);
    color: var(--highlight-fg);
    font-size: 140%;
    font-weight: bold;

    width: 100%;
    height: 50px;
}

.properties-editor .name-column {
    white-space: nowrap;
}

.properties-editor .value-column {
    width: 100%;
}

.properties-editor .value-column-content {
    display: flex;
}

.properties-editor .properties-table {
    width: 100%;
}

.properties-editor .properties-table .group-header td {
    background-color: var(--highlight-bg);
    color: var(--highlight-fg);
    font-weight: bold;
}

.properties-editor .properties-table .undefined {
    background-color: var(--undefined-bg);
    color: var(--undefined-fg);
}

.properties-editor .properties-table input {
    margin: 0px;
    border: none;
    width: 100%;
}

.properties-editor .properties-table input.value-changed {
    color: var(--error-bg);
}

.welcome > div {
    padding: 1ex;
}

.dialog {
    font: var(--default-font);
    padding: 0px;
}

.dialog .dialog_content {
    padding: 5px;
}

.dialog .titlebar {
    border-bottom: 1px solid black;
    text-align: right;
}

.dialog .titlebar .close_button {
    padding: 5px;
}

.dialog .button_row {
    padding: 5px;
    margin-top: 10px;
    text-align: center;
}

.dialog.report_export_url .url {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dialog.report_export_url .copy_url {
    margin-left: 5px;
    padding: 5px;
}

.dialog.report_export_url .url .url_text {
    font-family: monospace;
    overflow-wrap: anywhere;
}

.dialog.manage_github_dialog .description_area {
    width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
}

.dialog.manage_github_dialog .current_state {
    display: flex;
}

.dialog.manage_github_dialog .current_state .forget.button {
    width: 100%;
}

.dialog.manage_github_dialog .current_state input {
    flex: 3 1 0;
}

.dialog.manage_github_dialog .current_state input + span {
    padding-right: 30px;
}

.dialog.manage_github_dialog .current_state input:invalid + span::after {
    position: absolute;
    content: "✖";
    padding-left: 5px;
}

.dialog.manage_github_dialog .current_state input:valid + span::after {
    position: absolute;
    content: "✓";
    padding-left: 5px;
}

.dialog.about_dialog .slint-logo-link {
    display: inline-block;
}
