body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f1116;
  color: #fff;
  margin: 0;
}
.header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #161a23;
  border-bottom: 1px solid #2a2f3a;
}
.logo { font-size: 1.5rem; font-weight: bold; }
.status { font-size: 0.9rem; color: #aaa; }

/* Tabs */
.tabs { display: flex; background: #161a23; }
.tab-btn {
  flex: 1; padding: 12px; border: none;
  background: transparent; color: #bbb;
  font-weight: bold; cursor: pointer;
}
.tab-btn.active {
  background: linear-gradient(45deg,#4a69bd,#6c5ce7);
  color: #fff;
}
.tab-content { display: none; padding: 20px; }
.tab-content.active { display: block; }

/* Dashboard cards */
.stats-grid {
  display: grid; gap: 15px;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
}
.stat-card {
  background: #1b1f29; padding: 15px;
  border-radius: 8px; text-align: center;
}

/* Order Cards */
.order-cards { display: grid; gap: 15px; margin-top: 15px; }
.order-card {
  background: #161a23; padding: 15px;
  border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.badge { padding: 3px 8px; border-radius: 5px; font-size: 0.8rem; }
.badge.pendente { background: #f1c40f; color: #000; }
.badge.importando { background: #3498db; }
.badge.chegou { background: #2ecc71; }
.badge.finalizado { background: #27ae60; }

/* Barra de progresso */
.progress { height: 8px; border-radius: 4px; background: #2a2f3a; margin: 5px 0; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg,#4a69bd,#6c5ce7); }

/* Form */
.form-grid { display: grid; gap: 10px; max-width: 500px; }
input, textarea, select {
  background: #1b1f29; border: 1px solid #2a2f3a;
  padding: 10px; border-radius: 5px; color: #fff;
}
label { font-size: 0.85rem; margin-top: 5px; color: #ccc; }
.btn-primary {
  background: linear-gradient(45deg,#4a69bd,#6c5ce7);
  border: none; padding: 10px; border-radius: 5px;
  color: #fff; cursor: pointer;
}

/* Filters */
.filters { display: flex; gap: 10px; margin-bottom: 15px; }

/* Botões de ação */
button.action-btn {
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
button.edit-btn { background: #3498db; color: #fff; }
button.advance-btn { background: #2ecc71; color: #fff; }
button.delete-btn { background: #e74c3c; color: #fff; }

/* Modal */
.modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7); justify-content:center; align-items:center; }
.modal-content { background:#1b1f29; padding:20px; border-radius:8px; max-width:400px; width:100%; }
.close-btn { float:right; cursor:pointer; }

/* Toast */
#toast {
  position: fixed; bottom: 20px; right: 20px;
  background: #4a69bd; padding: 10px 15px;
  border-radius: 5px; display: none;
}

/* 🔹 Estilos finais para botões de ação */
button.action-btn {
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #fff !important;
}

/* Cada botão com cor distinta */
button.edit-btn {
  background-color: #3498db !important; /* Azul */
}
button.advance-btn {
  background-color: #2ecc71 !important; /* Verde */
}
button.delete-btn {
  background-color: #e74c3c !important; /* Vermelho */
}

