@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: black;
    height: 100%;
    /*margin: auto;*/
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    text-align: center;
}

    .main .top-row {
        border-bottom: 1px solid black;
        justify-content: flex-end;
        opacity: .9;
        background: black;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, #151515 0%, rgba(255,255,255,0.1) 70%);
    display: none;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                /*color: white;*/
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                /*color: white;*/
            }

.content {
    padding-top: 1.1rem;
    text-align: center;
}


.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
        display: none;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 100%;
        position: fixed;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        display: none;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        /*display: none;*/
        display: none;
    }

    .sidebar .collapse {
        /*Never collapse the sidebar for wide screens*/
        /*display: block;*/
    }
}

.display {
    height: 100%;
    align-items: center;
    justify-content: center;
}

.lotName {
    font-family: HelveticaNeue-Light, Arial, sans-serif;
    font-size: 200%;
    font-weight: bold;
    color: white;
    text-align: center;
    background-color: black;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
}

.selector.noshadow {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.container1 {
    width: 400px;
    height: 120px;
    font-family: HelveticaNeue-UltraLight, Arial, sans-serif;
    font-size: 500%;
    font-weight: bold;
    color: red;
    background-color: #151515;
    border: none;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    box-shadow: none;
}

.container0 {
    width: 400px;
    height: 120px;
    font-family: HelveticaNeue-UltraLight, Arial, sans-serif;
    font-size: 500%;
    font-weight: bold;
    color: green;
    background-color: #151515;
    border: none;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    box-shadow: none;
}

.compName1 {
    width: 400px;
    height: 120px;
    font-family: HelveticaNeue-UltraLight, Arial, sans-serif;
    font-size: 300%;
    font-weight: bold;
    color: green;
    background-color: #151515;
    border: none;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    box-shadow: none;
}

.compName0 {
    width: 400px;
    height: 120px;
    font-family: HelveticaNeue-UltraLight, Arial, sans-serif;
    font-size: 300%;
    font-weight: bold;
    color: black;
    background-color: #151515;
    border: none;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    box-shadow: none;
}

.blazored-custom-modal {
    display: flex;
    flex-direction: column;
    width: 60vw;
    height: 60vh;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 102;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}

.blazored-prompt-modal {
    display: flex;
    flex-direction: column;
    width: 600px;
    background-color: #fefefe;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 102;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}

    .blazored-prompt-modal .blazored-modal-header {
        display: none;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.vms {
    width: 100%;
    height: 1%;
    overflow: hidden;
    font-family: HelveticaNeue-UltraLight, Arial, sans-serif;
    font-size: 800%;
    font-weight: bold;
    color: gold;
    background-color: #151515;
    border: solid;
    border-color: saddlebrown;
    text-align: center;
    /*margin: auto;*/
    vertical-align: middle;
    box-shadow: none;
}

.scroll-left {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #151515;
    /*font-family: HelveticaNeue-UltraLight, Arial, sans-serif;*/
    font-family: Arial;
    font-size: 600%;
    font-weight: bold;
    color: gold;
    border: none;
    /*text-align: center;*/
}

    .scroll-left p {
        position: absolute;
        width: 100%;
        height: 100%;
        margin: 0;
        line-height: 50px;
        text-align: center;
        /* Starting position */
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        /* Apply animation to this element */
        -moz-animation: scroll-left 15s linear infinite;
        -webkit-animation: scroll-left 15s linear infinite;
        animation: scroll-left 15s linear infinite;
    }
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%); /* Browser bug fix */
        -webkit-transform: translateX(100%); /* Browser bug fix */
        transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%); /* Browser bug fix */
        -webkit-transform: translateX(-100%); /* Browser bug fix */
        transform: translateX(-100%);
    }
}

#table_id {
    display: block;
}

#table_id td {
    display: inline-block;
}

matrix{
    color:green;
}

.matrix-text {
    font-family: "Courier New", monospace;
    color: #00ff00; /* Bright green */
    background-color: black;
    padding: 4px;
    border-radius: 4px;
    font-size: 1.1em;
    text-shadow: 0px 0px 5px #00ff00; /* Glowing effect */
}

.tez-text {
    font-family: "Courier New", monospace;
    color: #7a58fa; /*tez purple*/
    background-color: black;
    padding: 4px;
    border-radius: 4px;
    font-size: 1.1em;
}

.center-container {
    display: flex;
    justify-content: center; /* Horizontal center */
    /*align-items: center;*/ /* Vertical center */
    /*height: 100vh;*/ /* Full viewport height */
}

pre {
    text-align: left; /* Keep XML aligned left within the <pre> */
    /*background-color: #f4f4f4;*/ /* Optional: light gray background */
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto; /* In case XML is wide */
    max-width: 90vw; /* Avoid overflow on small screens */

    border: 1px solid #ccc;
}


