/* Smart Track Solutions - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Custom scrollbar for STS branding */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1a2a5e 0%, #00a876 100%);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2d4080 0%, #00c896 100%);
}

/* PWA safe areas for notched phones */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Smooth transitions */
* {
  -webkit-tap-highlight-color: transparent;
}

/* STS brand gradient utility */
.sts-gradient {
  background: linear-gradient(135deg, #1a2a5e 0%, #00a876 100%);
}

/* Status indicators */
.status-online {
  color: #00a876 !important;
}

.status-offline {
  color: #e53935 !important;
}

.status-unknown {
  color: #757575 !important;
}
