:root {
    --cor-primaria: #333333; /* Alterado de #FF4B2B para cinza escuro */
    --cor-secundaria: #666666; /* Alterado de #FF416C para cinza médio */
    --cor-texto: #333333;
    --cor-fundo: #f5f5f5;
    --cor-branca: #ffffff;
    --cor-erro: #dc3545;
    --cor-sucesso: #28a745;
    --cor-info: #17a2b8;
    --cor-alerta: #ffc107;
    --sombra-suave: 0 2px 10px rgba(0, 0, 0, 0.1);
    --borda-radius: 12px;
    --espacamento: 1rem;
}
.card-header-principal{
    font-size: 100%;
    color: #495057;
}
@media (max-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 100%;
    }
}
/* Layout Principal - Melhorado */
.conteudo-principal {
  
    display: flex;
        margin-left: 19%;
       
        width: 80%;
      
        box-sizing: border-box;
        align-content: space-between;
        flex-wrap: nowrap;
        /* transition: all 0.3s ease; */
        flex-direction: column;


}

/* Melhorar espaçamento entre cards */
.row {
    margin-bottom: 30px;
}

/* Melhorar cabeçalhos principais */
.card-header-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header-principal h2 {
    margin: 0;
    color: #333333;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-header h3 {
  margin: 0;
    color: var(--cor-texto);
    font-size: 16px;
    color: #3b3b3b;
    font-weight: 600;
}

.card-header-principal h2 i {
    color: var(--primary-color);
    font-size: 24px;
    background-color: var(--icon-background);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adicionar ícones mais destacados */
.card-header h3 i {
    font-size: 20px;
    background-color: var(--icon-background);
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* Melhorar cabeçalhos dos cards */
.card-header {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 15px 20px;
    border-bottom: 2px solid #eee;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Botões */
.btn-adicionar, .btn-voltar {
    background: linear-gradient(45deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branca);
    padding: 0.8rem 1.5rem;
    border-radius: var(--borda-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-adicionar:hover, .btn-voltar:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-suave);
    color: var(--cor-branca);
}

/* Alertas */
.alerta {
    padding: 1rem;
    border-radius: var(--borda-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alerta-sucesso {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--cor-sucesso);
}

.alerta-erro {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--cor-erro);
}

.alerta-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--cor-info);
}

/* Melhorar cards de resumo */
.card-body.text-center {
    padding: 30px 20px;
    text-align: center;
}

.card-body.text-center h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card-body.text-center p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Cards e Tabelas */
.card-conteudo {
    background: var(--cor-branca);
    border-radius: var(--borda-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-conteudo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tabela-responsiva {
    overflow-x: auto;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
}

.tabela {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

.tabela th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #eee;
}

.tabela td {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    vertical-align: middle;
}

.tabela tr:hover {
    background-color: #f9f9f9;
}

/* Elementos da Tabela */
.arraste-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: move;
}

.imagem-prato {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.imagem-prato img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imagem-prato img:hover {
    transform: scale(1.1);
}

/* Badges e Status */
.preco-badge {
    background: rgba(23, 162, 184, 0.1);
    color: var(--cor-info);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
}

.categoria-badge {
    background: var(--icon-background);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
}

.mesa-btn {
    border: 3px solid transparent;
}

.mesa-btn[data-status="confirmado"] {
    border-color: #FF0000;
}

.mesa-btn[data-status="preparo"] {
    border-color: #2196F3;
}

.mesa-btn[data-status="entrega"] {
    border-color: #4CAF50;
}

.status-badge.disponivel {
    background: rgba(40, 167, 69, 0.1);
    color: var(--cor-sucesso);
}

.status-badge.indisponivel {
    background: rgba(220, 53, 69, 0.1);
    color: var(--cor-erro);
}

.status-pendente {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.status-entregue {
    background: rgba(40, 167, 69, 0.1);
    color: var(--cor-sucesso);
}

.status-atrasado {
    background: rgba(220, 53, 69, 0.1);
    color: var(--cor-erro);
}

/* Botões de Ação */
.acoes-grupo {
    display: flex;
    gap: 0.5rem;
}

.btn-acao {
    padding: 0.5rem;
    border-radius: var(--borda-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-editar {
    background: rgba(0, 123, 255, 0.1);
    color: #0d6efd;
}

.btn-excluir {
    background: rgba(220, 53, 69, 0.1);
    color: var(--cor-erro);
}

/* Cards Mobile */
.grid-cards {
    display: grid;
    gap: 1rem;
}

.card-prato {
    background: var(--cor-branca);
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    position: relative;
}

.drag-handle-mobile {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: var(--sombra-suave);
    z-index: 1;
}

.card-prato-conteudo {
    display: flex;
    gap: 1rem;
}

.prato-imagem {
    width: 120px;
    height: 120px;
}

.prato-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--borda-radius) 0 0 var(--borda-radius);
}

.prato-info {
    flex: 1;
    padding: 1rem;
}

.prato-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.prato-detalhes {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

/* Pedidos */
.grid-pedidos {
    display: grid;
    gap: 1.5rem;
}

.card-pedido {
    background: var(--cor-branca);
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    overflow: hidden;
}

.pedido-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pedido-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pedido-titulo h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--cor-texto);
}

.pedido-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.pedido-itens {
    padding: 0 1.5rem;
}

.toggle-itens {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    cursor: pointer;
}

.toggle-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-texto);
}

.toggle-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.toggle-itens.active .toggle-header i:last-child {
    transform: rotate(180deg);
}

.itens-content {
    display: none;
    padding-bottom: 1rem;
}

.item-pedido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.item-pedido:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    gap: 0.5rem;
}

