:root{
    --background-t-color-10: rgba(0,0,0,0.10);
    --background-t-color-25: rgba(0,0,0,0.25);
    --background-t-color-33: rgba(0,0,0,0.33);
    --background-t-color-50: rgba(0,0,0,0.50);
    --background-t-color-75: rgba(0,0,0,0.75);
    --background-t-color-90: rgba(0,0,0,0.90);
    --backgroud-color: rgb(39, 39, 47);
    --background-glass: blur(10px);
    --height: 0;
    --width: 0;
    --c-c: yellow;
}

html, body{
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
}

.main-layout{
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
    display: flex;
}

.flex-full-height{
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
}

.flex-0{
    flex: 0 !important;
}

.stretch{
    align-self: stretch;
}

.add-button{
    font-size: 32px;
}

.custom-size{
    width: var(--width);
    height: var(--height);
}

.flex-auto-height{
    min-height: 0;
}

.flex-auto-width{
    min-width: 0;
}

.list-entry{
    display: flex;
    flex-direction: column;
    justify-content: stretch;

    gap: 8px;
    
    padding: 8px;
    background: var(--background-t-color-25);
    border-radius: 8px;
}

.list-entry:not(.read-only):hover{
    background: var(--mud-palette-primary-hover);
    outline: 1px solid var(--mud-palette-primary);
}

.list-entry.selected{
    outline: 1px solid var(--mud-palette-primary);
}

.localized-untranslated .mud-input-helper-text {
    color: var(--mud-palette-warning-darken);
}

.localized-untranslated .mud-input-outlined fieldset {
    border-color: var(--mud-palette-warning);
    border-width: 1px;
}

.custom-color{
    color: var(--c-c) !important;
    currentColor: var(--c-c) !important;
}

.field-label{
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 3px;
    color: var(--mud-palette-text-secondary);
}

.field-label-row{
    margin-bottom: 0;
    white-space: nowrap;
}

.switch-compact{
    transform: scale(0.7);
    transform-origin: left center;
}

.graph-node{
    position: relative;
    border-radius: 8px;
    background: var(--background-t-color-25);
    outline: 1px solid var(--background-t-color-50);
    transition: outline 0.2s ease-in-out, background 0.2s ease-in-out;
}

.graph-node:hover{
    outline: 1px solid var(--mud-palette-primary);
}

.selected .graph-node{
    background: var(--mud-palette-tertiary-hover);
    outline: 1px solid var(--mud-palette-tertiary);
}

.selected .graph-node:hover{
    background: var(--mud-palette-primary-hover);
    outline: 1px solid var(--mud-palette-primary);
}