/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: 'Heebo', sans-serif;
  background-color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Ensure fixed backgrounds stay in place */
.fixed {
  position: fixed !important;
}

/* Prevent layout shift from scrollbars */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* Print styles */
@media print {
  body {
    background-color: white;
  }

  .no-print {
    display: none !important;
  }
}

/* Accessibility Focus Styles */
*:focus-visible {
  outline: 2px solid #3b82f6;
  /* blue-500 */
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Emergency Footer CSS */
.emerg-footer {
  width: 100%;
  background-color: #000000;
  padding: 16px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  z-index: 9999;
}

.emerg-footer button {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.emerg-footer button:hover {
  color: #d1d5db;
}