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

*{
  margin: 0;
  padding: 0;
}

html{
  cursor: none;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
    display: none;
}

body{
  color: #fff;
  background: #13171e;
  font-family: "Inter", sans-serif;
}

  #header{
    width: calc(100vw - 70px);
    height: 35px;
    margin: 10px 10px 0 10px;
    padding: 20px 25px;
    background: #212835;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

    #header div.brand{
      width: 200px;
      height: 40px;
      float: left;
    }

      #header div.brand img{
        height: 25px;
        padding: 7.5px 0;
        position: relative;
        top: -2px;
        filter: brightness(0) invert(1);
      }

    #header div.title{
      width: calc(100% - 400px);
      height: 40px;
      text-align: center;
      float: left;
      font-size: 20px;
      overflow: hidden;
    }

      #header div.title .ticker {
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
      }

      #header div.title .ticker li {
        height: 40px;
        line-height: 40px;
        text-align: center;
      }

        .important {
          animation: important-blink 1s infinite;
        }

        @keyframes important-blink {
          0%, 100% { font-weight: 400; }
          50% { font-weight: 600; }
        }

        #header div.title .ticker li kbd {
          padding: 4px 8px;
          border: 1px solid #343f52;
          border-radius: 5px;
          margin: 0 5px;
        }

    #header div.status{
      width: 200px;
      height: 40px;
      float: left;
    }

      #header div.status p{
        padding: 7px 50px 7px 0;
        text-align: right;
      }

      #header div.status span.dot{
        width: 35px;
        height: 35px;
        display: block;
        border-radius: 35px;
        background: #eee;
        float: right;
      }

        #header div.status span.dot.idle{
          background: #343f52;
        }

        #header div.status span.dot.succes{
          animation: blinkGreen 1.5s infinite ease-in-out;
        }

        #header div.status span.dot.await{
          animation: blinkYellow 1.5s infinite ease-in-out;
        }

        #header div.status span.dot.error{
          animation: blinkRed 1.5s infinite ease-in-out;
        }

        #header div.status span.dot.info{
          animation: blinkBlue 1.5s infinite ease-in-out;
        }

  #container{
    width: calc(100vw - 60px);
    height: calc(100vh - 210px);
    margin: 0 10px 0 10px;
    padding: 20px;
    background: #343f52;
    overflow: hidden;
  }

    #container div.fullscreen-logo{
      padding: 150px 0 0 0;
      opacity: .1;
      text-align: center;
    }

      #container div.fullscreen-logo img{
        width: 75%;
        filter: brightness(0) invert(1);
      }

      #container div.fullscreen-logo h1{
        margin-top: 75px;
        font-weight: 500;
      }

    #container div.page-full{
      text-align: center;
      margin: 275px 0;
    }

    #container div.page-auth{
      text-align: center;
      margin: 275px 0;
    }

      #container div.page-auth input{
        width: 400px;
        font-size: 50px;
        margin: 25px 0 0 0;
        padding: 10px;
        text-align: center;
        border-radius: 10px;
        outline: none;
        border: 0;
        font-weight: 600;
        letter-spacing: 30px;
      }

      #container div.page-auth h3{
        margin-top: 50px;
        opacity: .5;
        font-size: 16px;
      }

        #container div.page-auth h3.blink {
            animation: blink-animation 1s steps(2, start) infinite;
        }

        #container div.page-auth h3.hide {
            opacity: 0;
        }

        @keyframes blink-animation {
            50% {
              opacity: 1;
            }
        }

      #container div.page-auth kbd{
        padding: 6px 8px 3px 8px;
        position: relative;
        top: -1px;
        border: 1px solid rgba(255, 255, 255, .5);
        border-radius: 5px;
        font-size: 14px;
      }

    #container div.page-show{

    }

      #container div.page-show div#orders-container{
        width: 100%;
        overflow: hidden;
        position: relative;
        scroll-behavior: smooth;
        max-height: calc(100vh - 300px);
      }

        #container div.page-show div#orders-container::before{
          content: "";
          width: 100%;
          height: 50px;
          display: block;
          position: sticky;
          top: 0;
          left: 0;
          right: 0;
          -webkit-box-shadow: inset 0px 35px 20px -15px rgba(52,63,82,1);
          -moz-box-shadow: inset 0px 35px 20px -15px rgba(52,63,82,1);
          box-shadow: inset 0px 35px 20px -15px rgba(52,63,82,1);
        }

        #container div.page-show div#orders-container::after{
          content: "";
          width: 100%;
          height: 50px;
          display: block;
          position: sticky;
          bottom: 0;
          left: 0;
          right: 0;
          -webkit-box-shadow: inset 0px -35px 20px -15px rgba(52,63,82,1);
          -moz-box-shadow: inset 0px -35px 20px -15px rgba(52,63,82,1);
          box-shadow: inset 0px -35px 20px -15px rgba(52,63,82,1);
        }

        #container div.page-show div#orders-container .order_wrapper{
          width: calc(100% - 5px)!important;
          color: #fff;
          width: 100%;
          padding: 0;
          border: 2px solid rgba(255, 255, 255, .25);
          margin: 0 0 15px 0;
          border-radius: 20px;
          background-color: #495872;
          font-size: 18pt;
        }

          #container div.page-show div#orders-container .order_wrapper .order_header{
            width: 100%;
            color: #fff;
            width: calc(100% - 40px);
            padding: 20px;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            background-color: #212835;
          }

            #container div.page-show div#orders-container .order_wrapper .order_header p{
              float: right;
            }

          #container div.page-show div#orders-container .order_wrapper .order_body{
            width: 100%;
            width: calc(100% - 40px);
            padding: 20px;
          }

            #container div.page-show div#orders-container .order_wrapper .order_body table{
              width: 100%;
            }

              #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_header{
                font-size: 12pt;
                font-weight: 600;
                color: rgba(255, 255, 255, .5);
              }

                #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_header td:nth-child(1){
                  width: 60%;
                }

                #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_header td:nth-child(2){
                  width: 20%;
                }

                #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_header td:nth-child(3){
                  width: 20%;
                  text-align: right;
                }

              #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_item td{
                padding: 10px 0 0 0;
              }

                #container div.page-show div#orders-container .order_wrapper .order_body table tr.table_item td:nth-child(3){
                  width: 30%;
                  text-align: right;
                }

    #container div.grid div.row{
      width: 100%;
      display: flex;
      flex-wrap: wrap;
    }

      #container div.grid div.row div.box{
        color: #fff;
        width: calc(100% - 60px);
        padding: 40px 20px;
        margin: 10px;
        background: #495872;
        flex: 1;
        text-align: center;
        border-radius: 20px;
      }

        #container div.grid div.row div.box h1{
          font-size: 55pt;
          font-weight: 600;
          margin-bottom: 10px;
        }

          #container div.grid div.row div.box h1 span.status{
            width: 25px;
            height: 25px;
            border-radius: 100%;
            background: rgba(255, 255, 255, .5);
            margin-left: 15px;
            display: inline-block;
            position: relative;
            top: -10px;
          }

            #container div.grid div.row div.box h1 span.status.status-red {
              background: #FF3800;
            }

            #container div.grid div.row div.box h1 span.status.status-amber {
              background: #FFCE47;
            }

            #container div.grid div.row div.box h1 span.status.status-orange {
              background: #FF893A;
            }

            #container div.grid div.row div.box h1 span.status.status-green {
              background: #51D364;
            }

            #container div.grid div.row div.box h1 span.status.status-blink {
              animation: blink 1s step-start 0s infinite;
            }

        #container div.grid div.row div.box h1 span.tailing{
          color: rgba(255, 255, 255, .5);
          font-weight: 300;
          display: inline-block;
          margin-left: 20px;
          font-size: 30pt;
          padding: 5px 15px;
          min-width: 30px;
          height: 50px;
          position: relative;
          top: -12px;
          border-radius: 50px;
          border: 3px solid rgba(255, 255, 255, .5);
        }

        #container div.grid div.row div.box h2{
          color: rgba(255, 255, 255, .5);
          font-size: 20pt;
          font-weight: 500;
        }

    #container div h1{
      font-size: 50px;
      margin-bottom: 15px;
    }

    #container div h2{
      font-size: 30px;
      margin-bottom: 10px;
      font-weight: 500;
    }

    #container div h3{
      font-size: 20px;
      margin-bottom: 5px;
      font-weight: 500;
    }

    #container div h4{
      font-size: 18px;
      margin: 75px 0 15px 0;
      font-weight: 300;
    }

    #container .countdown{
      float: right;
      padding: 15px;
    }

  #footer{
    width: calc(100vw - 60px);
    height: 35px;
    margin: 0 10px 10px 10px;
    padding: 20px;
    background: #212835;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

    #footer ul{
      list-style-type: none;
    }

      #footer ul li{
        padding: 8px 10px 8px 0;
        margin-right: 10px;
        border-radius: 5px;
        display: inline-block;
      }

        #footer ul li.pressed{
          background: #343f52;
        }

        #footer ul li kbd{
          padding: 8px 10px;
          position: relative;
          top: -1px;
          border: 1px solid #fff;
          border-radius: 5px;
        }

          #footer ul li kbd.blue{
            background: rgba(45, 195, 215, .7);
          }

          #footer ul li kbd.purple{
            background: rgba(255, 0, 185, .7);
          }

          #footer ul li kbd.red{
            background: rgba(255, 25, 0, .7);
          }

          #footer ul li kbd.yellow{
            background: rgba(250, 195, 50, .7);
          }

          #footer ul li kbd.green{
            background: rgba(100, 200, 100, .7);
          }

          #footer ul li kbd.pressed{
            color: #343f52;
            background: #fff;
          }

          #footer ul li kbd.pending{
            animation: kbdPending 1s infinite;
          }

        #footer ul li span{
          margin-left: 10px;
        }

