/* Common CSS across webservices */

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.navrail-container {
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 56px;
    box-sizing: border-box;
}

.layout-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--colorNeutralBackgroundLevel0);
}

.layout-header {
    background: var(--colorNeutralBackgroundLevel1);
    flex: 0 0 auto;
}

.content-row {
    flex: 1;
    min-height: 0;
    display: flex;
    overflow: hidden;
}

.main-container {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: auto;
}

.appheader-container {
    --iconVectorFill: var(--colorNeutralForegroundHighEmphasis);
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.appheader-container-item {
    display: flex;
    align-items: center;
}

.appheader-container-item_leading {
    justify-self: flex-start;
}

.app-name {
    margin: 0 0 0 8px;
}

.appheader-container-item_trailing {
    justify-self: flex-end;
    gap: 8px
}

.main-body-container {
    display: flex;
    flex-direction: column;
    background: var(--colorNeutralBackgroundLevel2);
    width: 100%;
}

.workflow-page-layout {
    display: grid;
    grid-template-columns: var(--sizingCustomNavigationWidthXxl) 1fr;
    height: 100%;
    width: 100%;
    min-height: 0;
}

.workflow-main-layout {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: auto;
    display: grid;
    grid-template-columns: var(--sizingCustomNavigationWidthXxl) 1fr;
    height: 100%;
}

.workflow-panel {
    display: flex;
    width: 100%;
    min-width: var(--sizingCustomNavigationWidthXxl);
    height: 100%;
    min-height: 20.5rem;
    flex-direction: column;
    background-color: var(--colorNeutralBackgroundLevel0);
    box-sizing: border-box;
}


.workflow-panel__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    box-sizing: border-box;
}

.workflow-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.workflow-panel__body > tpg-footer {
    margin-top: auto;
}

/* End of common CSS across webservices */


/* CSS reset applied by MudBlazor. This can probably be moved later, but some components may need to be adjusted. */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacingLargeRangeSm);
    padding: var(--spacingLargeRangeMd) var(--spacingLargeRangeSm);
    width: 100%;
    box-sizing: border-box;
}
