* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #ffffff;
  min-height: 100vh;
}

/* TOPO */

.topo {
  min-height: 90px;
  padding: 18px 28px;
  background: #101010;
  border-bottom: 1px solid #292929;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topo h1 {
  font-size: 23px;
  margin-bottom: 4px;
}

.topo p {
  color: #969696;
  font-size: 13px;
}

.topo-acoes {
  display: flex;
  gap: 12px;
}

.topo-acoes button {
  border: 1px solid #333;
  background: #191919;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.topo-acoes button:hover {
  background: #242424;
  border-color: #ff8a00;
}

/* CONTEÚDO */

.conteudo {
  width: min(1250px, 94%);
  margin: 0 auto;
  padding: 45px 0 70px;
}

.titulo-pagina {
  margin-bottom: 28px;
}

.titulo-pagina span {
  color: #aaa;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.titulo-pagina h2 {
  font-size: 32px;
  margin: 5px 0;
}

.titulo-pagina p {
  color: #aaa;
  font-size: 15px;
}

/* MESAS */

.mesas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1320px;
    margin: 0 auto;
}

.mesa {
  min-height: 170px;
padding: 18px;

  background: linear-gradient(145deg, #192632, #121c27);
border: 1px solid #2a3b4b;
border-radius: 17px;

  display: flex;
  flex-direction: column;

  transition: 0.2s;
}

.mesa:hover {
    transform: translateY(-3px);
    border-color: #b88952;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.mesa.ocupada {
  border-color: #ff4141;
}

.mesa-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mesa-label {
  color: #aaa;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.mesa-numero {
  font-size: 42px;
  font-weight: 800;
  margin-top: 7px;
}

.mesa-icone {
  background: #292929;
  width: 45px;
  height: 45px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 19px;
}

.mesa-status {
  text-align: center;
  margin: 10px 0 14px;
  font-size: 13px;
  font-weight: bold;
}

.mesa-status.livre {
  color: #36e59c;
}

.mesa-status.ocupada {
  color: #ff5151;
}

/* BOTÕES */

.mesa-acoes {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.btn-mesa {
  width: 100%;
  min-height: 52px;

  border: 1px solid #272727;
  border-radius: 11px;

  background: #151515;
  color: #fff;

  font-size: 14px;
  font-weight: bold;

  cursor: pointer;
  transition: 0.2s;
}

.btn-mesa:hover {
  border-color: #ff8a00;
  background: #1d1d1d;
}

.btn-adicionar {
  flex: 1.4;
}

.btn-fechar {
  flex: 1;
  color: #ff6666;
  border-color: #653030;
}

.btn-fechar:hover {
  background: #321919;
  border-color: #ff4b4b;
}

/* RESPONSIVO */

@media (max-width: 1000px) {
  .mesas {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 750px) {
  .mesas {
    grid-template-columns: repeat(2, 1fr);
  }

  .topo {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .mesas {
    grid-template-columns: 1fr;
  }

  .topo-acoes {
    width: 100%;
  }

  .topo-acoes button {
    flex: 1;
  }
}

/* =========================================
   CARDÁPIO DO PEDIDO
========================================= */

#produtosPedido {
    margin-top: 25px;
    width: 100%;
}

.categoria-cardapio {
    margin-bottom: 40px;
}

.categoria-titulo {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff8a00;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.produto-card {
    background: #171717;
    border: 1px solid #303030;
    border-radius: 14px;
    padding: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 170px;

    transition: transform 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.produto-card:hover {
    transform: translateY(-3px);
    border-color: #ff8a00;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.produto-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.produto-info strong {
    color: #ffffff;
    font-size: 17px;
}

.produto-info small {
    color: #999;
    font-size: 13px;
    line-height: 1.4;
}

.produto-preco {
    color: #32e875;
    font-size: 19px;
    font-weight: 800;
    margin-top: 5px;
}

.btn-adicionar-produto {
    width: 100%;
    margin-top: 16px;
    padding: 11px 14px;

    border: none;
    border-radius: 9px;

    background: #ff8a00;
    color: #111;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s;
}

.btn-adicionar-produto:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}


/* TABLET */

@media (max-width: 1000px) {

    .produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* CELULAR */

@media (max-width: 650px) {

    .produtos-grid {
        grid-template-columns: 1fr;
    }

    .produto-card {
        min-height: auto;
    }

    .categoria-titulo {
        font-size: 19px;
    }

}

/* ============================
   TELA DE PAGAMENTO
============================ */

#telaPagamento {
    min-height: 100vh;
    padding: 30px;
    background: #111;
    color: white;
}

.pagamento-container {
    max-width: 650px;
    margin: 0 auto;
}

.pagamento-card {
    margin-top: 30px;
    padding: 35px;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 18px;
    text-align: center;
}

.pagamento-card > p:first-child {
    margin-bottom: 5px;
    color: #aaa;
    font-size: 16px;
}

#totalPagamento {
    margin: 5px 0 30px;
    font-size: 42px;
    font-weight: 800;
}

.pagamento-card h3 {
    margin-bottom: 18px;
    font-size: 18px;
}

.formas-pagamento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.formas-pagamento button {
    padding: 18px 10px;
    border: 1px solid #444;
    border-radius: 12px;
    background: #292929;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.formas-pagamento button:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

#formaSelecionada {
    margin: 25px 0 15px;
    color: #bbb;
    font-weight: 600;
}

#btnConfirmarPagamento {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

#btnConfirmarPagamento:hover {
    opacity: 0.9;
}

#btnConfirmarPagamento:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 600px) {
    #telaPagamento {
        padding: 18px;
    }

    .pagamento-card {
        padding: 25px 18px;
    }

    .formas-pagamento {
        grid-template-columns: 1fr;
    }

    #totalPagamento {
        font-size: 36px;
    }
}

