/* Custom Styles and Utility Additions for Sudut Skripsi Coffee POS */

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #FDFBF8;
}

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

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

::-webkit-scrollbar-thumb {
  background: #E5DEC9;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6B4226;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 236, 232, 0.5);
}

/* Button ripple-like active state */
.btn-hover-active {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-active:hover {
  transform: translateY(-1px);
}

.btn-hover-active:active {
  transform: translateY(1px);
}

/* Custom Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseBorder {
  0% { border-color: rgba(107, 66, 38, 0.2); }
  50% { border-color: rgba(107, 66, 38, 0.6); }
  100% { border-color: rgba(107, 66, 38, 0.2); }
}

.animate-fade-in {
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse-border {
  animation: pulseBorder 2s infinite;
}

/* Thermal printer print-specific layout overrides */
@media print {
  .no-print {
    display: none !important;
  }
}
