body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 10px;
    background-color: white
}

#grid {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    grid-template-rows: 300px 1fr;

    grid-template-areas:
        "sessions . ."
        "logs logs logs";

    width: calc(100% - 20px);
    height: calc(100% - 20px);
    gap: 10px;
    overflow: hidden;
}

.tile {
    background-color: #222;
    border-radius: 25px;
    color: #fff;
    overflow: hidden;
}


#logs {
    font-family: monospace;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    max-height: calc(100vh - 40px);
    overflow-y: scroll;
    grid-area: logs;
}

#sessions {
    font-family: sans-serif;
    grid-area: sessions;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;

}


.log {
    display: grid;
    grid-template-rows: auto auto;
    padding: 10px;
    background-color: #444;
}

.log:first-child {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.log:last-child {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.log:nth-child(odd) {
    background-color: #333
}

.log:hover {
    background-color: #222;
}

.hidden {
    /* opacity: 0.1; */
    visibility: hidden;
}

.log-info {
    /* display: grid; */
    /* grid-template-columns: repeat(6, auto); */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}

.log-message-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.log-message {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.log-message:hover {
    background-color: #444;
}

.log-detail-container {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 10px;
}

.system-info-container {
    /* text-align: center; */
    margin-left: 20px;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.date {
    display: flex;
    align-items: center;
    width: 180px;
}

.badge {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    color: black;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    width: 50px;
}

.OSX .EDITOR_OSX {
    background-color: #da7f8e;
}

.WIN .EDITOR_WIN {
    background-color: #6fc7d5;
}

.critical {
    background-color: rgb(121, 10, 10);
    color: white;
    width: 100px;
}

.error {
    background-color: rgb(210, 64, 64);
    color: white;
    width: 100px;
}

.warning {
    background-color: rgb(226, 226, 62);
    width: 100px;
}

.message {
    /* background-color: white;
    co */
    max-height: 400px;
    overflow-x: scroll;
    cursor: pointer;
}

.version {
    width: 200px;
}

.platform {
    width: 150px;
}

.log-button {
    background-color: #666;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.log-button:hover {
    background-color: #888;
}

.log-button-delete {
    background-color: #cd3d3d;
    background-image: url('/img/delete.png');
}

.log-button-download {
    background-image: url('/img/download.png');
}

.log-button-delete:hover {
    background-color: #c85c5c;
}

.no-display {
    display: none;
}

.sessions-info  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 25px;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 10px;
    border-radius: 15px;
}
.session {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #333
}
.session:nth-child(even) {
    background-color: #222
}

.session-count {
    font-size: 2em;
}

