/* © Copyright 2026 | NOUVEAU - MauzerBrayn */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');

:root{
    --black: #000000;
    --white: #FFFFFF;
    --gray: #CCCCCC;
    --dark-gray: #777777;
    --blue: #00AAF0;
    --o-blue: #00AAF050;
    --green: #00C85A;
    --o-green: #00C85A50;
    --red: #FF5A5A;
    --o-red: #FF5A5A50;
    --yellow: #FFD250;
    --o-yellow: #FFD25050;
    --orange: #FFA03C;
    --o-orange: #FFA03C50;
    --gold: #E19F27;
    --primary: #083639;
    --secondary: #2F0634;
    --t-primary: #FFE98D;
    --t-secondary: #E19F27;

    --menu: 320px;
    --padding: 15px;
    --r-padding: -15px;
}

::placeholder { color: rgba(255, 255, 255, 0.35); }

::selection{ background: var(--black); color: var(--white); }
::-o-selection{ background: var(--black); color: var(--white); }
::-ms-selection{ background: var(--black); color: var(--white); }
::-moz-selection{ background: var(--black); color: var(--white); }
::-webkit-selection{ background: var(--black); color: var(--white); }

::-webkit-scrollbar-track{ background: transparent; width: 0px; border-radius: 5px; }
::-webkit-scrollbar{ background: transparent; width: 0px; height: 0px; }
::-webkit-scrollbar-thumb{ background: rgba(255, 255, 255, 0.1); border-radius: 5px; }

@keyframes msg{
    0%{ transform: scale(1); opacity: 1; display: block; }
    99%{ transform: scale(0); opacity: 0; display: block; }
    100%{ transform: scale(0); opacity: 0; display: none; }
}

@keyframes bounce{
    0%{ transform: scale(1); filter: drop-shadow(0px 0px 6px var(--gold)); }
    50%{ transform: scale(1.05); filter: drop-shadow(0px 0px 12px var(--yellow)); }
    100%{ transform: scale(1); filter: drop-shadow(0px 0px 6px var(--gold)); }
}

@keyframes status_on{
    0%{ box-shadow: 0px 0px 0px 0px var(--o-green); }
    40%{ box-shadow: 0px 0px 0px 4px var(--o-green); }
    100%{ box-shadow: 0px 0px 0px 4px transparent; }
}

@keyframes status_off{
    0%{ box-shadow: 0px 0px 0px 0px var(--o-red); }
    40%{ box-shadow: 0px 0px 0px 4px var(--o-red); }
    100%{ box-shadow: 0px 0px 0px 4px transparent; }
}

*{
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  text-decoration: none;
  margin: 0px;
  outline: none;
  box-sizing: border-box;
  cursor: default;
}

body{
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) var(--black);
    background-attachment: fixed;
    height: 100vh;
}

body#login{
    display: flex;
    align-items: center;
    justify-content: center;
}

.-txt-g{ color: var(--green) !important; }
.-txt-o{ color: var(--orange) !important; }
.-txt-r{ color: var(--red) !important; }

div.msg{
    background: var(--o-blue);
    color: var(--blue);
    font-size: 14px;
    padding: 6px 10px 6px 10px;
    border: 1px solid var(--blue);
    border-radius: 5px;
    margin-bottom: var(--padding);
    animation: msg 0.5s ease 5s forwards;
}

div.msg b{
    font-weight: 700;
}

div.-msg-g{ background: var(--o-green) !important; color: var(--green) !important; border: 1px solid var(--green) !important; }
div.-msg-o{ background: var(--o-orange) !important; color: var(--orange) !important; border: 1px solid var(--orange) !important; }
div.-msg-r{ background: var(--o-red) !important; color: var(--red) !important; border: 1px solid var(--red) !important; }
div.-msg-y{ background: var(--o-yellow) !important; color: var(--yellow) !important; border: 1px solid var(--yellow) !important; }

div.login{
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex: 0 0 var(--menu);
    overflow: hidden;
}

div.login h1{
    background: linear-gradient(var(--t-primary), var(--t-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    text-shadow: none;
    padding-bottom: 15px;
}

div.login p{
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: center;
    padding-bottom: 5px;
}

div.login p.p-error{
    color: var(--red);
}

div.login input[type=text]{
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    height: 46px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
}

div.login input[type=text].t-error{
    background: var(--o-red);
}

div.login input[type=submit]{
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 46px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    transition: 0.2s linear;
}

div.login input[type=submit]:hover{
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

div#content{
    width: 100vw;
    min-height: 100vh;
    color: var(--white);
    text-shadow: 0px -1px rgba(0, 0, 0, 0.3);
    padding: var(--padding);
    padding-top: var(--padding);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--padding);
}

div#content div.title{
    background: linear-gradient(var(--t-primary), var(--t-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
    height: auto;
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    text-shadow: none;
    padding-bottom: 10px;
    display: none;
}

div#content div.menu{
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex: 0 0 var(--menu);
    overflow: hidden;
}

div#content div.menu div.img{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85)), url(img/background.png);
    background-size: cover;
    height: 150px;
    margin: -10px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#content div.menu div.img img{
    max-width: 80%;
    max-height: 50%;
    animation: 3s linear bounce infinite;
}

div#content div.menu div.status{
    color: var(--green);
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

