html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    font-family: Arial, sans-serif;
}

html {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px;
    overflow: auto;
}

body {
    padding: 0;
    overflow: auto;
    background: #121925;
    color: white;
}

a {
    text-decoration: none;
    color: #fff;
}

.top-nav {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 64px;
    height: 64px;
    background: #2b3340;
}

.top-nav .app {
    display: inline;
    vertical-align:top;
}

.top-nav .app .icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin: 8px;
}

.top-nav .app .name {
    display: inline-block;
    vertical-align: top;
    margin-top: 24px;
}

.top-nav .separator {
    display: inline-block;
    vertical-align: top;
    border-left: 2px solid #515761;
    height: 32px;
    margin: 16px;
}

.top-nav .menu {
    display: inline-block;
    vertical-align:top;
    height: 100%;
    margin-right: 32px;
    position: relative;
}

.top-nav .menu .dropdown {
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: 100%;
}

.top-nav .menu .dropdown .label {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

.top-nav .menu .dropdown .label:hover,
.top-nav .menu .dropdown .label:active {
    background: #445;
}

.top-nav .menu .dropdown .label.selected {
    background: #1f2836;
}

.top-nav .menu .dropdown .content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background-color: #121925;
    border: 1px solid #445;
    border-radius: 6px;
    min-width: 160px;
    z-index: 1000;
    padding: 4px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.top-nav .menu .dropdown:hover .content,
.top-nav .menu .dropdown:focus-within .content {
    display: block;
}

.top-nav .menu .dropdown .content a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
}

.top-nav .menu .dropdown .content a:hover,
.top-nav .menu .dropdown .content a:active {
    background: #445;
}

.top-nav .menu a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    text-decoration: none;
    color: #fff;
}

.top-nav .menu .selected {
    background: #1f2836;
}

.top-nav .menu a:hover, .top-nav .menu a:active {
    background: #445;
}

.top-nav .user {
    display: inline-block;
    margin-top: 24px;
    margin-right: 12px;
    float: right;
}

.content-panel {
    padding: 10px;
    margin-top: 64px;
}

progress {
    width: 50px;
    height: 20px;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

input, select {
    background-color: #1f2836;
    border-radius: 4px;
    border: 1px solid #445;
    padding: 8px 4px 8px 4px;;
    margin: 2px;
    color: #fff;
    outline: none;
    font-size: 14px;
}

input:focus {
    outline: none;
}

label {
    font-size: small;
    color: #ccd;
}

.button-group {
    padding: 4px;
    display: block;
}

.boolean-input {
    width: 100px;
    margin: 10px;
}

.numeric-input {
    font-size: calc(var(--ag-font-size) + 1px);
    padding-left: calc(var(--ag-cell-horizontal-padding) - 1px);
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.editable-enum-wrapper {
    display: inline;
    position: relative;
}

.options-filter-input {
    width: 100%;
}

.options-popup {
    width: 200px;
    display: none;
    z-index: 9;
    border-radius: 4px;
    background-color: #121925;
    margin-top: 2px;
    padding: 4px;
    position: fixed;
}

.panel-with-border {
    border-radius: 10px;
    border: 1px solid #445;
    padding: 10px;
    margin-bottom: 10px;
}

.container-grid-2 {
    display: grid;
    grid-template-columns: auto auto;
}

.container-grid-3 {
    display: grid;
    grid-template-columns: auto auto auto;
}

.container-grid-4 {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.input-with-label {
    padding: 4px;
    padding-left: 400px;
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: end;
}

.input-with-label label {
    width: 390px;
    margin: 0px 0px 2px -400px;
    padding-bottom: 4px;
    float: left;
    text-overflow: ellipsis;
    border-bottom: 1px dotted #445;
}

.input-with-label div {
    width: 98%;
}

.input-with-label input, .input-with-label select {
    width: -webkit-fill-available;
    display: block;
}

.value-with-label {
    padding: 4px;
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.value-with-label .label {
    font-size: small;
    border-top: 1px dotted #445;
    color: #ccd;
    margin-top: 4px;
    padding-top: 4px;
    min-height: 16px;
}

.value-with-label .value {
    font-size: medium;
    min-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.value-with-label input, .value-with-label select {
    width: -webkit-fill-available;
}

.multiline-tooltip {
    white-space: pre-wrap;
    background-color: #2b3340;
    border-radius: 10px;
    border: 1px solid #445;
    padding: 8px;
}

.cell-link {
    text-decoration: underline;
}