/* Estilos Base y Personalizados - Control de Clientes & Ventas */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --slate-dark: #0f172a;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Animaciones de toque para botones de mostrador */
.counter-card {
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.counter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-tap {
  transition: transform 0.08s ease, filter 0.08s ease;
  user-select: none;
  touch-action: manipulation;
}

.btn-tap:active {
  transform: scale(0.94);
  filter: brightness(0.9);
}

/* Efecto de pulso en el número al incrementar */
@keyframes number-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: #10b981; }
  100% { transform: scale(1); }
}

.pulsing {
  animation: number-pulse 0.25s ease-out;
}

/* Tablas responsivas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Toast flotante de notificaciones */
#toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Ocultar flechitas de input number para un diseño más limpio */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}
