* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #232323;
    color: ghostwhite;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    height: 100vh;
}

#content {
    display: grid;
    grid-template-columns: 10% 1fr;
    grid-template-rows: 80vh;
    grid-gap: 20px;
    height: 90vh;
}



h2 {
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 40px;
}

#login {
    height: min(80vh,100%);
    display: grid;
    grid-template-areas:
    ". . ."
    ". content . "
    ". . .";
    grid-template-columns: auto 450px auto;
    grid-template-rows: auto 500px auto;
}

#inner-login {
    grid-area: content;
    border: 1px dashed ghostwhite;

    display: flex;
    flex-direction: column;

    align-items: center;
    padding-top: 40px;
}

.text-field {
    position: relative;
    margin: 0 30px 20px 20px;
    padding-left: 10%;
    padding-right: 10%;
    height: 40px;
    width: 80%;
}

.text-field input {
    background: #232323;
    color: ghostwhite;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 10px 5px 5px;
    width: 100%;
    border: 1px dashed ghostwhite;
    height: 50px;
    font-size: 16px;
}


.text-field label {
    color: ghostwhite;
    position: absolute;
    pointer-events: none;
    left: 50px;
    top: 15px;
    transition: 0.2s;
}

.text-field input:focus ~ label,
.text-field input:valid ~ label {
    top: -10px;
    left: 50px;
    font-size: small;
    color: ghostwhite;
    background-color: #232323;
    padding: 0 5px 0 5px;
}

.error-text {
    display: none;
    color: red;
    margin: 10px 0 20px 0;
}

.button {
    background: #232323;
    font-size: 16px;
    color: ghostwhite;
    border: 1px dashed ghostwhite;
    text-align: center;
    width: 140px;
    height: 36px;
    line-height: 24px;
    cursor: pointer;
    align-self: end;
    margin-right: 10%;
}



aside {
    padding:5px;
    display: flex;
    flex-direction: column;
}
aside span {
    padding: 5px;
}

aside form {
    padding: 5px;
    margin-top:20px;
}

aside form select {
    width: 100%;
}

aside a {
    line-height: 20px;
    padding-left: 5px;
}

article {
    height: 100%;
}

header, footer {
    font-size: 20px;
    padding: 5px;
    text-align: center;
    height: 4.5vh;
}
.filter-field {
    margin-top: 20px;
}

.filter-field label {
    color: ghostwhite;
    pointer-events: none;
    left: 50px;
    top: 15px;
    transition: 0.2s;
}

.filter-field select {
    background: #232323;
    color: ghostwhite;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 10px 5px 5px;
    width: 100%;
    border: 1px dashed ghostwhite;
    height: 50px;
    font-size: 16px;
}



a {
    color: aliceblue;
}
td a{
    color: inherit;
}
#table-wrapper {
    max-height: 90vh;
    overflow: auto;
}

#message-grid {
    max-height: 90vh;
    overflow: auto;
}

th.message {
    max-width: 10%;
}

th.time {
    width: 10%
}

/*!* Target the first column for example *!*/
/*table th:nth-child(5), table td:nth-child(5) {*/
/*    max-width: 300px; !* Set the maximum width for the column *!*/
/*    overflow-x: auto; !* Enable horizontal scrolling *!*/
/*    white-space: nowrap; !* Prevent text from wrapping to ensure horizontal scrolling *!*/
/*    display: block; !* Change display to block to apply overflow properties *!*/
/*}*/

/*th.server, th.level, th.action, th.browser_id, th.message_id {*/
/*    width: 5%*/
/*}*/

th {
    /* Apply both top and bottom borders to the <th> */
    border-top: 1px solid #484848;
    border-bottom: 1px solid #484848;
    border-right: 1px solid #484848;
}

td {
    /* For cells, apply the border to one of each side only (right but not left, bottom but not top) */
    white-space: nowrap;
    border-bottom: 1px solid #484848;
    border-right: 1px solid #484848;
}

table th:first-child,
table td:first-child {
    /* Apply a left border on the first <td> or <th> in a row */
    border-left: 1px solid #484848;
}

thead th {
    background: #232323;
    position: sticky;
    top: 0;
}

th {
    padding: 5px;
    text-align: left;
    vertical-align: baseline;
    white-space: nowrap;
}

td {
    padding: 1px 5px 1px 1px;
}

