.mobile-nav {
  display: none !important;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
  
  .mobile-nav.collapsed {
    width: 45px;
    height: 45px;
  }
  
  .mobile-nav-toggle {
    width: 45px;
    height: 45px;
    border-radius: 16px;
    background: var(--header-bg);
    border: 2px solid var(--accent-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
    box-sizing: border-box;
  }
  
  .mobile-nav-items {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 45px 45px 45px;
    grid-template-rows: 45px 45px;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Top row positioning */
#home-div {
    grid-column: 1;
    grid-row: 1;
}

#search-div {
    grid-column: 2;
    grid-row: 1;
}

#profile-div {
    grid-column: 3;
    grid-row: 1;
}

/* Bottom row positioning */
#notification-div {
    grid-column: 1;
    grid-row: 2;
}

#content-div {
    grid-column: 3;
    grid-row: 2;
}
  
  .mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  
  .mobile-nav-toggle:hover {
    background: var(--accent-color);
  }
  
  .mobile-nav.expanded .mobile-nav-items {
    opacity: 1;
    pointer-events: all;
  }


  .nav-item {
    width: 45px;
    height: 45px;
    border-radius: 16px;
    background: var(--header-bg);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }
  
  .nav-item svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
  }
  
  .nav-item:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
  }

  /* Content selection container */
  .content-selection-container {
    position: fixed;
    bottom: -200px;
    right: 20px;
    width: 180px;
    background: var(--header-bg);
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1002;
  }

  .content-selection-container.show {
    opacity: 1;
    pointer-events: all;
    bottom: 70px;
  }

  .content-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 12px;
    background: rgba(var(--accent-color-rgb), 0.1);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .content-option:hover {
    background: var(--accent-color);
    transform: translateX(4px);
  }

  .content-option svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
  }

  .content-option-text {
    font-size: 14px;
    font-weight: 500;
  }


  @media (max-width: 1224px) {
    
    .mobile-nav { 
      display: flex !important;
    }
  }

  @media (max-width: 768px) {
    .content-selection-container {
      width: 160px;
      bottom: -200px;
      left: -15px;
      padding: 10px;
    }

    .content-selection-container.show {
      bottom: 60px;
    }

    .content-option {
      padding: 6px 10px;
      margin: 3px 0;
    }

    .content-option-text {
      font-size: 13px;
    }
  }