@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}


.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge.ready {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-badge.picked {
  background-color: #e9d5ff;
  color: #7c3aed;
}

.status-badge.paid {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge.delivered {
  background-color: #f3f4f6;
  color: #374151;
}

.dashboard-card {
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.login-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.form-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* .timeline-step.completed .timeline-icon {
  background-color: #10b981;
  color: white;
}

.timeline-step.completed .timeline-content {
  color: #10b981;
}

.timeline-step.current .timeline-icon {
  background-color: #3b82f6;
  color: white;
}

.timeline-step.current .timeline-content {
  color: #3b82f6;
  font-weight: 500;
} */

/* Custom Status Dropdown Styles */
.status-dropdown {
  position: relative;
  display: inline-block;
}

.status-dropdown-button {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 40px;
}

.status-dropdown-button:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: scale(1.05);
}

.status-dropdown-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.status-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  width: 100%;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  display: none;
  min-width: 200px;
}

.status-dropdown-menu.show {
  display: block;
}

.status-dropdown-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-dropdown-item:hover {
  background-color: #f9fafb;
}

.status-dropdown-item.selected {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.status-color-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.status-dropdown-arrow {
  margin-left: 0.5rem;
  color: #9ca3af;
  transition: transform 0.2s;
}

.status-dropdown-button.open .status-dropdown-arrow {
  transform: rotate(180deg);
}

/* Status specific colors - usando as mesmas classes do obterClasseStatus */
.status-pedido_realizado {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-pedido_pronto_retirada {
  background-color: #fed7aa;
  color: #ea580c;
}

.status-pedido_retirado {
  background-color: #fed7aa;
  color: #ea580c;
}

.status-pedido_pago {
  background-color: #dcfce7;
  color: #166534;
}

.status-pedido_entregue_finalizado {
  background-color: #f3f4f6;
  color: #374151;
}

.status-pedido_cancelado {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Color dots for dropdown items - usando cores mais escuras para contraste */
.color-dot-pedido_realizado {
  background-color: #3b82f6;
}

.color-dot-pedido_pronto_retirada {
  background-color: #f97316;
}

.color-dot-pedido_retirado {
  background-color: #f97316;
}

.color-dot-pedido_pago {
  background-color: #22c55e;
}

.color-dot-pedido_entregue_finalizado {
  background-color: #6b7280;
}

.color-dot-pedido_cancelado {
  background-color: #ef4444;
}

/* Dropdown Portal Styles */
.dropdown-portal {
  position: fixed !important;
  z-index: 9999 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
  background-color: white !important;
  animation: dropdownFadeIn 0.15s ease-out;
  max-height: 300px !important;
  overflow-y: auto !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Garantir que o dropdown portal tenha prioridade visual */
.dropdown-portal .status-dropdown-item {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  transition: background-color 0.15s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dropdown-portal .status-dropdown-item:hover {
  background-color: #f9fafb !important;
}

.dropdown-portal .status-dropdown-item.selected {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
}

/* Notification animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}

.notification {
  transition: all 0.3s ease;
}

.notification:hover {
  transform: translateX(4px);
}