/* =================================
   TELA DE PRODUÇÃO
================================= */

#telaProducao {
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 20px;
}

.lista-producao {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 25px;
}

/* CARD DE CADA MESA */
.mesa-producao {
    background: #171717;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.mesa-producao > h2 {
    font-size: 25px;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
    color: #fff;
}

/* CADA PRODUTO */
.produto-producao {
    background: #222;
    border: 1px solid #363636;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.produto-producao strong {
    display: block;
    color: #fff;
    font-size: 17px;
    margin-bottom: 7px;
}

.produto-producao p {
    color: #bbb;
    margin: 3px 0;
    font-size: 14px;
}

/* BOTÕES */
.acoes-producao {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
}

.acoes-producao button {
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.acoes-producao button:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.acoes-producao button:nth-child(1) {
    background: #f0ad31;
    color: #111;
}

.acoes-producao button:nth-child(2) {
    background: #20c875;
    color: #071b11;
}

.acoes-producao button:nth-child(3) {
    background: #e74c4c;
    color: white;
}

/* IMPRIMIR PEDIDO */
.btn-imprimir {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 9px;
    background: #2c2c2c;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.btn-imprimir:hover {
    background: #383838;
}

/* CELULAR / TELAS MENORES */
@media (max-width: 900px) {
    .lista-producao {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .lista-producao {
        grid-template-columns: 1fr;
    }
}

/* STATUS DA PRODUÇÃO */
.status-producao {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px !important;
    font-weight: 800;
    margin: 7px 0 !important;
}

.status-pendente {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107 !important;
    border: 1px solid #ffc107;
}

.status-preparo {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800 !important;
    border: 1px solid #ff9800;
}

.status-entregue {
    background: rgba(32, 200, 117, 0.15);
    color: #20c875 !important;
    border: 1px solid #20c875;
}

.status-cancelado {
    background: rgba(231, 76, 76, 0.15);
    color: #e74c4c !important;
    border: 1px solid #e74c4c;
}

/* BOTÃO VOLTAR - PRODUÇÃO */
#telaProducao .btn-voltar {
    background: #1f1f1f;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 18px;
}

#telaProducao .btn-voltar:hover {
    background: #2c2c2c;
    border-color: #555;
    transform: translateX(-3px);
}

/* CABEÇALHO DA PRODUÇÃO */
#telaProducao .titulo-pagina {
    margin-bottom: 28px;
}

#telaProducao .titulo-pagina span {
    display: inline-block;
    color: #f5a623;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#telaProducao .titulo-pagina h2 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.1;
}

#telaProducao .titulo-pagina h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background: #f5a623;
    border-radius: 10px;
    margin-top: 12px;
}

#telaProducao .titulo-pagina p {
    color: #a8a8a8;
    font-size: 15px;
    margin-top: 14px;
}

/* SOBE O CONTEÚDO DA TELA DE PRODUÇÃO */
#telaProducao {
    width: calc(100vw - 60px) !important;
    max-width: none !important;
    box-sizing: border-box;

    margin-left: calc((100vw - 100%) / -2 + 30px) !important;
    margin-top: -55px !important;

    padding: 10px 30px 40px !important;
    transform: none !important;
}

/* ================================
   PAINEL FINANCEIRO
================================ */

#telaFinanceiro {
    width: 100%;
}

#resumoFinanceiro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

