/* 
  Global Styles for Tumugi POS 
  Built to complement Tailwind CSS defaults.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand-primary: #ec4899; /* Pink-500 */
  --brand-secondary: #fbcfe8; /* Pink-200 */
  --bg-main: #f8fafc; /* Slate-50 */
  --text-main: #0f172a; /* Slate-900 */
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Numpad specifically for POS Login */
.numpad-btn {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.numpad-btn:active {
  transform: scale(0.92);
  background-color: #e2e8f0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Auth Pages Background Animation (Subtle) */
.auth-bg {
  background-image: radial-gradient(circle at 15% 50%, rgba(251, 207, 232, 0.4), transparent 25%),
                    radial-gradient(circle at 85% 30%, rgba(186, 230, 253, 0.4), transparent 25%);
  background-size: cover;
  background-color: #f1f5f9;
}
