* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.app {
    max-width: 1300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #667eea;
}

.header h1 {
    color: #667eea;
    font-size: 32px;
}

.ajudante {
    background-color: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.resumo {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.card-resumo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
}

.card-resumo h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.card-resumo .numero {
    font-size: 32px;
    font-weight: bold;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.cadastro {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 20px;
}

.cadastro h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.cadastro form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cadastro input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
}

.btn-adicionar {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-adicionar:hover {
    background-color: #5a67d8;
    transform: translateY(-2px);
}

.lista-pedidos {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 20px;
}

.lista-pedidos h2 {
    color: #667eea;
    margin-bottom: 20px;
}

#tabelaPedidos {
    width: 100%;
    border-collapse: collapse;
}

#tabelaPedidos th,
#tabelaPedidos td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#tabelaPedidos th {
    background-color: #667eea;
    color: white;
}

.badge-preparando {
    background-color: #ffc107;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.badge-saiu {
    background-color: #17a2b8;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.badge-entregue {
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status-select {
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    cursor: pointer;
}

.btn-remover {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s;
}

.btn-remover:hover {
    background-color: #c82333;
}

.acoes-gerais {
    margin-top: 20px;
    text-align: center;
}

.btn-limpar {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.btn-limpar:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .resumo {
        flex-direction: column;
    }
    
    #tabelaPedidos {
        font-size: 12px;
    }
    
    #tabelaPedidos th,
    #tabelaPedidos td {
        padding: 8px 5px;
    }
}