/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #E5E5E5;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 8px 0;
}

.bottom-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 100%;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  text-decoration: none;
  color: #44515E;
  border: none;
  background: none;
  transition: all 0.3s ease;
  min-width: 60px;
  position: relative;
}

.nav-item:hover {
  color: #0A2342;
  transform: translateY(-2px);
}

.nav-item.active {
  color: #0A2342;
}

.nav-item.active .nav-icon {
  background: rgba(10, 35, 66, 0.1);
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  font-size: 18px;
}

.nav-icon i {
  color: inherit;
}

.nav-icon-center {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #0A2342 0%, #44515E 100%);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.3);
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.nav-icon-center i {
  color: white;
}

.nav-item-center {
  transform: translateY(-8px);
}

.nav-item-center:hover {
  transform: translateY(-10px);
}

.nav-item-center .nav-icon-center {
  background: linear-gradient(135deg, #44515E 0%, #0A2342 100%);
}

.nav-label {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

/* تأثيرات إضافية */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #0A2342;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-item.active::after {
  width: 20px;
}

/* تحسين للأجهزة الصغيرة */
@media (max-width: 360px) {
  .nav-label {
    font-size: 9px;
  }
  
  .nav-icon {
    width: 35px;
    height: 35px;
  }
  
  .nav-icon-center {
    width: 45px;
    height: 45px;
  }
}

/* إضافة padding للصفحة لتجنب تداخل المحتوى مع الناف السفلي */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}

/* تحسينات إضافية للأجهزة الصغيرة جداً */
@media (max-width: 320px) {
  .nav-label {
    font-size: 8px;
  }
  
  .nav-icon {
    width: 32px;
    height: 32px;
  }
  
  .nav-icon-center {
    width: 42px;
    height: 42px;
  }
  
  .nav-item {
    min-width: 50px;
  }
}

/* تحسينات للتفاعل */
.nav-item {
  cursor: pointer;
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-item-center:active {
  transform: translateY(-8px) scale(0.95);
}