#resumoFinanceiro > div {
    background: #191919;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 22px;
    min-height: 105px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#resumoFinanceiro span {
    display: block;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

#resumoFinanceiro h3 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    font-weight: 800;
}

#resumoFinanceiro > div:first-child {
    border-color: #f5a623;
}

#resumoFinanceiro > div:first-child h3 {
    color: #f5a623;
}

@media (max-width: 900px) {
    #resumoFinanceiro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #resumoFinanceiro {
        grid-template-columns: 1fr;
    }
}

/* =================================
   HISTÓRICO DE CAIXAS
================================= */

#historicoCaixas {
    margin-top: 30px;
}

#historicoCaixas > h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

#listaHistoricoCaixas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fechamento-card {
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.fechamento-card h3 {
    color: #f0ad31;
    font-size: 17px;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.fechamento-card p {
    margin: 8px 0;
    color: #ddd;
    font-size: 15px;
}

.fechamento-card p strong {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 900px) {
    #listaHistoricoCaixas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #listaHistoricoCaixas {
        grid-template-columns: 1fr;
    }
}
/* =================================
   BOTÕES DO FINANCEIRO
================================= */

.acoes-financeiro {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

/* FECHAR CAIXA */
#btnFecharCaixa {
    background: #e74c4c;
    color: #fff;
    border: 1px solid #ff6565;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

#btnFecharCaixa:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

/* HISTÓRICO DE CAIXAS */
#btnHistoricoCaixa {
    background: #242424;
    color: #fff;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

#btnHistoricoCaixa:hover {
    background: #333;
    transform: translateY(-2px);
}

/* BOTÃO VOLTAR - FINANCEIRO */
#telaFinanceiro > .btn-voltar {
    background: #242424;
    color: #fff;
    border: 1px solid #444;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 18px;
    transition: 0.2s;
}

#telaFinanceiro > .btn-voltar:hover {
    background: #333;
    border-color: #666;
    transform: translateX(-2px);
}

/* BOTÃO EXCLUIR FECHAMENTO */
.btn-excluir-fechamento {
    margin-top: 14px;
    padding: 9px 14px;

    background: rgba(231, 76, 76, 0.12);
    color: #ff5c5c;

    border: 1px solid #e74c4c;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s;
}

.btn-excluir-fechamento:hover {
    background: #e74c4c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(231, 76, 76, 0.25);
}

.btn-excluir-fechamento:active {
    transform: scale(0.97);
}

/* BOTÃO VOLTAR - TELA DO PEDIDO */
#telaPedido .btn-voltar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #181818;
    color: #ffffff;

    border: 1px solid #333;
    border-radius: 10px;

    padding: 10px 18px;
    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

#telaPedido .btn-voltar:hover {
    background: #252525;
    border-color: #ff8a00;
    transform: translateY(-1px);
}

/* BOTÃO ENVIAR PEDIDO */
.btn-enviar-pedido {
    width: 100%;
    margin-top: 12px;
    padding: 14px 20px;

    background: #ff8a00;
    color: #000;

    border: none;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s ease;
}

.btn-enviar-pedido:hover {
    background: #ff9f2b;
    transform: translateY(-1px);
}

.btn-enviar-pedido:active {
    transform: scale(0.98);
}

/* PRODUTOS PARA SELECIONAR NO PAGAMENTO */
#listaItensPagamento label {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 14px 16px;
    margin: 8px 0;

    background: #292929;
    border: 2px solid #444;
    border-radius: 10px;

    color: #fff;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

#listaItensPagamento label:hover {
    border-color: #ff8a00;
    background: #333;
}

/* CHECKBOX MAIOR */
#listaItensPagamento input[type="checkbox"] {
    width: 21px;
    height: 21px;
    flex-shrink: 0;

    accent-color: #ff8a00;
    cursor: pointer;
}

/* BOTÃO VOLTAR - PAGAMENTO */
.btn-voltar-pagamento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 18px;
    margin-bottom: 10px;

    background: #1c1c1c;
    color: #ffffff;

    border: 1px solid #3a3a3a;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.btn-voltar-pagamento:hover {
    background: #292929;
    border-color: #ff8a00;
    transform: translateY(-1px);
}

.btn-voltar-pagamento:active {
    transform: scale(0.97);
}

/* BOTÃO VOLTAR - TELA DE PAGAMENTO */
#telaPagamento .btn-voltar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    margin-bottom: 12px;

    background: #1c1c1c;
    color: #ffffff;

    border: 1px solid #3a3a3a;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

#telaPagamento .btn-voltar:hover {
    background: #292929;
    border-color: #ff8a00;
    transform: translateY(-1px);
}