.item-quantidade {
    color: #666;
    font-weight: 500;
}

.item-detalhes {
    display: flex;
    flex-direction: column;
}

.item-nome {
    color: var(--cor-texto);
}

.item-opcionais {
    color: #666;
    font-size: 0.9rem;
}

.item-preco {
    color: var(--cor-texto);
    font-weight: 500;
}

.pedido-total {
    padding: 1.5rem;
    background: #f8f9fa;
}

.total-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}

.total-final {
    border-top: 2px solid #eee;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-size: 1.1rem;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-container {
    background: var(--cor-branca);
    border-radius: var(--borda-radius);
    width: 90%;
    max-width: 500px;
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-content {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Melhorias para Dashboard - Cards Responsivos */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--cor-branca);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h4 i {
    color: var(--cor-info);
    font-size: 1.1rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.status-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.status-item:hover {
    transform: translateY(-2px);
    border-color: var(--cor-info);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.status-item i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--cor-info);
}

.status-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--cor-texto);
    font-weight: 600;
}

.status-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.badges {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.total {
    background: rgba(23, 162, 184, 0.1);
    color: var(--cor-info);
}

.badge.pendente {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

/* Responsividade - Melhorada */
@media (max-width: 1200px) {
    .conteudo-principal {
        margin-left: 250px; /* Mantido consistente com o valor acima */
        width: calc(100% - 270px); /* Mantido consistente com o cálculo acima */
        padding: 20px;
    }
}

/* Melhorias de Acessibilidade */
@media (prefers-color-scheme: dark) {
    :root {
        --cor-branca: #1a1a1a;
        --cor-texto: #e0e0e0;
        --cor-fundo: #121212;
    }
    
    .pedido-card,
    .info-card,
    .filtros-container {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .pedido-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
}

/* Focus States Melhorados */
.status-btn:focus,
.toggle-itens:focus,
#filtroStatus:focus {
    outline: 2px solid var(--cor-info);
    outline-offset: 2px;
}

/* Touch Targets para Mobile */
@media (max-width: 768px) {
    .status-btn,
    .toggle-itens,
    .menu-mobile-item {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 992px) {
    .conteudo-principal {
        margin-left: 0;
        width: 100%;
        padding: 15px;
    }
    
    .menu-lateral {
        display: none;
    }
    
    .menu-mobile {
        display: flex;
    }
    
    .card-header-principal h2 {
        font-size: 20px;
    }
    
    .card-body.text-center h2 {
        font-size: 28px;
    }
    
    .row {
        margin-right: -10px;
        margin-left: -10px;
    }
    
    .col-md-4, .col-md-6 {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .tabela th, .tabela td {
        padding: 10px;
    }
    
    .imagem-prato {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .conteudo-principal {
        padding: 0rem;
    }

    .row {
        margin-bottom: 15px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .card-header h3 i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .card-header-principal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-adicionar, .btn-voltar {
        width: 100%;
        justify-content: center;
    }

    .pedido-titulo {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .item-pedido {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .item-preco {
        margin-top: 0.5rem;
    }

    .prato-info h3 {
        font-size: 1.1rem;
    }

    .prato-detalhes {
        flex-direction: column;
        gap: 0.5rem;
    }

    .acoes-grupo {
        justify-content: stretch;
    }

    .btn-acao {
        flex: 1;
        text-align: center;
    }
    
    .card-conteudo {
        margin-bottom: 15px;
    }
    
    .tabela th, .tabela td {
        padding: 8px;
        font-size: 14px;
    }
    
    .imagem-prato {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .categoria-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 80px; /* Espaço para menu mobile */
    }
    
    .status-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    
    .status-item {
        padding: 1rem;
    }
    
    .status-item i {
        font-size: 1.5rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .card-header-principal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-body.text-center {
        padding: 20px 15px;
    }
    
    .card-body.text-center h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .status-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .menu-mobile-item span {
        font-size: 0.6rem;
    }
    
    .menu-mobile-item i {
        font-size: 1rem;
    }
}

/* Dashboard Específico */
.dashboard-container {
   display: flex;
    /* min-height: 100vh; */
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: flex-start;
}

/* Menu Lateral */
.menu-lateral {
    width: 250px; /* Alterado de 20% para um valor fixo */
    background: var(--cor-branca);
    box-shadow: var(--sombra-suave);
    padding: var(--espacamento);
    /* position: fixed; */
    /* height: 100vh; */
    left: 0;
    position: fixed; /* Adicionado para fixar o menu */
    height: 100%; /* Adicionado para ocupar toda a altura */
    overflow-y: auto; /* Adicionado para permitir rolagem se necessário */
}

.menu-logo {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--cor-texto);
    text-decoration: none;
    border-radius: var(--borda-radius);
    transition: all 0.3s ease;
}

.menu-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #333; /* Garantir que os ícones sejam visíveis */
}

.menu-item:hover {
    background-color: #f5f5f5; /* Cor de fundo ao passar o mouse */
    color: #333; /* Cor do texto ao passar o mouse */
    transform: translateX(5px); /* Reduzir o deslocamento */
}

.menu-item.active {
    background-color: #f0f0f0; /* Substituir o gradiente por uma cor sólida */
    color: #333; /* Cor do texto para item ativo */
}

.menu-sair {
    margin-top: auto;
    color: #333; /* Mudar a cor do botão sair */
}

/* Cards do Dashboard */
.card-restaurante, .card-whatsapp {
    background: var(--cor-branca);
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Informações do Restaurante */
.info-restaurante {
    display: flex;
    gap: 2rem;
}

.restaurante-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cor-fundo);
    border-radius: var(--borda-radius);
}

.restaurante-logo img {
    max-width: 100%;
    height: auto;
}

.restaurante-detalhes h2 {
    margin-bottom: 0.5rem;
    color: var(--cor-texto);
}

.endereco {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Status de Entregas */
.status-entregas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.status-item {
    background: var(--cor-fundo);
    padding: 1.5rem;
    border-radius: var(--borda-radius);
    text-align: center;
}

.status-item i {
    font-size: 2rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.status-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Status WhatsApp */
.status-conectado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #4CAF50;
    font-size: 1.2rem;
}

.qr-code {
    max-width: 300px;
    margin: 1rem auto;
    display: block;
}

/* Menu Mobile Melhorado */
.menu-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cor-branca);
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.menu-mobile-item:hover,
.menu-mobile-item.active {
    color: var(--primary-color);
    background: rgba(196, 30, 36, 0.1);
    transform: translateY(-2px);
}

.menu-mobile-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.menu-mobile-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-lateral {
        transform: translateX(-100%);
    }
    
    .conteudo-principal {
        margin-left: 0;
        padding: var(--spacing-md);
        padding-bottom: 80px;
    }
    
    .menu-mobile {
        display: flex;
    }
    
    .info-restaurante {
        flex-direction: column;
        text-align: center;
    }
    
    .restaurante-detalhes h2 {
        font-size: 24px;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-restaurante {
    animation: fadeInUp 0.6s ease-out;
}

.status-item:nth-child(1) { animation-delay: 0.1s; }
.status-item:nth-child(2) { animation-delay: 0.2s; }
.status-item:nth-child(3) { animation-delay: 0.3s; }

/* Melhorias no link de editar horário */
#editar-horario-link {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--secondary-gradient);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    margin-top: var(--spacing-sm);
}

#editar-horario-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white) !important;
}

#editar-horario-link i {
    margin-right: var(--spacing-xs);
}

/* Estilos específicos para a página de Pratos */
.drag-handle {
    cursor: move;
    padding: 8px;
    text-align: center;
}

.drag-handle i {
    transition: color 0.2s ease;
}

.drag-handle:hover i {
    color: #0d6efd !important;
}

.table tbody tr.dragging .drag-handle i {
    color: #0d6efd !important;
}

/* Preço e Edição */
.preco-edit {
    display: none;
}

.input-grupo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-grupo input {
    width: 100px;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: var(--borda-radius);
}

.btn-icon {
    padding: 0.4rem;
    border: none;
    border-radius: var(--borda-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-price {
    background: rgba(40, 167, 69, 0.1);
    color: var(--cor-sucesso);
}

.btn-cancel-price {
    background: rgba(220, 53, 69, 0.1);
    color: var(--cor-erro);
}

/* Botões do Modal */
.btn-secundario {
    background: #f8f9fa;
    color: var(--cor-texto);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--borda-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-perigo {
    background: var(--cor-erro);
    color: var(--cor-branca);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--borda-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-fechar {
    background: none;
    border: none;
    color: var(--cor-texto);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Estilos para visualização mobile */
@media (max-width: 767.98px) {
    .drag-handle-mobile {
        cursor: move;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .card {
        border: 1px solid rgba(0,0,0,.125);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .card.dragging {
        opacity: 0.5;
        transform: scale(0.98);
    }

    .object-fit-cover {
        object-fit: cover;
    }
}

/* Sobrescrever comportamento do Bootstrap para .row>* */
.container-fluid .row > * {
    flex-shrink: initial;
    width: auto;
    max-width: none;
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 0;
}

/* Garantir que a coluna ocupe todo o espaço em telas pequenas */
@media (max-width: 767.98px) {
    .container-fluid .row > .col-12 {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Estilos para Cadastro e Edição de Pratos */
.categorias_suggestions {
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}

.categorias_suggestions .list-group-item {
    cursor: pointer;
}

.categorias_suggestions .list-group-item:hover {
    background-color: #f8f9fa;
}

.preco-complemento {
    max-width: 120px;
}

.complemento-item {
    transition: all 0.3s ease;
}

.complemento-item:hover {
    background-color: #f8f9fa;
}

.remover-complemento {
    transition: all 0.2s ease;
}

.remover-complemento:hover {
    transform: scale(1.1);
}

#ingredientes_container.is-invalid {
    border: 1px solid #dc3545;
    border-radius: 0.25rem;
    padding: 0.5rem;
}

/* Estilos para Lista de Pedidos */
.pedidos-lista {
   max-width: 100%;
   
    
}

.pedido-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 
    padding-left: 10px;
}

.pedido-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.pedido-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    color: white;
}

.pedido-info {
    margin: 0px 0;
}

.pedido-total {
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
    margin-top: 10px;
}

.voltar-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 20px 0;
}

/* Cards de Pedidos Melhorados */
.pedidos-container {
    padding: 1rem;
    margin-bottom: 80px; /* Espaço para menu mobile */
}

.filtros-container {
    background: var(--cor-branca);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filtros-container h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

#filtroStatus {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: var(--cor-branca);
    transition: all 0.3s ease;
}

#filtroStatus:focus {
    outline: none;
    border-color: var(--cor-info);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.grid-pedidos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.pedido-card {
    background: var(--cor-branca);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.pedido-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pedido-card[data-status="pendente"] {
    border-left: 4px solid #FF9800;
}

.pedido-card[data-status="preparo"] {
    border-left: 4px solid #2196F3;
}

.pedido-card[data-status="entrega"] {
    border-left: 4px solid #4CAF50;
}

.pedido-card[data-status="concluido"] {
    border-left: 4px solid #28a745;
}

.pedido-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.pedido-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pedido-titulo h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.status-icon {
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pendente-icon {
    color: #FF9800;
}

.preparo-icon {
    color: #2196F3;
}

.entrega-icon {
    color: #4CAF50;
}

.concluido-icon {
    color: #28a745;
}

.pedido-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--cor-info);
    width: 16px;
    text-align: center;
}

.pedido-body {
    padding: 1.5rem;
}

.status-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.status-btn {
    padding: 0.8rem 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
}

.status-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-pendente {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    border-color: #FF9800;
}

.btn-preparo {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border-color: #2196F3;
}

.btn-entrega {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-color: #4CAF50;
}

.btn-concluido {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: #28a745;
}

.toggle-itens {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.toggle-itens:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.toggle-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--cor-texto);
    font-weight: 500;
}

.toggle-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--cor-info);
}

.toggle-itens.active .toggle-header i:last-child {
    transform: rotate(180deg);
}

.itens-content {
    display: none;
    animation: slideDown 0.3s ease;
}

.toggle-itens.active + .itens-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-pedido {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--cor-branca);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.item-imagem {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-nome {
    font-weight: 600;
    color: var(--cor-texto);
    font-size: 0.95rem;
}

.item-preco {
    color: var(--cor-info);
    font-weight: 500;
}

.item-quantidade {
    color: #666;
    font-size: 0.9rem;
}

.tempo-decorrido {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.contador {
    color: var(--cor-info);
    font-weight: 500;
}

/* Responsividade para Pedidos */
@media (max-width: 768px) {
    .grid-pedidos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pedido-header {
        padding: 1.2rem;
    }
    
    .pedido-body {
        padding: 1.2rem;
    }
    
    .status-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    
    .pedido-info {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .item-pedido {
        padding: 0.8rem;
    }
    
    .item-imagem {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .status-buttons {
        grid-template-columns: 1fr;
    }
    
    .pedido-titulo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filtros-container {
        padding: 1rem;
    }
    
    #filtroStatus {
        max-width: 100%;
    }
}

/* Animações e Feedback Visual */
@media (prefers-reduced-motion: no-preference) {
    .pedido-card,
    .status-btn,
    .toggle-itens,
    .menu-mobile-item {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pedido-card,
    .status-btn,
    .toggle-itens,
    .menu-mobile-item {
        transition: none;
    }
    
    .toggle-header i:last-child {
        transition: none;
    }
}

/* Estados de Loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--cor-info);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para Tabela de Pratos */
.drag-handle {
    cursor: move;
    padding: 8px;
    text-align: center;
}

.drag-handle i {
    transition: color 0.2s ease;
}

.drag-handle:hover i {
    color: #0d6efd !important;
}

.table tbody tr.dragging .drag-handle i {
    color: #0d6efd !important;
}

/* Estilos para Visualização Mobile de Pratos */
@media (max-width: 767.98px) {
    .drag-handle-mobile {
        cursor: move;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .card {
        border: 1px solid rgba(0,0,0,.125);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .card.dragging {
        opacity: 0.5;
        transform: scale(0.98);
    }

    .object-fit-cover {
        object-fit: cover;
    }

    .container-fluid .row > * {
        flex-shrink: initial;
        width: auto;
        max-width: none;
        padding-right: 15px;
        padding-left: 15px;
        margin-top: 0;
    }

    .container-fluid .row > .col-12 {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Estilos para Formulários */
.input-grupo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-grupo input {
    max-width: 120px;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: var(--borda-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsividade Adicional */
@media (max-width: 768px) {
    .pedido-titulo {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .item-pedido {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .item-preco {
        margin-top: 0.5rem;
    }
}

/* Estilos para visualização mobile dos pratos */
@media (max-width: 767.98px) {
    .cards-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .card-prato {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
        position: relative;
    }

    .drag-handle-mobile {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1;
        cursor: move;
    }

    .drag-handle-mobile i {
        color: #6c757d;
        transition: color 0.2s ease;
    }

    .drag-handle-mobile:hover i {
        color: #0d6efd;
    }

    .card-prato-conteudo {
        display: flex;
        flex-direction: column;
    }

    .prato-imagem {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .prato-imagem img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .prato-info {
        padding: 1rem;
    }

    .prato-info h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        color: #333;
    }

    .prato-info .descricao {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 1rem;
    }

    .prato-detalhes {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .preco-container {
        position: relative;
    }

    .preco-badge {
        font-size: 1.1rem;
        font-weight: 600;
        color: #28a745;
        cursor: pointer;
    }

    .preco-edit {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 0.5rem;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 10;
        margin-top: 0.5rem;
    }

    .input-grupo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .input-grupo span {
        color: #666;
    }

    .input-grupo input {
        width: 80px;
        padding: 0.25rem 0.5rem;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .btn-icon {
        background: none;
        border: none;
        padding: 0.25rem;
        cursor: pointer;
        color: #666;
        transition: color 0.2s ease;
    }

    .btn-icon:hover {
        color: #0d6efd;
    }

    .btn-icon.btn-save-price:hover {
        color: #28a745;
    }

    .btn-icon.btn-cancel-price:hover {
        color: #dc3545;
    }

    .status-badge {
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .status-badge.disponivel {
        background-color: #d4edda;
        color: #155724;
    }

    .status-badge.indisponivel {
        background-color: #f8d7da;
        color: #721c24;
    }

    .acoes-grupo {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .btn-acao {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
        border: none;
        border-radius: 4px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-acao.btn-editar {
        background-color: #e9ecef;
        color: #495057;
    }

    .btn-acao.btn-editar:hover {
        background-color: #dee2e6;
    }

    .btn-acao.btn-excluir {
        background-color: #f8d7da;
        color: #721c24;
    }

    .btn-acao.btn-excluir:hover {
        background-color: #f5c6cb;
    }

    .card-prato.dragging {
        opacity: 0.5;
        transform: scale(0.98);
    }
}

/* Estilos para a página de Pagamento PIX */
.pagamento-pix-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.pagamento-pix-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pagamento-pix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pagamento-pix-header {
       background-color: #c41e24;
        color: #ffffff;
        border-left: 4px solid #589b54;
        border-radius: 8px;
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
}

.pagamento-pix-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.6;
    z-index: 1;
}

.pagamento-pix-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.pagamento-pix-body {
    padding: 2rem;
    background-color: white;
}

.valor-pix-alert {
           background-color: #c41e24;
        color: #ffffff;
        border-left: 4px solid #589b54;
        border-radius: 8px;
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
}

.valor-pix-alert h5 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.qrcode-container {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.qrcode-img {
    max-width: 220px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.qrcode-img:hover {
    transform: scale(1.05);
}

.pix-code-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pix-code-container h5 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pix-code-input {
    position: relative;
}

.pix-code-textarea {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 0.9rem;
    background-color: white;
    resize: none;
    transition: all 0.3s ease;
}

.pix-code-textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.pix-copy-btn {
           background-color: #c41e24;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pix-copy-btn:hover {
          background-color: #c41e24;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.copy-success-message {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-success-message.show {
    opacity: 1;
}

.pagamento-info-alert {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    border-left: 4px solid #6c757d;
}

.pagamento-info-alert p {
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.95rem;
}

.pagamento-info-alert strong {
    color: #343a40;
}

.pagamento-aprovado-alert {
    background-color: #e8f8e8;
    color: #28a745;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pagamento-aprovado-alert i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #28a745;
}

.pagamento-aprovado-alert h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pagamento-aprovado-alert p {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.btn-voltar-pix { text-decoration: none;
          background-color: #c41e24;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-voltar-pix:hover {
    background: linear-gradient(45deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Status de pagamento */
.status-pendente-pix {
    color: #ffc107;
    font-weight: 500;
}

.status-aprovado-pix {
    color: #28a745;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .pagamento-pix-body {
        padding: 1.5rem;
    }
    
    .qrcode-img {
        max-width: 180px;
    }
}

/* Estilos para a página de Garçons */
.tabela-responsiva {
    overflow-x: auto;
    margin-top: 1rem;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabela th,
.tabela td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tabela th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.tabela tr:hover {
    background-color: #f8f9fa;
}

.acoes-grupo {
    display: flex;
    gap: 0.5rem;
}

.btn-acao {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-excluir {
    background-color: #dc3545;
    color: white;
}

.btn-excluir:hover {
    background-color: #c82333;
}

@media (max-width: 767.98px) {
    .tabela-responsiva {
        margin: 0 -1rem;
    }
    
    .tabela th,
    .tabela td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .acoes-grupo {
        flex-direction: column;
    }
    
    .btn-acao {
        width: 100%;
        margin-bottom: 0.25rem;
    }
}

/* Estilos para o Dashboard do Garçom */
.garcom-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.garcom-info span {
    font-size: 1.1rem;
    color: #495057;
}

.pedido-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.pedido-info p {
    margin-bottom: 0.5rem;
}

.itens-pedido {
    margin-top: 1.5rem;
}

.itens-pedido h6 {
    color: #495057;
    margin-bottom: 1rem;
}

.itens-pedido ul {
    list-style: none;
    padding: 0;
}

.itens-pedido li {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.itens-pedido li:last-child {
    border-bottom: none;
}

.itens-pedido small {
    color: #6c757d;
}

.btn-visualizar {
    background-color: #17a2b8;
    color: white;
}

.btn-visualizar:hover {
    background-color: #138496;
}

@media (max-width: 767.98px) {
    .garcom-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pedido-info {
        padding: 0px;
    }
    
    .itens-pedido li {
        padding: 0.5rem;
    }
}