/* W Squared Engineering — HR Portal */
* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth transitions */
.nav-link { transition: background-color 0.15s, color 0.15s; }

/* Table hover */
tr.hover\:bg-gray-50:hover { background-color: #f9fafb; }

/* Print styles for reports */
@media print {
  aside, header, button { display: none !important; }
  main { margin: 0; padding: 0; }
  #page-content { overflow: visible; }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #page-content { padding: 1rem; }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