/* LISTA DE PRODUTOS NO PAGAMENTO */
#listaProdutosPagamento {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

/* CADA PRODUTO */
#listaProdutosPagamento label {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    box-sizing: border-box;

    background: #262626;
    color: #ff8a00; /* COR DO NOME DO PRODUTO */
    border: 1px solid #444;

    border-radius: 10px;
    padding: 13px 15px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s;
}

/* QUANDO PASSAR O MOUSE */
#listaProdutosPagamento label:hover {
    background: #303030;
    border-color: #ff8a00;
}

/* CHECKBOX */
#listaProdutosPagamento input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;

    accent-color: #ff8a00;
    cursor: pointer;
}

/* CORRIGE ESPAÇAMENTO DA ÁREA DE PAGAMENTO */
#listaProdutosPagamento {
    margin-bottom: 18px;
}

#totalSelecionado {
    display: block;
    margin: 12px 0 20px;
    font-size: 17px;
    font-weight: 700;
}

/* Evita elementos grudados na lista */
.pagamento-produtos {
    margin-bottom: 20px;
}

/* =========================
   CARRINHO / PEDIDO DA MESA
========================= */

#carrinhoMesa {
    background: #181818;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 18px;
    margin: 20px 0 25px;
}

#carrinhoMesa h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #ffffff;
}

/* CADA PRODUTO DO CARRINHO */
#itensCarrinho > div {
    background: #242424;
    border: 1px solid #3a3a3a;
    border-radius: 10px;

    padding: 12px 14px;
    margin-bottom: 10px;

    color: #ffffff;
}

/* BOTÕES - E + */
#itensCarrinho button {
    min-width: 32px;
    height: 32px;

    margin: 8px 3px 0;
    padding: 0 9px;

    background: #333;
    color: #ffffff;

    border: 1px solid #555;
    border-radius: 7px;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;

    transition: 0.2s;
}

#itensCarrinho button:hover {
    background: #ff8a00;
    color: #000;
    border-color: #ff8a00;
}

/* TOTAL */
.carrinho-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #444;

    font-size: 18px;
    color: #ffffff;
}

#totalCarrinho {
    color: #ff8a00;
    font-size: 22px;
}

/* =========================
   PAINEL ADMIN
========================= */

#telaAdmin {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.admin-card {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    color: white;
    text-align: left;
    cursor: pointer;

    transition: 0.2s ease;
}

.admin-card > span {
    font-size: 30px;
    margin-bottom: 8px;
}

.admin-card strong {
    font-size: 20px;
    color: #ffffff;
}

.admin-card small {
    font-size: 14px;
    color: #aaa;
}

.admin-card:hover {
    background: #242424;
    border-color: #ff8a00;
    transform: translateY(-3px);
}

/* ============================= */
/* ADMIN - LISTA DE PRODUTOS */
/* ============================= */

#listaAdminProdutos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.admin-produto-card {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;

    display: flex;
    flex-direction: column;
    gap: 6px;

    color: #fff;
}

.admin-produto-card strong {
    font-size: 17px;
    color: #fff;
}

.admin-produto-card span {
    font-size: 14px;
    color: #aaa;
}

.admin-produto-card span:last-child {
    color: #ff8a00;
    font-size: 17px;
    font-weight: 700;
}

/* BOTÕES DOS PRODUTOS NO ADMIN */
.admin-produto-botoes {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.admin-produto-botoes button {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

/* EDITAR */
.btn-editar-produto {
    background: #2b2b2b;
    color: #fff;
    border: 1px solid #555;
}

.btn-editar-produto:hover {
    background: #3a3a3a;
}

/* EXCLUIR */
.btn-excluir-produto {
    background: #3a1818;
    color: #ff6b6b;
    border: 1px solid #7a3030;
}

.btn-excluir-produto:hover {
    background: #522020;
}

/* BOTÃO DESATIVAR PRODUTO */
.btn-desativar-produto {
    background: #3a2d12;
    color: #ffb020;
    border: 1px solid #765515;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
}

.btn-desativar-produto:hover {
    background: #503d16;
    border-color: #ffb020;
    transform: translateY(-1px);
}

/* BOTÃO ATIVAR PRODUTO */
.btn-ativar-produto {
    background: #16351f;
    color: #4ade80;
    border: 1px solid #28643a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
}

.btn-ativar-produto:hover {
    background: #1d4729;
    border-color: #4ade80;
    transform: translateY(-1px);
}

/* BOTÕES DO FORMULÁRIO DE EDIÇÃO */
.admin-form-botoes {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.admin-form-botoes button {
    flex: 1;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

/* SALVAR ALTERAÇÕES */
#btnSalvarEdicaoProduto {
    background: #ff8a00;
    color: #000;
    border: 1px solid #ff8a00;
}

#btnSalvarEdicaoProduto:hover {
    background: #ffa126;
    border-color: #ffa126;
    transform: translateY(-1px);
}

/* CANCELAR */
#btnCancelarEdicaoProduto {
    background: #292929;
    color: #fff;
    border: 1px solid #4a4a4a;
}

#btnCancelarEdicaoProduto:hover {
    background: #353535;
    border-color: #666;
    transform: translateY(-1px);
}

