﻿.console {
    display: flex;
    flex-wrap: nowrap;
    height: calc(100vh - 80px);
    justify-content: space-between;
    gap: 15px;
}

.console-left {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
}

.console-left-controls {
    flex: auto;
    color: #000;
    border-radius: 4px;
}

.console-left-wait {
    background: #fff;
    flex: 0 0 150px;
}

.controls-header {
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-left: 3px;
}

.header-title {
    font-size: 15px;
    font-weight: 500;
    padding-top: 3px;
    padding-left: 6px;
}

.header-new-action {
    font-size: 14px;
    margin-left: 10px !important;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
    /* background: #03a9f4; */
    color: #000;
    border-radius: 4px;
    /* padding: 15px 10px; */
    margin-right: 3px;
}

.new-test-button {
    font-weight: 500;
    background: #03a9f4;
    padding: 5px 16px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.controls-body {
    flex: 1 0 100px;
    background: #fff;
    overflow-x: auto;
    /*padding: 5px;*/
}

.controls-card {
    height: 63px;
    background: white;
    box-shadow: 0 2px 10px #0000000d;
    border: 1px solid #0000000f;
    margin: 8px;
    margin-right: 3px;
    display: flex;
    padding: 5px 10px;
    margin-bottom: 3px;
}

    .controls-card:hover {
        box-shadow: rgb(9 30 66 / 25%) 0px 8px 20px -8px, rgb(9 30 66 / 31%) 0px 0px 1px;
        border-radius: 2px;
    }

.card-left {
    flex: 1 0 290px;
    display: flex;
    flex-direction: column;
}

.card-left-title {
    flex: 1 0 auto;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.card-left-title-cotent {
    flex: 1 0 auto;
}

.card-left-info {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 400;
    font-size: 11px;
    width: 227px;
    color: #333f50;
}

.info-status {
    flex: 1 0 auto;
    background: #92D050;
    margin-right: 2px;
    text-align: center;
    padding: 0 5px;
    color: #333f50;
    border-radius: 2px;
}

.info-date {
    flex: 1 0 auto;
    margin-right: 5px;
    text-align: center;
}

.info-report {
    flex: 1 0 auto;
    margin-right: 5px;
    text-align: left;
    color: blue;
    cursor: pointer;
    margin-left: 5px;
    border: 1px blue solid;
    padding: 0 8px;
    border-radius: 2px;
    /*font-size: 10px;*/
}

.info-data {
    flex: 1 0 auto;
    color: blue;
    cursor: pointer;
}

.card-right {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.card-right-controls {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.card-right-date {
    flex: 1 0 auto;
    text-align: right;
    font-weight: 400;
    display: flex;
    align-items: baseline;
}

.card-right-button {
    vertical-align: middle;
    /*line-height: 52px;*/
    height: 27px;
    width: 30px;
    text-align: center;
    cursor: pointer;
}



.console-right {
    background-color: #333f50;
    display: flex;
    flex-direction: column;
    flex: auto;
    word-wrap: anywhere;
    max-width: 1200px;
    min-width: 500px;
    height: 100%;
}

.console-right-monitor-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.console-right-monitor {
    background-color: #333f50;
    text-align: left;
    list-style-type: none;
    color: white;
    flex: 1 0 150px;
    margin: 10px 11px;
    overflow-y: auto;
    height: calc(100vh - 60px);
    margin-bottom: 0px;
    font-size: 12px;
}

.console-right-statusbar {
    background-color: #333f50;
    flex: 0 0 20px;
}

.statusbar-content {
    border-top: 1px solid #92D050;
    color: #92D050;
    /*flex: 0 1 218px;*/
    margin: 5px 10px;
}






:root {
    --code-color: darkred;
    --code-bg-color: #aaaaaa;
    --code-font-size: 14px;
    --code-line-height: 1.4;
    --scroll-bar-color: #c5c5c5;
    --scroll-bar-bg-color: #f6f6f6;
}

pre {
    color: var(--code-color);
    font-size: var(--code-font-size);
    line-height: var(--code-line-height);
    background-color: var(--code-bg-color);
}

.code-block {
    /*max-height: 100px;*/
    /*overflow: auto;*/
    /*padding: 8px 7px 5px 15px;*/
    margin: 0px 0px 0px 0px;
    /*border-radius: 7px;*/
}

::-webkit-scrollbar-corner {
    background: rgba(0,0,0,0.5);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
}

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    *::-webkit-scrollbar-track {
        background: var(--scroll-bar-bg-color);
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--scroll-bar-color);
        border-radius: 20px;
        border: 3px solid var(--scroll-bar-bg-color);
    }

/* Tablets and up (≥768px) */
@media (max-width: 1268px) {
    .console {
        flex-wrap: wrap;
    }

    .console-left,
    .console-right {
        flex: 0 0 100%;
        width: 100%;
    }
}
