        body {
            display: flex;
            justify-content: center;
            padding-top: 40px;
            height: 100%;
            background-color: #a8a8a8;
            font-family: 'Courier New', Courier, monospace;
        }

        .grade-container {
            display: grid;
            grid-template-columns: repeat(21, 31px);
            grid-template-rows: repeat(21, 31px);
            background-color: white;
            padding: 20px;
            margin-top: 100px;
        }

        .container {
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            top: 80px;
        }
.relogio {
    margin-top: 10px;
    position: absolute;
    width: 100%;
   
}
        .form-box {
            background-color: whitesmoke;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            width: 300px;
        }

        .form-box h2 {
            text-align: center;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            color: #333;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 14px;
        }

        button {
            width: 100%;
            padding: 10px;
            background-color: #007BFF;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }

        button:hover {
            background-color: #0056b3;
        }
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    color: #666666;
}
        .apagado {
            opacity: 10%;
        }

        .aceso {
            opacity: 100%;
        }

        .celula {
            width: 31px;
            height: 31px;
            position: relative;

        }

        .padroes {
            border: solid medium black;
            display: inline-block;
            margin-top: 40px;
        }

        .menu {
            display: block;
            left: 10px;
            top: 10px;
            height: 80px;
            width: 150px;
            position: fixed;
        }

        .resultados {
            display: block;
            right: 10px;
            top: 10px;
            height: 100px;
            width: 200px;
            position: fixed;
            border: black solid thin;
        }

        .lbl {
            width: 100px;
            text-align: right;
            display: inline-block;
        }

        .vlrs {
            width: 60px;
            text-align: center;
            display: inline-block;
            border-bottom: solid black thin;
            margin-left: 5px;
        }

        .menu button {
            display: block;
            width: 80%;
            margin: 5px auto;
            /* centraliza o botão horizontalmente e dá espaçamento vertical */
            padding: 5px;
            font-size: 14px;
        }

        .celula img {
            width: 31px;
            height: 31px;
            display: block;
            margin: 4px;
        }

        img {
            width: 31px;
            height: 31px;
            display: flexbox;
            margin: 4px;
        }

        .riscado::after {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            width: 36px;
            height: 4px;
            background-color: rgb(4, 0, 245);
            transform: rotate(45deg);
            transform-origin: top left;
        }

        .brilho-verde img {

            filter: drop-shadow(0 0 10px #00ffff);
            border-radius: 3px;
        }

        .brilho-vermelho img {
            filter: drop-shadow(0 0 10px #ff00aa);
            border-radius: 3px;
        }

        .brilho-ambar img {
            filter: drop-shadow(0 0 5px #ffa600);
            border-radius: 3px;
        }

        .cabecalho {
            position: fixed;
            display: flexbox;
            top: 0;
            left: 0;
            width: 100%;
            height: 120px;
            background-color: white;
            color: black;
            text-align: center;
            font-weight: bold;
            z-index: 999;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        }

            .botao-x {
      position: absolute;
      top: 10px;
      right: 10px;
                width: auto;
                background-color: whitesmoke;
      border: none;
      
      cursor: pointer;
      
    }

    .botao-x:hover {
      background-color: rgb(165, 222, 240);
    }

    #loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* fundo escurecido */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none; /* começa oculto */
}

#loading-overlay img {
  width: 80px;
  height: 80px;
}
  @media print {
    .normal {
      display: none !important;
    }
  }