/* =========================================
   ADMIN - EDITAR PRODUTO
========================================= */

#telaAdminProdutos {
    padding: 40px 24px;
}

/* Botão Novo Produto */
#btnNovoProduto {
    background: linear-gradient(135deg, #ffb52e, #d98200);
    color: #111;
    border: 1px solid #f5a000;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 14px;
    transition: 0.2s;
}

#btnNovoProduto:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Caixa do formulário */
#formEditarProduto {
    background: linear-gradient(
        145deg,
        #121212,
        #0b0b0b
    );

    border: 1px solid #8a5a12;
    border-radius: 20px;

    padding: 28px;
    margin-top: 8px;
    margin-bottom: 30px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 174, 0, 0.08);
}

/* Título Editar Produto */
#formEditarProduto h3 {
    color: #ffffff;
    font-size: 27px;
    margin: 0 0 25px 0;
}

/* Labels */
#formEditarProduto label {
    display: block;
    color: #bdbdbd;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}

/* Campos */
#formEditarProduto input {
    width: 100%;
    box-sizing: border-box;

    background: #161616;
    color: #ffffff;

    border: 1px solid #5f451d;
    border-radius: 12px;

    padding: 14px 16px;
    margin-bottom: 18px;

    font-size: 15px;
    outline: none;

    transition: 0.2s;
}

#formEditarProduto input:focus {
    border-color: #f5a000;
    box-shadow: 0 0 0 3px rgba(245, 160, 0, 0.12);
}

/* Placeholder */
#formEditarProduto input::placeholder {
    color: #777;
}

/* Área dos botões */
.admin-form-botoes {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* Salvar */
#btnSalvarEdicaoProduto {
    background: linear-gradient(135deg, #ffbd3d, #ef8f00);
    color: #111;

    border: none;
    border-radius: 12px;

    padding: 14px 25px;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s;
}

#btnSalvarEdicaoProduto:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Cancelar */
#btnCancelarEdicaoProduto {
    background: #242424;
    color: #ffffff;

    border: 1px solid #444;
    border-radius: 12px;

    padding: 14px 25px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s;
}

#btnCancelarEdicaoProduto:hover {
    background: #303030;
}

/* Celular */
@media (max-width: 700px) {
    #formEditarProduto {
        padding: 20px;
        border-radius: 15px;
    }

    .admin-form-botoes {
        flex-direction: column;
    }

    #btnSalvarEdicaoProduto,
    #btnCancelarEdicaoProduto {
        width: 100%;
    }
}

/* =========================================
   LISTA DE PRODUTOS - ADMIN
========================================= */

.admin-produtos-lista {
    margin-top: 35px;
}

.admin-produtos-lista h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 18px;
}

/* Grade */
#listaAdminProdutos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* Card de cada produto */
#listaAdminProdutos > div {
    background: #181818;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 18px;

    min-height: 135px;

    display: flex;
    flex-direction: column;

    transition: 0.2s ease;
}

#listaAdminProdutos > div:hover {
    border-color: #555;
    transform: translateY(-2px);
}

/* Nome */
#listaAdminProdutos h4,
#listaAdminProdutos h3 {
    color: #fff;
    font-size: 17px;
    margin: 0 0 7px;
}

/* Categoria e preço */
#listaAdminProdutos p {
    color: #aaa;
    margin: 3px 0;
    font-size: 14px;
}

/* Área dos botões */
#listaAdminProdutos > div > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    margin-top: auto;
    padding-top: 18px;
}

/* Todos os botões */
#listaAdminProdutos button {
    min-height: 42px;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

/* Desativar */
#listaAdminProdutos .btn-desativar-produto {
    background: #493400;
    border: 1px solid #8a6200;
    color: #ffb300;
}

/* Ativar */
#listaAdminProdutos .btn-ativar-produto {
    background: #073b1d;
    border: 1px solid #12602f;
    color: #49d17d;
}

/* Editar */
#listaAdminProdutos .btn-editar-produto {
    background: #292929;
    border: 1px solid #4b4b4b;
    color: #fff;
}

