/**
 * Shared Mobile Navigation Styles
 * This file contains all styles for the mobile bottom navigation
 */

/* ========== MOBILE BOTTOM NAVIGATION ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white, #ffffff);
  border-top: 1px solid var(--border, #e5e5e5);
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-light, #6b7280);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-family: 'Source Sans 3', sans-serif;
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent, #e94560);
}

.mobile-nav-item.active {
  background: rgba(233, 69, 96, 0.08);
}

.mobile-nav-item.active svg {
  transform: scale(1.1);
}

/* Sell Button Special Styling */
.mobile-nav-sell {
  position: relative;
}

.mobile-nav-sell .sell-icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent, #e94560), var(--accent-hover, #ff6b6b));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.35);
  transition: all 0.3s ease;
}

.mobile-nav-sell .sell-icon-wrapper svg {
  color: white;
  width: 22px;
  height: 22px;
}

.mobile-nav-sell:hover .sell-icon-wrapper,
.mobile-nav-sell.active .sell-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(233, 69, 96, 0.45);
}

.mobile-nav-sell span {
  margin-top: 4px;
}

.mobile-nav-sell:hover,
.mobile-nav-sell.active {
  color: var(--accent, #e94560);
  background: transparent;
}

/* Hide secondary nav on mobile when mobile nav is present */
@media (max-width: 768px) {
  body.has-mobile-nav .secondary-nav {
    display: none;
  }
}

/* Add padding to main content area for mobile nav */
@media (max-width: 768px) {
  body.has-mobile-nav {
    padding-bottom: 80px;
  }
  
  body.has-mobile-nav main,
  body.has-mobile-nav .main-content {
    padding-bottom: 80px;
  }
}