/* ANIMATIONS */

@keyframes kbdPending {
  0% {
    background: none;
  }
  50% {
    background: rgba(255, 255, 255, .25);
  }
  100% {
    background: none;
  }
}

@keyframes blinkGreen {
  0%, 100% {
    background-color: rgba(100, 200, 100, 0.3); /* Soft green */
  }
  50% {
    background-color: rgba(100, 200, 100, 0.7); /* Brighter green */
  }
}

/* Yellow Blinking Animation */
@keyframes blinkYellow {
  0%, 100% {
    background-color: rgba(253, 198, 47, 0.3); /* Soft yellow (#FDC62F) */
  }
  50% {
    background-color: rgba(253, 198, 47, 0.7); /* Brighter yellow */
  }
}

/* Red Blinking Animation */
@keyframes blinkRed {
  0%, 100% {
    background-color: rgba(255, 25, 0, 0.3); /* Soft red (#CD3A00) */
  }
  50% {
    background-color: rgba(255, 25, 0, 0.7); /* Brighter red */
  }
}

/* Blue Blinking Animation */
@keyframes blinkBlue {
  0%, 100% {
    background-color: rgba(44, 194, 217, 0.3); /* Soft blue (#2CC2D9) */
  }
  50% {
    background-color: rgba(44, 194, 217, 0.7); /* Brighter blue */
  }
}

body.status {
    -webkit-animation: AnimationName 14s ease infinite;
    -moz-animation: AnimationName 14s ease infinite;
    animation: AnimationName 14s ease infinite;
}

  body.status.idle {
      background: linear-gradient(180deg, #343f52, #ffffff);
      background-size: 400% 400%;
  }

  body.status.auth {
      background: #4ABAFF;
  }

@-webkit-keyframes AnimationName {
    0%{background-position:51% 0%}
    50%{background-position:50% 100%}
    100%{background-position:51% 0%}
}
@-moz-keyframes AnimationName {
    0%{background-position:51% 0%}
    50%{background-position:50% 100%}
    100%{background-position:51% 0%}
}
@keyframes AnimationName {
    0%{background-position:51% 0%}
    50%{background-position:50% 100%}
    100%{background-position:51% 0%}
}

@keyframes blink {
  50% {
    opacity: 0.0;
  }
}

/* SCHEMA */

schema{
  display: none;
}