/* Excluir */
#listaAdminProdutos .btn-excluir-produto {
    background: #451717;
    border: 1px solid #7b2929;
    color: #ff6262;
}

/* Efeito */
#listaAdminProdutos button:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

/* Celular */
@media (max-width: 750px) {
    #listaAdminProdutos {
        grid-template-columns: 1fr;
    }

    #listaAdminProdutos > div > div:last-child {
        grid-template-columns: 1fr;
    }
}

/* BARRA DE PESQUISA DOS PRODUTOS */

.admin-pesquisa-produtos {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    box-sizing: border-box;

    background: #181818;
    border: 1px solid #3a3a3a;
    border-radius: 12px;

    padding: 0 16px;
    margin: 0 0 20px 0;

    transition: 0.2s;
}

.admin-pesquisa-produtos:focus-within {
    border-color: #f5a000;
    box-shadow: 0 0 0 3px rgba(245, 160, 0, 0.12);
}

.admin-pesquisa-produtos span {
    font-size: 18px;
}

#pesquisaAdminProdutos {
    width: 100%;
    height: 50px;

    background: transparent;
    color: white;

    border: none;
    outline: none;

    font-size: 15px;
}

#pesquisaAdminProdutos::placeholder {
    color: #777;
}

/* ===============================
   BOTÃO VOLTAR - ADMIN
================================ */

.btn-voltar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: #181818;
    color: #ffffff;

    border: 1px solid #3b3b3b;
    border-radius: 10px;

    padding: 9px 16px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.2s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-voltar-seta {
    color: #f5a000;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-voltar:hover {
    background: #222222;
    border-color: #f5a000;
    color: #f5a000;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(245, 160, 0, 0.12);
}

.btn-voltar:hover .btn-voltar-seta {
    transform: translateX(-3px);
}

.btn-voltar:active {
    transform: translateY(0);
}

/* =====================================
   PAINEL ADMINISTRATIVO - CARDS
===================================== */

.admin-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin-top: 25px;
}

.admin-card {
    width: 100% !important;
    min-height: 155px !important;

    box-sizing: border-box;

    background: #1c1c1c;
    border: 1px solid #383838;
    border-radius: 15px;

    padding: 25px;

    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    text-align: left;
    cursor: pointer;

    transition: 0.2s ease;
}

.admin-card:hover {
    border-color: #f5a000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 160, 0, 0.10);
}

.admin-card span {
    font-size: 27px;
    margin-bottom: 14px;
}

.admin-card strong {
    color: #fff;
    font-size: 20px;
    margin-bottom: 7px;
}

.admin-card small {
    color: #aaa;
    font-size: 14px;
}



/* CORREÇÃO FINAL - GRID DO PAINEL ADMIN */



#telaAdmin .admin-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

#telaAdmin .admin-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 155px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ========================================
   ADMIN - CATEGORIAS
======================================== */

#telaAdminCategorias {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

#telaAdminCategorias > button:not(.btn-voltar) {
    background: #f5a000;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin: 20px 0 30px;
    transition: 0.2s ease;
}

#telaAdminCategorias > button:not(.btn-voltar):hover {
    background: #ffb020;
    transform: translateY(-2px);
}

#telaAdminCategorias h3 {
    color: #fff;
    font-size: 22px;
    margin: 15px 0;
}

/* FORMULÁRIO */

#formCategoria {
    background: #1c1c1c;
    border: 1px solid #383838;
    border-radius: 15px;
    padding: 25px;
    margin: 15px 0 30px;
}

#formCategoria label {
    display: block;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

#formCategoria input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 15px;
    outline: none;
    margin-bottom: 18px;
}

#formCategoria input[type="text"]:focus {
    border-color: #f5a000;
}

/* BOTÕES DO FORMULÁRIO */

#formCategoria button {
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
}

#formCategoria button:first-of-type {
    background: #f5a000;
    color: #000;
}

#formCategoria button:last-of-type {
    background: #292929;
    color: #fff;
    border: 1px solid #444;
}

/* LISTA DE CATEGORIAS */

#listaAdminCategorias {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 700px) {
    #listaAdminCategorias {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   ADMIN - CONFIGURAÇÕES
===================================== */

.configuracoes-container {
    max-width: 700px;
    margin-top: 30px;
    padding: 28px;
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.configuracoes-container label {
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    margin-top: 8px;
}

.configuracoes-container input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;

    background: #111;
    color: white;

    border: 1px solid #444;
    border-radius: 9px;

    font-size: 15px;
    outline: none;
}

.configuracoes-container input:focus {
    border-color: #ff9f00;
}