/* PreWrapper */ .chroma { color: #abb2bf;}
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #3d4148 }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #55595f }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #55595f }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #c678dd }
/* KeywordConstant */ .chroma .kc { color: #e5c07b }
/* KeywordDeclaration */ .chroma .kd { color: #c678dd }
/* KeywordNamespace */ .chroma .kn { color: #c678dd }
/* KeywordPseudo */ .chroma .kp { color: #c678dd }
/* KeywordReserved */ .chroma .kr { color: #c678dd }
/* KeywordType */ .chroma .kt { color: #e5c07b }
/* Name */ .chroma .n { color: #e06c75 }
/* NameAttribute */ .chroma .na { color: #e06c75 }
/* NameClass */ .chroma .nc { color: #e5c07b }
/* NameConstant */ .chroma .no { color: #e06c75 }
/* NameDecorator */ .chroma .nd { color: #61afef }
/* NameEntity */ .chroma .ni { color: #e06c75 }
/* NameException */ .chroma .ne { color: #e06c75 }
/* NameLabel */ .chroma .nl { color: #e06c75 }
/* NameNamespace */ .chroma .nn { color: #e06c75 }
/* NameOther */ .chroma .nx { color: #e06c75 }
/* NameProperty */ .chroma .py { color: #e06c75 }
/* NameTag */ .chroma .nt { color: #e06c75 }
/* NameBuiltin */ .chroma .nb { color: #e5c07b }
/* NameBuiltinPseudo */ .chroma .bp { color: #e5c07b }
/* NameVariable */ .chroma .nv { color: #e06c75 }
/* NameVariableClass */ .chroma .vc { color: #e06c75 }
/* NameVariableGlobal */ .chroma .vg { color: #e06c75 }
/* NameVariableInstance */ .chroma .vi { color: #e06c75 }
/* NameVariableMagic */ .chroma .vm { color: #e06c75 }
/* NameFunction */ .chroma .nf { color: #61afef; font-weight: bold }
/* NameFunctionMagic */ .chroma .fm { color: #56b6c2; font-weight: bold }
/* LiteralString */ .chroma .s { color: #98c379 }
/* LiteralStringAffix */ .chroma .sa { color: #98c379 }
/* LiteralStringBacktick */ .chroma .sb { color: #98c379 }
/* LiteralStringChar */ .chroma .sc { color: #98c379 }
/* LiteralStringDelimiter */ .chroma .dl { color: #98c379 }
/* LiteralStringDoc */ .chroma .sd { color: #98c379 }
/* LiteralStringDouble */ .chroma .s2 { color: #98c379 }
/* LiteralStringEscape */ .chroma .se { color: #98c379 }
/* LiteralStringHeredoc */ .chroma .sh { color: #98c379 }
/* LiteralStringInterpol */ .chroma .si { color: #98c379 }
/* LiteralStringOther */ .chroma .sx { color: #98c379 }
/* LiteralStringRegex */ .chroma .sr { color: #98c379 }
/* LiteralStringSingle */ .chroma .s1 { color: #98c379 }
/* LiteralStringSymbol */ .chroma .ss { color: #98c379 }
/* LiteralNumber */ .chroma .m { color: #d19a66 }
/* LiteralNumberBin */ .chroma .mb { color: #d19a66 }
/* LiteralNumberFloat */ .chroma .mf { color: #d19a66 }
/* LiteralNumberHex */ .chroma .mh { color: #d19a66 }
/* LiteralNumberInteger */ .chroma .mi { color: #d19a66 }
/* LiteralNumberIntegerLong */ .chroma .il { color: #d19a66 }
/* LiteralNumberOct */ .chroma .mo { color: #d19a66 }
/* Operator */ .chroma .o { color: #56b6c2 }
/* OperatorWord */ .chroma .ow { color: #56b6c2 }
/* Comment */ .chroma .c { color: #7f848e }
/* CommentHashbang */ .chroma .ch { color: #7f848e }
/* CommentMultiline */ .chroma .cm { color: #7f848e }
/* CommentSingle */ .chroma .c1 { color: #7f848e }
/* CommentSpecial */ .chroma .cs { color: #7f848e }
/* CommentPreproc */ .chroma .cp { color: #7f848e }
/* CommentPreprocFile */ .chroma .cpf { color: #7f848e }
/* GenericDeleted */ .chroma .gd { color: #e06c75 }
/* GenericInserted */ .chroma .gi { color: #98c379; font-weight: bold }