.main-content {
  display: flex;
  flex-direction: row;
  height: auto;
}

.sensor-card {
  transition: transform 0.2s ease-in-out;
}

.btn-nav {
  background-color: transparent;
  padding: 10px;
  border-radius: 15px;
  border: none;
  font-size: 50px;
  color: gray;
  cursor: pointer;
}

/* Desktop / default layout */
.nav-div {
  background-color: white;
  padding: 20px;
  display: flex;
  height: 100vh;
  width: 10%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: gray;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
}

/* Mobile responsive: fix nav at bottom */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding-bottom: 80px; /* Prevent content overlap with bottom nav */
  }

  .nav-div {
    position: fixed !important;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    font-size: 10px;
  }

  .btn-nav {
    font-size: 30px;
  }

  .nav-item {
    flex-direction: column;
    font-size: 12px;
  }

  .dashboard-i {
    display: none;
  }
}
