/* Estilos customizados e utilitários para AutoFunilaria 3D */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  background-color: #020617;
  color: #f8fafc;
  user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Categorias de veículos - Botões ativos */
.cat-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #020617;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.cat-btn:not(.active) {
  color: #94a3b8;
}
.cat-btn:not(.active):hover {
  color: #f8fafc;
  background-color: #1e293b;
}

/* Severidade dos Danos (Modal de Avaria) */
.btn-severidade {
  border: 1px solid #334155;
  background-color: #1e293b;
  color: #94a3b8;
  transition: all 0.15s ease-in-out;
}

.btn-severidade:hover {
  background-color: #334155;
  color: #f8fafc;
}

.btn-severidade.active-sev {
  border-color: #f59e0b !important;
  background-color: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

/* Pulse e destaque de peça avariada no painel */
.damage-item {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.damage-item:hover {
  transform: translateX(2px);
  border-color: #f59e0b;
}

/* Estilização moderna para dropdowns select */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f59e0b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1em;
  padding-right: 1.8rem !important;
}

/* Animação suave para os botões e interações */
button, select {
  transition: all 0.15s ease-in-out;
}

/* Estilo para Impressão do Orçamento */
@media print {
  body * {
    visibility: hidden;
  }
  #modal-balcao, #print-area, #print-area * {
    visibility: visible;
  }
  #modal-balcao {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border: none !important;
  }
  #print-area {
    background: white !important;
    color: black !important;
  }
  #modal-balcao button {
    display: none !important;
  }
}
