﻿body.log-layout, #log-container {
    height: 114vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

#log-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: -10px;
}

#logView {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    min-height: 0;
    min-width: 0;
    height: 100%;
}

#logHistory {
    flex: 0 0 320px;
    max-width: 400px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--v-grey);
    min-height: 0;
}

#logHistory > h1 {
    border-bottom: 1px solid var(--v-grey);
    width: 100%;
    margin: 0;
    padding: 1.15rem;
    text-align: center;
    position: sticky;
    font-size: 1.75rem;
}

#logHistory .badge {
    padding-top: .4rem;
}

#logDetail {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#logDetailHeader {
    flex: 0 0 auto;
    padding: 1rem;
    border-bottom: 1px solid var(--v-grey);
}

#logDetailBody {
    padding-top: .5rem;
    padding-right: 1rem;
}

#logList, #logDetailBody {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.log-textbox {
    background: var(--bs-tertiary-bg);
    border-radius: 3px;
    padding-left: .5rem;
    font-family: monospace;
    overflow-y: auto;
}

.log-exception-container {
    max-height: 40vh !important;
}

.log-message-container {
    max-height: 10vh !important;
}

.log-filter {
    border-top-right-radius: var(--bs-border-radius) !important;
    border-bottom-right-radius: var(--bs-border-radius) !important;
}

.log-details-list {
    display: grid;
    grid-template-columns: 160px 1fr;
    row-gap: 0.25rem;
    column-gap: 1rem;
    margin-bottom: 1.5rem;
}

.log-details-list dt {
    color: var(--v-grey-dark);
    font-weight: bold;
    text-align: right;
}

.log-details-list dd {
    max-height: 15vh;
    margin-bottom: 0.25rem;
}

.log-loader {
    display: none;
    text-align: center;
}