.configuracoes-container {
    width: 100%;
    max-width: none;
    box-sizing: border-box;

    margin-top: 30px;
    padding: 28px;

    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.configuracoes-container button {
    width: 100%;
    margin-top: 14px;
    padding: 15px 20px;

    background: #ffa500;
    color: #000;

    border: none;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;
    cursor: pointer;

    transition: 0.2s;
}

.configuracoes-container button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* LISTA DE GARÇONS */
.lista-garcons {
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.garcom-item {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    background: #121212;
    border: 1px solid #353535;
    border-radius: 10px;
}

/* Nome do garçom */
.garcom-item span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;

    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botão excluir */
.garcom-item .btn-excluir-garcom {
    width: auto !important;
    min-width: 95px;
    margin: 0 !important;
    padding: 9px 14px;

    background: #d9363e;
    color: #ffffff;

    border: none;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.garcom-item .btn-excluir-garcom:hover {
    background: #ef4444;
}

/* =========================
   VENDA RÁPIDA
========================= */

#telaVendaRapida {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.venda-rapida-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: start;
}

.venda-rapida-produtos {
    background: #151515;
    border: 1px solid #2c2c2c;
    border-radius: 14px;
    padding: 20px;
}

#produtosVendaRapida {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.venda-rapida-produto {
    background: #202020;
    border: 1px solid #363636;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.venda-rapida-produto strong {
    font-size: 16px;
    color: white;
}

.venda-rapida-produto span {
    font-size: 13px;
    color: #aaa;
}

.venda-rapida-produto b {
    color: #ff9800;
    font-size: 16px;
}

.venda-rapida-carrinho {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.pesquisa-produtos {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #202020;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px 14px;
}

.pesquisa-produtos input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 15px;
}

.venda-rapida-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

#totalVendaRapida {
    color: #ff9800;
    font-size: 20px;
}

#btnFinalizarVendaRapida {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #ff9800;
    color: #111;
    font-weight: bold;
    cursor: pointer;
}

/* =================================
   CONTROLES - VENDA RÁPIDA
================================= */

.venda-rapida-item-controles {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botões de menos e mais */
.venda-rapida-item-controles button {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    border: 1px solid #444;
    background: #2a2a2a;

    color: #fff;
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s ease;
}

.venda-rapida-item-controles button:hover {
    background: #3a3a3a;
    border-color: #666;
    transform: translateY(-1px);
}

.venda-rapida-item-controles button:active {
    transform: scale(0.94);
}

/* Lixeira */
.venda-rapida-item-controles .btn-remover-venda-rapida {
    background: rgba(255, 70, 70, 0.12);
    border-color: rgba(255, 70, 70, 0.4);
    color: #ff4d4d;
}

.venda-rapida-item-controles .btn-remover-venda-rapida:hover {
    background: #ff3b3b;
    border-color: #ff3b3b;
    color: white;
}

/* =================================
   PAGAMENTO - VENDA RÁPIDA
================================= */

.venda-rapida-pagamento {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.venda-rapida-pagamento > span {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #aaa;
}

.venda-rapida-formas {
    display: flex;
    gap: 8px;
}

.btn-forma-venda-rapida {
    flex: 1;
    padding: 11px 8px;

    background: #292929;
    color: #fff;

    border: 1px solid #444;
    border-radius: 8px;

    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-forma-venda-rapida:hover {
    background: #353535;
    border-color: #666;
}

/* Forma selecionada */
.btn-forma-venda-rapida.selecionado {
    background: #ff9800;
    border-color: #ff9800;
    color: #111;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.15);
}

/* =========================
   TELA DE LOGIN
========================= */

.tela-login {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at top, #242424 0%, #111 45%, #050505 100%);

    z-index: 9999;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;

    background: #181818;
    border: 1px solid #333;
    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);

    display: flex;
    flex-direction: column;
}

.login-card h1 {
    margin: 0;
    text-align: center;

    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
}

.login-card > p {
    margin: 8px 0 30px;
    text-align: center;

    color: #999;
    font-size: 14px;
}

.login-card label {
    color: #ddd;
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 7px;
}

.login-card input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;
    margin-bottom: 18px;

    background: #101010;
    color: white;

    border: 1px solid #3a3a3a;
    border-radius: 9px;

    font-size: 15px;
    outline: none;

    transition: 0.2s;
}

.login-card input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.12);
}

#btnEntrar,
#btnCriarConta {
    width: 100%;

    padding: 14px;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s;
}

#btnEntrar {
    margin-top: 5px;

    background: #ff9800;
    color: #111;

    border: none;
}

