html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 12px;
}
/* Main container for page */
.main-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  height: 100vh; /* Full viewport height */
  /* grid-template-rows: 50% 50%; Control height of rows */
  /* gap: 0.5em; Gap between boxes */
  /* padding: 0.5em; Padding around boxes */
}
.left-side {
  display: grid;
  grid-template-rows: 1fr; /* Single row */
  max-height:100vh;
}
.right-side {
  display: grid;
  grid-template-rows: 1fr 1fr; /* Two rows */
  max-height:100vh;
}
.box {
  height:100%;
  overflow-y: auto;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #257300;
}
/* Ensure scrollbar doesn't overlap content */
.box::-webkit-scrollbar {
  width: 10px;
}
.box::-webkit-scrollbar-thumb {
  background-color: rgba(25, 135, 84, 0.25);
  border-radius: 5px;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .main-container {
    grid-template-columns: 1fr; /* Change to single column layout */
    grid-template-rows: auto; /* Rows adjust to content */
  }
  .left-side {
    max-height: 33vh; /* One third viewport height */
  }
  .right-side {
    max-height: 67vh; /* Two thirds viewport height */
  }
}

.map {
  height: 100%;
  width: 100%;
  min-height:300px;
}

.bg-success {
  background-color: #257300 !important;
}

th,
.td-heading {
  font-weight: 600 !important;
  white-space: nowrap;
}
th {
  text-align: center;
}
td {
  vertical-align: middle;
  padding-left: 5px !important;
  padding-right: 5px !important;
}
#dataModal {
  font-size:larger !important;
}
#dataModal button, #dataModal label, #dataModal a {
  font-size: 1em !important;
}
.nav-item .nav-link {
  color: #343a40;
  padding:1em;
  font-weight: 500;
}
.nav-item .active {
  background-color: #257300 !important;
  color: white !important;
}
.form-check-input-dark:checked {
  background-color: #343a40;
  border-color: #343a40;
}
.btn-group button {
  padding: 0.25em 0.5em;
  font-size:0.9em;
}
.chart-row {
  margin:2em;
}
