html, body {
  background: #111;
  color: #eee;
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

/* Estrutura principal da tela */
.layout {
  display: flex;
  min-height: 100vh;
  margin: 0em 0em 0em 2em;
}

.container {
  max-width: 100vw;
  margin: 2em 2em 2em 0em;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 0px 14px 14px 14px;
  flex: 1;
  height: calc(100vh - 9em);
  overflow: auto;
}

h1 {
  margin: 0 0 20px 0;
  text-align: left; 
  font-weight: 600;
}

.actions {
  width: 100%;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  width: 100%;
  position: relative;
  gap: 1em;
  margin: 1em 0;
}

.search-box input {
  flex: 1;
  padding: 10px;
  margin: 0;
  border-radius: 5px;
  border: none;
  background: #434343;
  color: #fff;
}

.search-box button {
  margin: 0;
  padding: 10px 16px;
  border-radius: 5px;
  border: none;
  background: silver;
  cursor: pointer;
  font-weight: 600;
}

input {
  flex: 1;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #333;
  background: #0b0b0b;
  color: #fff;
  outline: none;
}

input::placeholder {
  color: #777;
}

button {
  padding: 10px 16px;
  border-radius: 5px;
  border: none;
  background: silver;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  outline: solid 1px #333;
}

th, td {
  padding: 12px 8px;
  border-bottom: 1px solid #333;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

tbody tr:hover {
  background: #222;
}

::-webkit-scrollbar { 
  display: none; 
}

.status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status.verde {
  background-color: #22c55e;
}

.status.vermelho {
  background-color: #ef4444;
}

thead th {
  color: #aaa;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  background: #000;
}

/* Linhas pares com fundo mais escuro */
table tbody tr:nth-child(even) {
  background-color: #111;
}

/* Linhas ímpares com fundo mais claro */
table tbody tr:nth-child(odd) {
  background-color: #282828;
}

/* Efeito ao passar o mouse */
table tbody tr:hover {
  background-color: #434343;
}

/* Menu lateral fixo */
.menu {
  width: auto;
  background: #111;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 2em 0em 0em 0em;
}

/* Botões do menu */
.menu-btn {
  background: #333;
  border: none;
  border-bottom: 1px solid #222;
  color: #fff;
  padding: 1em 2em;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
  font-size: 14px;
  outline: solid #333 1px;
  text-align: center;
  font-weight: 600;
}

/* Hover simples */
.menu-btn:hover {
  background: #fff;
  color: #000;
  transition: 100ms;
}

/* Botão ativo */
.menu-btn.ativo {
  background: #fff;
  font-weight: 600;
  color: #000;
}

/* Exibição das telas */
.tela {

  display: none;
}

.tela.ativa {
  display: block;
}

/* Alinha a segunda coluna (Produto) à esquerda */
table tbody td:nth-child(2) {
  text-align: left;
  padding-left: 15px;
}

/* Garante que o container role se a tabela for muito grande */
.container {
    overflow-y: auto; /* Garante scroll vertical */
}