#btnEntrar:hover {
    background: #ffad2f;
    transform: translateY(-1px);
}

#btnCriarConta {
    margin-top: 10px;

    background: transparent;
    color: #fff;

    border: 1px solid #444;
}

#btnCriarConta:hover {
    border-color: #ff9800;
    color: #ff9800;
}

#mensagemLogin {
    min-height: 20px;

    margin: 15px 0 0;

    text-align: center;
    font-size: 14px;
    color: #ff9800;
}

/* FORÇAR LOGIN NO CENTRO DA TELA */
#telaLogin {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: flex;
    justify-content: center !important;
    align-items: center !important;

    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

#telaLogin .login-card {
    margin: 0 !important;
}

#telaLogin {
    position: fixed !important;

    width: 100vw !important;
    height: 100vh !important;

    top: 0 !important;
    left: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block;

    z-index: 9999;
}

#telaLogin .login-card {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    margin: 0 !important;
}

/* CAMPO NOME DO CLIENTE */
.campo-nome-cliente {
    margin-top: 18px;
    margin-bottom: 14px;
}

.campo-nome-cliente label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 7px;
}

.campo-nome-cliente input {
    width: 100%;
    padding: 13px 15px;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s;
}

.campo-nome-cliente input::placeholder {
    color: #888;
}

.campo-nome-cliente input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.15);
}

/* =========================================
   UPLOAD DE IMAGEM DO PRODUTO
========================================= */

#editarProdutoImagem {
    width: 100%;
    background: #181818;
    border: 1px solid #5c4100;
    border-radius: 12px;
    padding: 8px;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

#editarProdutoImagem:hover {
    border-color: #ffa500;
    background: #1d1d1d;
}

#editarProdutoImagem::file-selector-button {
    border: none;
    background: linear-gradient(135deg, #ffb000, #ff8c00);
    color: #000;
    font-weight: 700;
    padding: 12px 18px;
    margin-right: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

#editarProdutoImagem::file-selector-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.admin-produto-imagem {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    display: block;
}

.admin-produto-sem-imagem {
    width: 100%;
    height: 160px;
    background: #222;
    border-radius: 10px;
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;
    font-size: 14px;
}

#editarProdutoCategoria {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: #181818;
    color: #ffffff;
    border: 1px solid #55401b;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
}

#editarProdutoCategoria:focus {
    outline: none;
    border-color: #ffa500;
}

/* BOTÕES EDITAR CATEGORIAS */
.admin-categoria-card button {
    background: #ff9f00;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    margin-left: 10px;
    transition: 0.2s ease;
}

.admin-categoria-card button:hover {
    background: #ffba42;
    transform: translateY(-2px);
}

.admin-categoria-card button:active {
    transform: scale(0.96);
}


#btnCadastrar,
#btnVoltarLogin {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

#btnCadastrar {
    background: #ff9800;
    color: #111;
    border: none;
}

#btnVoltarLogin {
    background: transparent;
    color: #ff9800;
    border: 1px solid #ff9800;
}

#btnCadastrar:hover {
    background: #ffad33;
}

#btnVoltarLogin:hover {
    background: #292118;
}
/* ==================================
   DESIGN MODERNO - AUTENTICAÇÃO
================================== */

.tela-login {
    background:
        radial-gradient(
            circle at center,
            #242424 0%,
            #101010 55%,
            #050505 100%
        );

    min-height: 100vh;
}
/* BOTÃO ESQUECEU A SENHA */

#btnEsqueceuSenha {
    display: block;
    width: 100%;
    margin: 12px 0;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #ff9800;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
}

#btnEsqueceuSenha:hover {
    background: rgba(255, 152, 0, 0.1);
    color: #ffb347;
}
/* DARK PREMIUM — FUNDO DO SISTEMA */
body {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #1a2c38 0%,
            #0c151e 48%,
            #070c12 100%
        );
    background-attachment: fixed;
}
/* DARK PREMIUM — BOTÕES DAS MESAS */
.mesa button {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid #344657;
    color: #e9edf2;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mesa button:hover {
    background: #263746;
    border-color: #c99455;
}
/* Logo System Brothers no cabeçalho */


/* Logo System Brothers */
.topo .logo-sistema {
    display: block;
    width: 350px;
    height: 75px;
    object-fit: contain;
    object-position: left center;
}

/* Cabeçalho compacto */
.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 24px;
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .topo .logo-sistema {
        width: 170px;
        height: 60px;
    }
}
/* Logo System Brothers na tela de login */
.login-marca {
    margin: 0 0 15px;
    text-align: center;
}

.login-marca img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}