/* Critical CSS for Afiaprime Marketplace */
/* This file is intentionally minimal to prevent MIME type issues */

/* Basic reset and critical styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff; /* Prevent dark blank area on mobile keyboard close */
}

#root {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height - accounts for mobile keyboard */
  background-color: #ffffff; /* Prevent dark blank area on mobile keyboard close */
}

/* Loading states */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Error states */
.error {
  color: #dc2626;
  text-align: center;
  padding: 2rem;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }
}

@media (min-width: 769px) {
  .desktop-hidden {
    display: none;
  }
}
