/* =============================
   FOOTER & BOTTOM NAVIGATION
============================= */

footer {
  background-color: #f8f9fa;
  border-top: 2px solid #e5e5e5;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #6c757d;
}

footer a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

footer a:hover {
  color: #000;
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  height: 65px;
  z-index: 1000;
  flex-wrap: nowrap;
}

.mobile-bottom-nav a {
  color: #666;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  flex: 1;
  position: relative;
  font-weight: bold;
}

.mobile-bottom-nav a i {
  font-weight: bold;
}

.mobile-bottom-nav a.active {
  color: #0d6efd;
}

/* AI Icon & Label */
.ai-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin-top: 0;
}

.ai-icon {
  width: 70px;
  height: 35px;
  background-color: #fff;
  color: #0d6efd;
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
  top: -5px;
  z-index: 1;
  font-weight: bold;
}

.ai-footer-item .text-label {
  font-size: 13px;
  text-align: center;
  font-weight: bold;
}

.mobile-bottom-nav .nav-item {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.mobile-bottom-nav .nav-item .text-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 60px;
  }
}