div#content div.menu div.-status-off{ color: var(--red) !important; }

div#content div.menu div.status div{
    background: var(--green);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    animation: status_on 1s linear infinite;
}

div#content div.menu div.-status-off div{ background: var(--red) !important; animation: status_off 1s linear infinite !important; }

div#content div.menu form{
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

div#content div.menu form input{
    background: var(--blue);
    width: 36px;
    height: 36px;
    color: var(--white);
    border: none;
    border-radius: 6px;
    transition: 0.2s linear;
}

div#content div.menu form input:hover{
    transform: scale(1.1);
    cursor: pointer;
}

div#content div.menu form input.disabled{
    opacity: 0.4;
}

div#content div.menu form input.disabled:hover{
    transform: none;
    cursor: default;
}

div#content div.menu form input:nth-child(1){ background: url(img/ui-start.png) var(--green) no-repeat center; background-size: auto 50%; }
div#content div.menu form input:nth-child(2){ background: url(img/ui-restart.png) var(--orange) no-repeat center; background-size: auto 50%; }
div#content div.menu form input:nth-child(3){ background: url(img/ui-stop.png) var(--red) no-repeat center; background-size: auto 40%; }

div#content div.menu div.box{
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: var(--padding);
    display: flex;
    align-items: center;
    justify-content: left;
}

div#content div.menu div.box div.icon{
    background: green;
    width: 50px;
    height: 50px;
    margin-right: 6px;
}

div#content div.menu div.box div.-i-ram{ background: url(img/ram.png) no-repeat center !important; background-size: 60% !important; }
div#content div.menu div.box div.-i-disk{ background: url(img/disk.png) no-repeat center !important; background-size: 60% !important; }

div#content div.menu div.box p span{
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

div#content div.menu div.box div.progressbar{
    width: 100px;
    height: 50px;
    margin-left: auto;
    overflow: hidden;
}

div#content div.menu div.box div.progressbar div.progress{
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    text-align: center;
    border: 8px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
}

div#content div.menu div.box div.progressbar div.progress h5{
    font-size: 16px;
    font-weight: 700;
    margin-top: 7px;
}

div#content div.menu div.box div.progressbar div.bar{
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.65);
    border-top: 8px solid transparent;
    border-bottom: 8px solid var(--green);
    border-left: 8px solid transparent;
    border-right: 8px solid var(--green);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: -8px;
}

div#content div.menu div.box div.progressbar div.-bar-g{ border-top: 8px solid transparent !important; border-bottom: 8px solid var(--green) !important; border-left: 8px solid transparent !important; border-right: 8px solid var(--green) !important; }
div#content div.menu div.box div.progressbar div.-bar-o{ border-top: 8px solid transparent !important; border-bottom: 8px solid var(--orange) !important; border-left: 8px solid transparent !important; border-right: 8px solid var(--orange) !important; }
div#content div.menu div.box div.progressbar div.-bar-r{ border-top: 8px solid transparent !important; border-bottom: 8px solid var(--red) !important; border-left: 8px solid transparent !important; border-right: 8px solid var(--red) !important; }

div#content div.content{
    width: 100%;
    min-width: var(--menu);
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}

div#content div.content h1{
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-weight: 400;
    text-shadow: 0px -1px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

div#content div.content h1 a{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding-left: 5px;
}

div#content div.content h1 a:hover{
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    cursor: pointer;
}

div#content div.content h1 a.top{
    font-size: 24px;
    padding-top: 2px;
    padding-right: 10px;
    margin-left: auto;
    display: none;
}

div#content div.content div.console{
    background: rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 110px);
    color: var(--white);
    font-family: "Inconsolata", monospace;
    white-space: pret;
    font-size: 14px;
    padding: 6px;
    padding-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0px 0px;
    flex: 1;
}

div#content div.content div.console * {
    font-family: "Inconsolata", monospace !important;
    white-space: pre !important;
}

div#content div.content div.console div#refresh_console{
    width: auto;
    height: 100%;
    padding-right: 10px;
    overflow-x: scroll;
    overflow-y: scroll;
}

div#content div.content div.cmd{
    background: url(img/ui-cmd.png) no-repeat center left 12px rgba(255, 255, 255, 0.05);
    background-size: 16px auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0px 0px 12px 12px;
    height: 40px;
    overflow: hidden;
}

div#content div.content div.cmd input{
    background: none;
    width: 100%;
    height: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Inconsolata", monospace;
    font-size: 16px;
    line-height: 40px;
    padding-left: 40px;
    padding-right: 10px;
    border: none;
    cursor: text;
}

@media only screen and (max-width: 700px){
    ::-webkit-scrollbar-track{ width: 0px; }
    ::-webkit-scrollbar{ width: 0px; }

    div#content{ display: block; }
    div#content div.title{ display: block; }
    div#content div.menu{ flex: 0 0 100%; }
    div#content div.menu form input{ width: 100%; height: 46px; }
    div#content div.content h1 a:hover{ text-decoration: none; }
    div#content div.content h1 a.top{ display: block; }
    div#content div.content div.console{ min-height: 150px; max-height: calc(100vh - 95px); }
    div#content div.content div.console div#refresh_console{ height: calc(100vh - 110px); padding-right: 0px; }
}