body{
    background-color: #F7F8FA;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px; /* روی صفحه‌های عریض (دسکتاپ) کش نیاد، وسط بمونه */
  margin: 0 auto;
  height: 55px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;

  /* سایه بالا */
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);

  /* پشتیبانی از آیفون X و بالاتر */
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 560px) {
  .bottom-nav {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  }
}

.nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* چون گفتی آیکون شامل متن است، فقط ایمیج گذاشتم */
.nav-item img {
  height: 40px; /* ارتفاع آیکون + متن داخل عکس */
  width: auto;
  object-fit: contain;
  opacity: 0.8; /* کمی کمرنگ برای آیتم‌های غیرفعال */
  transition: opacity 0.2s;
}
.nav-item {
    position: relative;
}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;       /* چسبیده به پایین آیتم */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;     /* طول نوار زیر آیکون (می‌تونی تغییر بدی) */
    height: 3px;     /* ضخامت نوار */
    background-color: #00643C;  /* سبز برند */
    border-radius: 2px;
}



