/* Add this at the top of your main.css file */
html {
  /* This should be visible on all screen sizes */
  scroll-behavior: smooth;
}

body {
  /* This should be visible on all screen sizes */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Layout components */
.app-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.app-header {
  background-color: #2c3e50;
  padding: 1rem;
  color: white;
  width: 100%;
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: #34495e;
}

/* Main content area */
.main-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

/* Map container styles */
.map-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 50vh !important;
  min-height: 400px;
  margin: 0 auto !important;
}





/* Footer styles */
.app-footer {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  margin-top: auto;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}











/* Mobile styles - make more aggressive */
@media screen and (max-width: 768px) {
  /* Add !important to make sure nothing overrides this */
  html, body {
      /*border: 5px solid red !important;*/
      overflow-x: hidden !important;
  }
  
  /* Make this more visible too */
  .map-container {
      width: 100% !important;
      height: 50vh !important;
      min-height: 350px !important;
      /*border: 4px dashed red !important;*/
      margin: 0 !important;
      padding: 0 !important;
  }
  
  /* Add an obvious indicator */
  .app-header:after {
      
      display: block;
      /*background-color: red; */
      color: white;
      text-align: center;
      padding: 5px;
      font-weight: bold;
  }
 
  .header-content {
      flex-direction: column;
      align-items: flex-start;
      padding: 0 0.5rem;
  }
  
  .nav-links {
      margin-top: 1rem;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
  }
  
  
  /* Add horizontal scrolling for tables on mobile */
  table {
      display: block;
      overflow-x: auto;
      width: 100% !important;
  }
  .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
      width: 100%;
  }
  .table-container .dash-spreadsheet-container {
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
  }
  
  .table-container {
      overflow-x: auto;
  }
  
 
}