


/* Fonte e base visual */
body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background-color: #9b59b6;
  scroll-behavior: smooth;
    margin:0; 
}

/*body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:  #121212;
  margin: 0;
}*/

/* menu responsivo*/

.menu-toggle {
  display: none;
  font-size: 24px;
  background: #9b59b6;
  color: white;
  border: none;
  cursor: pointer;
}

.navbar {
   background: #9b59b6; /* lilás */
  color: white;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .menu-toggle {
      display: inline-block;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      gap: 10px;
      background-color: #343a40;
      padding: 10px 0;
  }

  .nav-links.show {
      display: flex;
  }
}



.navbar a, .navbar span, .navbar button {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}





/*fim menu responsivo*/

/*conteudo dashborard*/
.content {
  max-width: 960px;
  margin: 40px auto;
  color:#F1F1F1;
  background: #1E1E1E;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
  margin-bottom: 20px;

}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.dashboard-mesas {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-between;
}




.card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  color:#A0A0A0;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}




.card h3 {
  margin-top: 0;
}


input, button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  box-sizing: border-box;
}

.buttons-laravel {
  background: #FF2D20;
  color: white;
  border: none;
  cursor: pointer;
}




.buttons-laravel:hover {
  background: #FF4E3A;
}


/*fim conteudo dashborard*/

/*msg erro login*/
.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}
/*fim msg erro login*/
/*dropdown de editar perfil  e  sair */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  border: none;
  background-color: #333;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-button:hover {
  border: none;
  background-color:  #333;
  color: white;
  font-size: 16px;
  cursor: pointer;
}


.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: #1E1E1E;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 1;
  border: 1px solid #333;
  border-radius: 6px;
}

.dropdown-menu a, .dropdown-menu button {
  color: #F1F1F1;
  padding: 10px 15px;
  display: block;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-menu a:hover, .dropdown-menu button:hover  {
  background-color: #333;
}

/*fim dropdown de editar perfil  e  sair */

/*foto de perfil user*/
.profile-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
}

/*fim foto de perfil user*/



/* tela de produtos*/

/* Estilizando botões com cores personalizadas */

.table td, .table th {
  padding: 12px 16px;
  vertical-align: middle;
}

.btn-lilas {
  background-color: #9b59b6;
  color: #fff;
  border: none;
}
.btn-lilas:hover {
  background-color: #8e44ad;
}

/* Estilização de inputs */
.form-control,
.form-select {
  background-color: #1f1f2e;
  color: #fff;
  border: 1px solid #444;
}

/* Shadow e padding */
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(155, 89, 182, 0.25);
}

.btn-amarelo {
  background-color: #f1c40f;
  color: #000;
  border: none;
}
.btn-amarelo:hover {
  background-color: #f39c12;
  color: #fff;
}

.btn-azul-neon {
  background-color: #00f7ff;
  color: #000;
  border: none;
}
.btn-azul-neon:hover {
  background-color: #00c0cc;
  color: #fff;
}

/* Tabela com estilo personalizado */
.table-dark-custom {
  background-color: #1e1e2f;
  color: #e0e0f0;
  border-collapse: collapse;
}


.table-dark-custom th,
.table-dark-custom td {
border: 1px solid #444;
vertical-align: middle;
word-wrap: break-word;
}

.table-dark-custom thead {
  background-color: #2d2d3f;
  color: #00f7ff;
}
.table-dark-custom tbody tr:hover {
  background-color: #2a2a3d;
}



