/* Estilos Globais e Tema Rosa Claro Personalizado */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar em tons de rosa claro */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #fff1f2;
}

::-webkit-scrollbar-thumb {
  background: #fecdd3;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fb7185;
}

/* Animação do Badge do Carrinho */
@keyframes bump {
  0% { transform: scale(1); }
  10% { transform: scale(0.9); }
  30% { transform: scale(1.3); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.bump-anim {
  animation: bump 300ms ease-out;
}

/* Transições do Drawer Lateral */
.drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

.drawer-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 400px;
  background: #4c1d2e;
  color: #fff1f2;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(254, 205, 211, 0.2);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-left: 4px solid #fb7185;
}

.toast-info {
  border-left: 4px solid #f472b6;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

/* Estilo para Impressão de Orçamento / PDF */
@media print {
  body * {
    visibility: hidden;
  }

  #printable-quote, #printable-quote * {
    visibility: visible;
  }

  #printable-quote {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white !important;
    color: black !important;
  }

  .no-print {
    display: none !important;
  }
}
