/* Custom styles for Dental Revenue Web App */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --secondary: #0d9488;
  --accent: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.gradient-header {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
}

.gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.silver-gradient {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.bronze-gradient {
  background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Table styling */
.data-table th {
  background-color: #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Pulse animation for active sync */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.sync-pulse {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Mobile Safe Area & Touch Targets */
.safe-area-bottom {
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
}

.mobile-nav-btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}