@media (max-width: 768px) {
.table-dark-custom th,
.table-dark-custom td {
  font-size: 0.85rem;
  padding: 0.5rem;
}

.btn-sm {
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

h1 {
  font-size: 1.5rem;
}
}

.img-thumbnail {
  max-width: 70px;
  height: auto;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .img-thumbnail {
      max-width: 45px;
    }
}



.textarea-custom {
  width: 100%;
  min-height: 100px;
  max-height: 300px;
  resize: none; /* permite redimensionar apenas na vertical */
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #1c1c1c;
  color: white;
  white-space: pre-wrap;
}

/* Em telas menores, ajusta melhor o tamanho */
@media (max-width: 768px) {
  .textarea-custom {
    font-size: 0.9rem;
    padding: 8px;
    min-height: 80px;
  }
}

.col-notas {
  max-width: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Responsividade */
@media (max-width: 768px) {
 
  .col-notas {
    max-width: 150px;
    overflow: auto;
  }

}


@media (max-width: 768px) {
.table-dark-custom th,
.table-dark-custom td {
  font-size: 0.85rem;
  padding: 0.5rem;
}

.btn-sm {
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

h1 {
  font-size: 1.5rem;
}
}

.img-thumbnail {
  max-width: 70px;
  height: auto;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .img-thumbnail {
      max-width: 45px;
    }
}

@media (max-width: 576px) {

.table-dark-custom th,

.table-dark-custom td {
  font-size: 0.85rem;
  padding: 0.5rem;
}

.btn-sm {
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

h1 {
  font-size: 1.5rem;
}
}

.img-thumbnail {
  max-width: 70px;
  height: auto;
}


@media (max-width: 576px) {
  .hide-mobile {
    display: none;
  }

  .img-thumbnail {
      max-width: 45px;
    }
}






.textarea-custom {
  width: 100%;
  min-height: 100px;
  max-height: 300px;
  resize: none; /* permite redimensionar apenas na vertical */
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #1c1c1c;
  color: white;
  white-space: pre-wrap;
}



/*form de editar pedidos table de itens do pedido*/

.table-itens-pedido {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.table-itens-pedido td, .table-itens-pedido th {
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
}

/* Coluna de nome do produto */
.table-itens-pedido td:first-child {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* Coluna de ações */
.table-itens-pedido td:last-child {
  min-width: 100px;
  white-space: nowrap;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .table-itens-pedido {
      font-size: 0.85rem;
    }
  
    .table-itens-pedido td:first-child {
      max-width: 140px;
    }
  
    .table-itens-pedido td:last-child {
      min-width: 80px;
    }
  

 
}




/* Badges */


.badge-disponivel {
  background-color: #198754; /* verde */
  color: white;
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
  border-radius: 0.4rem;
}

.badge-indisponivel {
  background-color: #dc3545; /* vermelho */
  color: white;
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
  border-radius: 0.4rem;
}


/*modal add produtos pedido*/

/* Estilo básico do modal */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Para rolar caso o conteúdo seja grande */
  background-color: rgba(0,0,0,0.5); /* Fundo escuro */
}


.modal-dialog {
  background-color: #121212;
  margin: 15% auto; /* Centraliza na tela */
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
}






.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #8e44ad;
}



/* menu responsivo cardapio*/
/*
.navbar-cardapio {
  background: none;
  color: white;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.nav-left-cardapio {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cate a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 15em;
  padding: 8px;
  background:  #212529;
}

.nav-cate a:hover{
  color: purple;
  margin-right: 15px;
  text-decoration: none;
  border: 1px solid purple;
  border-radius: 20em;
  padding: 10px;
  
}



@media (max-width: 768px) {
  .menu-toggle {
      display: inline-block;
  }

  .nav-cate {
      display: none;
      flex-direction: column;
      gap: 10px;
      background-color: none;
      padding: 10px 0;
  }

  .nav-cate.show {
      display: flex;
      
  }
}



.navbar a, .navbar span, .navbar button {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}*/



/* Categorias com destaque */
.menu-categorias-scroll a.active {
  background-color: #a07aff;
  font-weight: bold;
}


 .navbar-cardapio {

  position: sticky;
  top: 0;
  background: #121212;
 gap: 1rem;
  z-index: 999;
  padding: 0.5rem 1rem;

}

 

.menu-categorias-scroll {
  flex: 1;
  overflow-x: auto;
  display: flex;
  gap: 10px;
  padding: 10px 0;
  white-space: nowrap;
}



.menu-categorias-scroll a {
  background-color: #2c2c2c;
  color: white;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s;
}

.menu-categorias-scroll a:hover {
  background-color: #444;
}

/* Responsivo: empilha no mobile */
 
@media (max-width: 768px) {
  .navbar-cardapio {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-categorias-scroll {
    width: 100%;
  }

  #link-car {
    width: 100%;
  }
}
   
   
   @media (max-width: 768px) {
  .menu-categorias-scroll { display: none; }
}

@media (min-width: 769px) {
  select.form-select { display: none; }
} 




/*fim menu responsivo*/



/* card produtos*/
/* Card Principal */


/* Fade suave */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Card do produto animado */
.card-produto {
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-produto:hover {
  transform: scale(1.02);
}

/*

.card-produto {
  background-color: #212529;  fundo escuro 
  color: #ffffff;  texto branco 
  border: 1px solid #6c757d;  borda cinza clara 
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.card-produto:hover {
  background-color: rgb(87, 84, 84);  fundo escuro 
  padding: 20px;
}

*/

/* Conteúdo */
.conteudo-produto {
flex: 1;
margin-left: 1rem;
color: white;
}


/* Título */
.conteudo-produto h5 {
  margin: 0;
  font-size: 18px;
}

/* Descrição */
.conteudo-produto .descricao {
  color: #ced4da; /* cinza mais claro */
  font-size: 14px;
  margin: 4px 0 8px;
}

/* Preço + Botão alinhados */
.preco-botao {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Preço */
.preco {
font-weight: bold;
color: #a07aff;
font-size: 1.2rem;
}

/* Botão de adicionar */
/*
.botao-adicionar {
background-color: #a07aff;
border: none;
color: white;
padding: 6px 12px;
border-radius: 6px;
transition: 0.2s;
}

.botao-adicionar:hover {
background-color: #8c5fe8;
}
*/


/* Botão */
.botao-adicionar {
  background-color: #a07aff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.botao-adicionar:hover {
  background-color: #8c5fe8;
}

/* Rodapé */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 576px) {
  .logo-nome-restaurante h1 {
    font-size: 1.4rem;
  }

  .logo-nome-restaurante img {
    max-width: 50px;
    height: 50px;
  }
}

.fundo-restaurante {
  background-image: url('/uploads/images/bg-restaurantebar.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 1rem;
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 0.6s ease;
}



/* Imagem */
.imagem-produto img {
max-width: 150px;
height: auto;
border-radius: 8px;
object-fit: cover;
}



/* Mobile: ajusta o layout */
@media (max-width: 768px) {
.card-produto {
  flex-direction: column;
  align-items: flex-start;
}

.conteudo-produto {
  margin-left: 0;
  margin-top: 1rem;
}

.preco-botao {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.imagem-produto {
  width: 100%;
  text-align: center;
}

.imagem-produto img {
  max-width: 100%;
  height: auto;
}

.botao-adicionar {
  width: 100%;
  text-align: center;
}

}

/*fim card produtos*/


#link-car{
  font-size: 16px;
  text-decoration: none;
  background:  #212529;
  color:white;

}


#link-car:hover{
  font-size: 18px;
  color: purple;

}

/*card mesa*/

.cardMesa {
  border: 1px solid #dee2e6;
  padding: 20px;
  border-radius: 10px;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
}


/* Cores de status mesa */
 
.cardMesa.livre {
  background-color: green; /* amarelo */
}

.cardMesa.ocupada {
  background-color: red; /* azul */
}

.cardMesa.aguardando-pedido {
  background-color:  orange; /* verde */
}

.cardMesa.outro {
  background-color:  wheat; /* verde */
}


.cardMesa h4 {
  margin-top: 0;
}

/* Imagem */

.imagem-iconmesa{
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

/*card de pedidos*/
.badge-pedido {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  color: white;
}

/* Cores de status */
.badge-pedido.novo {
  background-color: #ffc107; /* amarelo */
}

.badge-pedido.em-preparo {
  background-color: #0d6efd; /* azul */
}

.badge-pedido.pronto {
  background-color: #198754; /* verde */
}


.badge-pedido.entregue {
  background-color: #e61e14; /* vermelho */
}

.badge-pedido.outro {
  background-color: #6c757d; /* cinza */
}


/*div anotações pedido*/
.note-pedido {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap; /* Mantém quebras de linha manuais */
}

.carrinho-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

.carrinho-tabela {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
}

.carrinho-tabela th,
.carrinho-tabela td {
  white-space: nowrap;
  padding: 0.5rem;
  vertical-align: middle;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .carrinho-tabela {
    font-size: 0.85rem;
  }

  .carrinho-tabela th,
  .carrinho-tabela td {
    padding: 0.4rem;
  }

  .modal-dialog {
    margin: 1rem;
  }
}


@media (max-width: 576px) {
  .modal-dialog {
    max-width: 90% !important;
    margin: 1rem auto !important;
  }
}




