/* Estilos personalizados y utilidades de la aplicación JR MATS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #8b1e2d; /* Borgoña / Vino JR MATS */
  --primary-hover: #721824;
  --brand-dark: #111827;
  --brand-jac: #dc2626;
  --brand-toyota: #b91c1c;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
}

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

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Card Glow Effect on Hover */
.stat-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(139, 30, 45, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Pulsing Badge for Overdue Alerts */
@keyframes pulse-danger {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

.badge-pulse {
  animation: pulse-danger 2s infinite ease-in-out;
}

/* Glassmorphism Accents */
.glass-header {
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(12px);
}

/* Print Styling for Thermal Ticket / Invoice */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    margin: 0;
    padding: 8mm;
    font-size: 11px;
    background: white;
    color: black;
  }
  .no-print {
    display: none !important;
  }
}
